diff --git a/application/admin/controller/Goodscomments.php b/application/admin/controller/Goodscomments.php
new file mode 100644
index 0000000000000000000000000000000000000000..04ef61f40d4aaf74131d878d544e23e15ad28c4a
--- /dev/null
+++ b/application/admin/controller/Goodscomments.php
@@ -0,0 +1,231 @@
+IsLogin();
+
+ // 权限校验
+ $this->IsPower();
+ }
+
+ /**
+ * 问答列表
+ * @author Devil
+ * @blog http://gong.gg/
+ * @version 0.0.1
+ * @datetime 2016-12-06T21:31:53+0800
+ */
+ public function Index()
+ {
+ // 参数
+ $params = input();
+
+ // 分页
+ $number = MyC('admin_page_number', 10, true);
+
+ // 条件
+ $where = GoodsCommentsService::GoodsCommentsListWhere($params);
+
+ // 获取总数
+ $total = GoodsCommentsService::GoodsCommentsTotal($where);
+
+ // 分页
+ $page_params = array(
+ 'number' => $number,
+ 'total' => $total,
+ 'where' => $params,
+ 'page' => isset($params['page']) ? intval($params['page']) : 1,
+ 'url' => MyUrl('admin/answer/index'),
+ );
+ $page = new \base\Page($page_params);
+ $this->assign('page_html', $page->GetPageHtml());
+
+ // 获取列表
+ $data_params = array(
+ 'm' => $page->GetPageStarNumber(),
+ 'n' => $number,
+ 'where' => $where,
+ 'is_public' => 0,
+ );
+ $data = GoodsCommentsService::GoodsCommentsList($data_params);
+ $this->assign('data_list', $data['data']);
+
+ // 状态
+ $this->assign('common_is_show_list', lang('common_is_show_list'));
+
+ // 是否
+ $this->assign('common_is_text_list', lang('common_is_text_list'));
+
+ // 参数
+ $this->assign('params', $params);
+ return $this->fetch();
+ }
+
+ /**
+ * [SaveInfo 添加/编辑页面]
+ * @author Devil
+ * @blog http://gong.gg/
+ * @version 0.0.1
+ * @datetime 2016-12-14T21:37:02+0800
+ */
+ public function SaveInfo()
+ {
+ // 参数
+ $params = input();
+
+ // 数据
+ $data = [];
+ if(!empty($params['id']))
+ {
+ // 获取列表
+ $data_params = array(
+ 'm' => 0,
+ 'n' => 1,
+ 'where' => ['id'=>intval($params['id'])],
+ 'field' => '*',
+ );
+ $ret = GoodsCommentsService::AnswerList($data_params);
+
+ // 内容
+ if(!empty($ret['data'][0]['content']))
+ {
+ $ret['data'][0]['content'] = str_replace('
', "\n", $ret['data'][0]['content']);
+ }
+
+ // 回复内容
+ if(!empty($ret['data'][0]['reply']))
+ {
+ $ret['data'][0]['reply'] = str_replace('
', "\n", $ret['data'][0]['reply']);
+ }
+
+ $data = empty($ret['data'][0]) ? [] : $ret['data'][0];
+ }
+ $this->assign('data', $data);
+
+ // 状态
+ $this->assign('common_is_show_list', lang('common_is_show_list'));
+
+ // 是否
+ $this->assign('common_is_text_list', lang('common_is_text_list'));
+
+ // 参数
+ unset($params['id']);
+ $this->assign('params', $params);
+
+ return $this->fetch();
+ }
+
+ /**
+ * [Save 保存]
+ * @author Devil
+ * @blog http://gong.gg/
+ * @version 0.0.1
+ * @datetime 2016-12-25T22:36:12+0800
+ */
+ public function Save()
+ {
+ // 是否ajax请求
+ if(!IS_AJAX)
+ {
+ return $this->error('非法访问');
+ }
+
+ // 开始处理
+ $params = input();
+ return GoodsCommentsService::AnswerSave($params);
+ }
+
+ /**
+ * 问答删除
+ * @author Devil
+ * @blog http://gong.gg/
+ * @version 0.0.1
+ * @datetime 2016-12-15T11:03:30+0800
+ */
+ public function Delete()
+ {
+ // 是否ajax请求
+ if(!IS_AJAX)
+ {
+ return $this->error('非法访问');
+ }
+
+ // 开始处理
+ $params = input();
+ $params['user_type'] = 'admin';
+ return GoodsCommentsService::AnswerDelete($params);
+ }
+
+ /**
+ * 问答回复处理
+ * @author Devil
+ * @blog http://gong.gg/
+ * @version 1.0.0
+ * @datetime 2018-03-28T15:07:17+0800
+ */
+ public function Reply()
+ {
+ // 是否ajax请求
+ if(!IS_AJAX)
+ {
+ return $this->error('非法访问');
+ }
+
+ // 开始处理
+ $params = input();
+ return GoodsCommentsService::AnswerReply($params);
+ }
+
+ /**
+ * 状态更新
+ * @author Devil
+ * @blog http://gong.gg/
+ * @version 0.0.1
+ * @datetime 2017-01-12T22:23:06+0800
+ */
+ public function StatusUpdate()
+ {
+ // 是否ajax请求
+ if(!IS_AJAX)
+ {
+ return $this->error('非法访问');
+ }
+
+ // 开始处理
+ $params = input();
+ return GoodsCommentsService::AnswerStatusUpdate($params);
+ }
+}
+?>
\ No newline at end of file
diff --git a/application/admin/view/default/goodscomments/index.html b/application/admin/view/default/goodscomments/index.html
new file mode 100644
index 0000000000000000000000000000000000000000..82cee7e580169df0d65dd07508805d6c16f0bd01
--- /dev/null
+++ b/application/admin/view/default/goodscomments/index.html
@@ -0,0 +1,251 @@
+{{include file="public/header" /}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 用户信息 |
+ 业务类型 |
+ 内容 |
+ 回复内容 |
+ 匿名 |
+ 回复时间 |
+ 创建时间 |
+ 是否显示 |
+ 更多 |
+ 操作 |
+
+
+
+ {{if !empty($data_list)}}
+ {{foreach $data_list as $v}}
+
+
+ {{if !empty($v['user'])}}
+
+
+ - 名称:{{if empty($v['user']['username'])}}未填写{{else /}}{{$v.user.username}}{{/if}}
+ - 昵称:{{if empty($v['user']['nickname'])}}未填写{{else /}}{{$v.user.nickname}}{{/if}}
+ - 手机:{{if empty($v['user']['mobile'])}}未填写{{else /}}{{$v.user.mobile}}{{/if}}
+ - 邮箱:{{if empty($v['user']['email'])}}未填写{{else /}}{{$v.user.email}}{{/if}}
+
+ {{else /}}
+ 用户信息异常
+ {{/if}}
+ |
+ {{$v.business_type}} |
+
+
+ {{$v.content|raw}}
+
+ |
+
+ {{if $v['is_reply'] eq 1 and !empty($v['reply'])}}
+
+ {{$v.reply|raw}}
+
+ {{$v.reply_time_time}}
+ {{else /}}
+ 未回复
+ {{/if}}
+ |
+ {{$v.is_anonymous_text}} |
+ {{$v.add_time_time}} |
+
+
+ |
+
+ 查看更多
+
+ |
+
+
+
+
+ {{if $v['is_reply'] eq 0}}
+
+ {{/if}}
+
+ |
+
+ {{/foreach}}
+ {{/if}}
+
+
+ {{if empty($data_list)}}
+
没有相关数据
+ {{/if}}
+
+
+
+
+
+
+ {{if !empty($data_list)}}
+ {{$page_html|raw}}
+ {{/if}}
+
+
+
+
+
+
+{{include file="public/footer" /}}
+
\ No newline at end of file
diff --git a/application/index/controller/Goods.php b/application/index/controller/Goods.php
index 830dbf595533d4d6ba3c9214e2e6c2d3f140dad6..ac52d388b6e6740226185dbeea5e79877f5bce44 100755
--- a/application/index/controller/Goods.php
+++ b/application/index/controller/Goods.php
@@ -66,7 +66,7 @@ class Goods extends Common
$ret['data'][0]['is_favor'] = ($ret_favor['code'] == 0) ? $ret_favor['data'] : 0;
// 商品评价总数
- $ret['data'][0]['comments_count'] = GoodsService::GoodsCommentsTotal($goods_id);
+ $ret['data'][0]['comments_count'] = GoodsCommentsService::GoodsCommentsTotal(['goods_id'=>$goods_id]);
// 商品收藏总数
$ret['data'][0]['favor_count'] = GoodsService::GoodsFavorTotal(['goods_id'=>$goods_id]);
diff --git a/application/index/controller/Order.php b/application/index/controller/Order.php
index ee8b4e8eeba45dce974349b6e66614857375eb03..d2fdf47edfa90649d47564efdb1b0a5e0201641e 100755
--- a/application/index/controller/Order.php
+++ b/application/index/controller/Order.php
@@ -191,6 +191,7 @@ class Order extends Common
{
$params = input('post.');
$params['user'] = $this->user;
+ $params['business_type'] = '订单';
return GoodsCommentsService::Comments($params);
} else {
$this->assign('msg', '非法访问');
diff --git a/application/service/GoodsCommentsService.php b/application/service/GoodsCommentsService.php
index 4d749e3f9d9d3e0b324565096b0f5ca908ce8137..10e27159a8183a3d621da85246cffe2424bd86c0 100644
--- a/application/service/GoodsCommentsService.php
+++ b/application/service/GoodsCommentsService.php
@@ -40,6 +40,11 @@ class GoodsCommentsService
'key_name' => 'id',
'error_msg' => '订单id有误',
],
+ [
+ 'checked_type' => 'empty',
+ 'key_name' => 'business_type',
+ 'error_msg' => '业务类型标记不能为空',
+ ],
[
'checked_type' => 'isset',
'key_name' => 'goods_id',
@@ -109,12 +114,13 @@ class GoodsCommentsService
'shop_id' => $order['shop_id'],
'order_id' => $order_id,
'goods_id' => $goods_id,
+ 'business_type' => $params['business_type'],
'content' => isset($params['content'][$k]) ? htmlspecialchars(trim($params['content'][$k])) : '',
'rating' => isset($params['rating'][$k]) ? intval($params['rating'][$k]) : 0,
'is_anonymous' => isset($params['is_anonymous']) ? min(1, intval($params['is_anonymous'])) : 0,
'add_time' => time(),
];
- if(Db::name('OrderComments')->insertGetId($data) <= 0)
+ if(Db::name('GoodsComments')->insertGetId($data) <= 0)
{
Db::rollback();
return DataReturn('评价内容添加失败', -100);
@@ -149,7 +155,7 @@ class GoodsCommentsService
$order_by = empty($params['order_by']) ? 'id desc' : $params['order_by'];
// 获取数据列表
- $data = Db::name('OrderComments')->where($where)->limit($m, $n)->order($order_by)->select();
+ $data = Db::name('GoodsComments')->where($where)->limit($m, $n)->order($order_by)->select();
if(!empty($data))
{
$common_is_text_list = lang('common_is_text_list');
@@ -167,9 +173,15 @@ class GoodsCommentsService
$v['user'] = $user;
}
- // 订单规格
- $spec = Db::name('OrderDetail')->where(['order_id'=>$v['order_id'], 'goods_id'=>$v['goods_id']])->value('spec');
- $v['spec'] = empty($spec) ? null : json_decode($spec);
+ // 业务类型
+ $msg = null;
+ switch($v['business_type'])
+ {
+ // 订单
+ case 'order' :
+ $msg = self::BusinessTypeOrderSpec($v['order_id'], $v['goods_id'], $v['user_id']);
+ }
+ $v['msg'] = empty($msg) ? null : $msg;
// 是否
$v['is_reply_text'] = isset($common_is_text_list[$v['is_reply']]) ? $common_is_text_list[$v['is_reply']]['name'] : '';
@@ -187,6 +199,40 @@ class GoodsCommentsService
return DataReturn('处理成功', 0, $data);
}
+ /**
+ * 订单规格字符串处理
+ * @author Devil
+ * @blog http://gong.gg/
+ * @version 1.0.0
+ * @date 2019-05-14
+ * @desc description
+ * @param [int] $order_id [订单id]
+ * @param [int] $goods_id [商品id]
+ * @param [int] $user_id [用户id]
+ * @return [string] [规格字符串]
+ */
+ private static function BusinessTypeOrderSpec($order_id, $goods_id, $user_id = 0)
+ {
+ $string = null;
+ $spec = Db::name('OrderDetail')->where(['order_id'=>$order_id, 'goods_id'=>$goods_id])->value('spec');
+ if(!empty($spec))
+ {
+ $spec = json_decode($spec, true);
+ if(is_array($spec) && !empty($spec))
+ {
+ foreach($spec as $k=>$v)
+ {
+ if($k > 0)
+ {
+ $string .= ' | ';
+ }
+ $string .= $v['type'].':'.$v['value'];
+ }
+ }
+ }
+ return $string;
+ }
+
/**
* 商品评论总数
* @author Devil
@@ -198,7 +244,7 @@ class GoodsCommentsService
*/
public static function GoodsCommentsTotal($where = [])
{
- return (int) Db::name('OrderComments')->where($where)->count();
+ return (int) Db::name('GoodsComments')->where($where)->count();
}
/**
@@ -220,7 +266,7 @@ class GoodsCommentsService
$where[] = ['user_id', '=', $params['user']['id']];
}
- // 关键字根据用户筛选
+ // 关键字根据用户筛选,商品标题
if(!empty($params['keywords']))
{
if(empty($params['user']))
@@ -230,8 +276,14 @@ class GoodsCommentsService
{
$where[] = ['user_id', 'in', $user_ids];
} else {
- // 无数据条件,走单号条件
- $where[] = ['recharge_no', '=', $params['keywords']];
+ // 无数据条件,走商品
+ $goods_ids = Db::name('Goods')->where('title', 'like', '%'.$params['keywords'].'%')->column('id');
+ if(!empty($goods_ids))
+ {
+ $where[] = ['goods_id', 'in', $goods_ids];
+ } else {
+ $where[] = ['id', '=', 0];
+ }
}
}
}
@@ -248,6 +300,10 @@ class GoodsCommentsService
{
$where[] = ['is_reply', '=', intval($params['is_reply'])];
}
+ if(!empty($params['business_type']))
+ {
+ $where[] = ['business_type', '='. $params['business_type']];
+ }
if(!empty($params['time_start']))
diff --git a/application/service/GoodsService.php b/application/service/GoodsService.php
index 287419475f47c607a0b1890907ec939e0c9644aa..34dc12c183692723e3d7c5ccbebb6b6c49643288 100755
--- a/application/service/GoodsService.php
+++ b/application/service/GoodsService.php
@@ -613,20 +613,6 @@ class GoodsService
return DataReturn('操作成功', 0, empty($temp) ? 0 : 1);
}
- /**
- * 商品评论总数
- * @author Devil
- * @blog http://gong.gg/
- * @version 1.0.0
- * @date 2018-09-29
- * @desc description
- * @param [array] $where [条件]
- */
- public static function GoodsCommentsTotal($goods_id)
- {
- return (int) Db::name('OrderComments')->where(['goods_id'=>intval($goods_id)])->count();
- }
-
/**
* 前端商品收藏列表条件
* @author Devil
diff --git a/config/shopxo.sql b/config/shopxo.sql
index 886a10eb5e0918d75224d075ca33398f0e1e0d43..24934e4ac1ba49be8b677b3439c313a2449acd9e 100644
--- a/config/shopxo.sql
+++ b/config/shopxo.sql
@@ -11,7 +11,7 @@
Target Server Version : 50722
File Encoding : utf-8
- Date: 05/13/2019 18:37:25 PM
+ Date: 05/14/2019 18:38:41 PM
*/
SET NAMES utf8mb4;
@@ -368,7 +368,7 @@ CREATE TABLE `s_goods` (
-- Records of `s_goods`
-- ----------------------------
BEGIN;
-INSERT INTO `s_goods` VALUES ('1', '1', 'MIUI/小米 小米手机4 小米4代 MI4智能4G手机包邮 黑色 D-LTE(4G)/TD-SCD', '', '', '0', '125', '步', '/static/upload/images/goods/2019/01/14/1547450781101144.jpg', '3200.00', '3200.00', '3200.00', '2100.00', '2100.00', '2100.00', '10', '1', '0', '1', '1', '1', '![\"1547450880620837.png\"/](\"/static/upload/images/goods/2019/01/14/1547450880620837.png\")
![\"1547450880750687.png\"/](\"/static/upload/images/goods/2019/01/14/1547450880750687.png\")
![\"1547450880917418.png\"/](\"/static/upload/images/goods/2019/01/14/1547450880917418.png\")
', '2', '0', '27', '', '/static/upload/images/goods/2019/01/14/1547450781101144.jpg', '', '', '0', '1547450921', '1554556830'), ('2', '2', '苹果(Apple)iPhone 6 Plus (A1524)移动联通电信4G手机 金色 16G', '', 'iPhone 6 Plus', '0', '1699', '步', '/static/upload/images/goods/2019/01/14/1547451274847894.jpg', '6000.00-7600.00', '6000.00', '7600.00', '4500.00-6800.00', '4500.00', '6800.00', '30', '1', '0', '1', '1', '1', '![\"1547451595700972.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547451595700972.jpg\")
![\"1547451595528800.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547451595528800.jpg\")
![\"1547451595616298.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547451595616298.jpg\")
', '2', '1', '211', '/static/upload/video/goods/2019/01/14/1547458876723311.mp4', '/static/upload/images/goods/2019/01/14/1547451274847894.jpg', '', '', '0', '1547451624', '1554555460'), ('3', '2', 'Samsung/三星 SM-G8508S GALAXY Alpha四核智能手机 新品 闪耀白', '', '', '0', '235', '步', '/static/upload/images/goods/2019/01/14/1547451909951171.jpg', '6866.00', '6866.00', '6866.00', '3888.00', '3888.00', '3888.00', '20', '1', '0', '1', '1', '1', '![\"1547451947383902.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547451947383902.jpg\")
![\"1547451947686990.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547451947686990.jpg\")
![\"1547451947676180.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547451947676180.jpg\")
![\"1547451947791154.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547451947791154.jpg\")
', '2', '0', '36', '', '/static/upload/images/goods/2019/01/14/1547451909951171.jpg', '', '', '0', '1547452007', '1547452007'), ('4', '1', 'Huawei/华为 H60-L01 荣耀6 移动4G版智能手机 安卓', '', '', '0', '537', '步', '/static/upload/images/goods/2019/01/14/1547452474332334.jpg', '2300.00', '2300.00', '2300.00', '1999.00', '1999.00', '1999.00', '19', '1', '0', '1', '1', '1', '![\"1547452505568604.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547452505568604.jpg\")
![\"1547452505349986.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547452505349986.jpg\")
![\"1547452505184884.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547452505184884.jpg\")
', '2', '0', '164', '', '/static/upload/images/goods/2019/01/14/1547452474332334.jpg', '', '', '0', '1547452553', '1547452553'), ('5', '2', 'Meizu/魅族 MX4 Pro移动版 八核大屏智能手机 黑色 16G', '', '', '0', '435', '步', '/static/upload/images/goods/2019/01/14/1547452714324599.jpg', '3200.00', '3200.00', '3200.00', '2499.00', '2499.00', '2499.00', '56', '1', '0', '1', '1', '1', '![\"1547452760417982.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547452760417982.jpg\")
![\"1547452760659259.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547452760659259.jpg\")
![\"1547452760984656.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547452760984656.jpg\")
', '2', '1', '274', '', '/static/upload/images/goods/2019/01/14/1547452714324599.jpg', '', '', '0', '1547452798', '1547452798'), ('6', '1', 'vivo X5MAX L 移动4G 八核超薄大屏5.5吋双卡手机vivoX5max', '', '', '0', '318', '步', '/static/upload/images/goods/2019/01/14/1547453000703308.jpg', '3200.00', '3200.00', '3200.00', '2998.90', '2998.90', '2998.90', '65', '1', '0', '1', '1', '1', ' X5L/SL/V/M (5.0寸) X5max钢化膜(5.5寸) X5pro钢化膜(5.2寸)
![\"1547453042405182.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547453042405182.jpg\")
![\"1547453042614480.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547453042614480.jpg\")
![\"1547453042816509.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547453042816509.jpg\")
', '2', '1', '249', '', '/static/upload/images/goods/2019/01/14/1547453000703308.jpg', '', '', '0', '1547453135', '1547453157'), ('7', '1', '纽芝兰包包女士2018新款潮百搭韩版时尚单肩斜挎包少女小挎包链条', '', '', '0', '319', '件', '/static/upload/images/goods/2019/01/14/1547453895416529.jpg', '760.00', '760.00', '760.00', '168.00', '168.00', '168.00', '11', '1', '0', '1', '1', '1', '![\"1547453910353340.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547453910353340.jpg\")
![\"1547453910505349.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547453910505349.jpg\")
![\"1547453910394886.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547453910394886.jpg\")
', '2', '1', '109', '', '/static/upload/images/goods/2019/01/15/1547540603500383.jpg', '', '', '0', '1547453967', '1554485498'), ('8', '1', 'MARNI Trunk 女士 中号拼色十字纹小牛皮 斜挎风琴包', '', '', '0', '35', '件', '/static/upload/images/goods/2019/01/14/1547454145355962.jpg', '672.00', '672.00', '672.00', '356.00', '356.00', '356.00', '8', '1', '0', '1', '1', '1', '![\"1547454192301566.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547454192301566.jpg\")
![\"1547454192448116.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547454192448116.jpg\")
![\"1547454192474638.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547454192474638.jpg\")
', '2', '0', '30', '', '/static/upload/images/goods/2019/01/14/1547454145355962.jpg', '', '', '0', '1547454269', '1554485486'), ('9', '2', '睡衣女长袖春秋季纯棉韩版女士大码薄款春夏季全棉家居服两件套装', '', '', '0', '596', '件', '/static/upload/images/goods/2019/01/14/1547454702543219.jpg', '160.00-216.00', '160.00', '216.00', '120.00-158.00', '120.00', '158.00', '2', '1', '0', '1', '1', '1', '![\"1547454712270511.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547454712270511.jpg\")
![\"1547454713556301.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547454713556301.jpg\")
![\"1547454713800333.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547454713800333.jpg\")
![\"1547454713456602.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547454713456602.jpg\")
', '3', '0', '108', '', '/static/upload/images/goods/2019/01/14/1547454567172116.jpg', '', '', '0', '1547454786', '1554555420'), ('10', '0', '夏装女装古力娜扎明星同款一字领露肩蓝色蕾丝修身显瘦连衣裙礼服', '', '', '0', '33', '件', '/static/upload/images/goods/2019/01/14/1547455240794230.jpg', '568.00', '568.00', '568.00', '228.00', '228.00', '228.00', '28', '1', '0', '1', '1', '1', '【品牌】欧单 学媛风 猫咪良品
【吊牌】xueyuanfeng 猫咪良品
【面料质地】涤棉拼接蕾丝 后中拉链 有内衬(非专业机构鉴定,介意请慎拍)
好的衣服需要好好呵护,务必请冷水手洗(切记别浸泡)拧干就晾晒或则干洗哦~
【商品颜色】实物拍摄 蓝色 颜色很难拍有小色差属正常现象哦
【商品尺寸】XS/S/M/L 小高腰设计 胸口纽扣是装饰的哦
XS码尺寸: 悬挂衣长81CM.胸围80内合适.腰围63CM.臀围86CM
S码尺寸: 悬挂衣长82CM.胸围84内合适.腰围67CM.臀围90CM
M码尺寸: 悬挂衣长83CM.胸围88内合适.腰围71CM.臀围94CM
L码尺寸: 悬挂衣长84CM.胸围92内合适.腰围75CM.臀围98CM
(测量单位是CM,每个人的测量方式不一样,测量的尺寸数据可能会有1~3厘米的差异,请MM们谅解哦)
PS:常规码数,可按平时号选择哦。修身版型~如果上身偏大可以适当考虑大1号~下摆蕾丝拼接不会很平整的哦~
蕾丝花是手工修剪出来的,每件都有不同和不规则的哦,有小线头和节点是正常现象哦~请亲们谅解哦~
![\"1547455266234658.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547455266234658.jpg\")
![\"1547455266527628.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547455266527628.jpg\")
', '2', '0', '201', '', '/static/upload/images/goods/2019/01/14/1547455222990904.jpg', '', '', '0', '1547455375', '1557027030'), ('11', '0', '夏季复古ins风格网红SP同款 短袖大圆领香槟色蕾丝绣花钉珠连衣裙', '', '', '0', '36665977', '件', '/static/upload/images/goods/2019/01/14/1547455601314107.jpg', '0.00-268.00', '0.00', '268.00', '160.00-258.00', '160.00', '258.00', '1', '1', '0', '1', '1', '1', '【品牌】欧单 学媛风 猫咪良品
【吊牌】xueyuanfeng 猫咪良品
【面料质地】网纱绣花钉珠拼接蕾丝 有拉链有内衬(非专业机构鉴定,介意请慎拍)
好的衣服需要好好呵护,务必请冷水手洗(切记别浸泡)拧干就晾晒或则干洗哦~
【商品颜色】实物拍摄 香槟色 颜色很难拍有小色差属正常现象哦
【商品尺寸】XS/S/M/L 小高腰设计 胸那考虑撑开因素哦 微弹的哦
XS码尺寸: 衣长82CM.胸围80内合适.腰围63CM.臀围86CM
S码尺寸: 衣长83CM.胸围84内合适.腰围67CM.臀围90CM
M码尺寸: 衣长84CM.胸围88内合适.腰围71CM.臀围94CM
L码尺寸: 衣长85CM.胸围92内合适.腰围75CM.臀围98CM
(测量单位是CM,每个人的测量方式不一样,测量的尺寸数据可能会有1~3厘米的差异,请MM们谅解哦)
PS:常规码数,可按平时号选择哦。修身版型,如果腰粗可以适当考虑大1号哦~
大圆领,每个人的身材曲线不同,领口不会很平的哦,请谅解~
肩膀那有暗扣哦,可以很好的隐藏了内衣的肩带哦~袖子那略硬哦~
![](\"/static/upload/images/goods/2019/01/14/1547455601898622.jpg\"/)
![](\"/static/upload/images/goods/2019/01/14/1547455601528614.jpg\"/)
![](\"/static/upload/images/goods/2019/01/14/1547455601314107.jpg\"/)
![](\"/static/upload/images/goods/2019/01/14/1547455601168384.jpg\"/)
', '4', '1', '86', '', '/static/upload/images/goods/2019/01/14/1547455566118614.jpg', '', '', '0', '1547455700', '1556157100'), ('12', '2', 'ZK星星绣花雪纺连衣裙中长款sukol裙少女心温柔超仙女chic裙子夏', '', 'xxxxhhhhhh商品型号', '0', '117', '件', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '150.00-188.00', '150.00', '188.00', '0.01-128.00', '0.01', '128.00', '3', '1', '0', '1', '1', '1', '![\"1547456214155362.jpg\" \"d-1.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547456214155362.jpg\")
![](\"/static/upload/images/goods/2019/01/14/1547455907486857.jpg\"/)
![](\"/static/upload/images/goods/2019/01/14/1547455907256518.jpg\"/)
![\"1547456228913731.jpg\" \"d-2.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547456228913731.jpg\")
', '3', '0', '400', '', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '连衣裙,裙子', '夏季连衣裙,瘦身裙子', '0', '1547456230', '1557740037');
+INSERT INTO `s_goods` VALUES ('1', '1', 'MIUI/小米 小米手机4 小米4代 MI4智能4G手机包邮 黑色 D-LTE(4G)/TD-SCD', '', '', '0', '125', '步', '/static/upload/images/goods/2019/01/14/1547450781101144.jpg', '3200.00', '3200.00', '3200.00', '2100.00', '2100.00', '2100.00', '10', '1', '0', '1', '1', '1', '![\"1547450880620837.png\"/](\"/static/upload/images/goods/2019/01/14/1547450880620837.png\")
![\"1547450880750687.png\"/](\"/static/upload/images/goods/2019/01/14/1547450880750687.png\")
![\"1547450880917418.png\"/](\"/static/upload/images/goods/2019/01/14/1547450880917418.png\")
', '2', '0', '27', '', '/static/upload/images/goods/2019/01/14/1547450781101144.jpg', '', '', '0', '1547450921', '1554556830'), ('2', '2', '苹果(Apple)iPhone 6 Plus (A1524)移动联通电信4G手机 金色 16G', '', 'iPhone 6 Plus', '0', '1699', '步', '/static/upload/images/goods/2019/01/14/1547451274847894.jpg', '6000.00-7600.00', '6000.00', '7600.00', '4500.00-6800.00', '4500.00', '6800.00', '30', '1', '0', '1', '1', '1', '![\"1547451595700972.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547451595700972.jpg\")
![\"1547451595528800.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547451595528800.jpg\")
![\"1547451595616298.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547451595616298.jpg\")
', '2', '1', '213', '/static/upload/video/goods/2019/01/14/1547458876723311.mp4', '/static/upload/images/goods/2019/01/14/1547451274847894.jpg', '', '', '0', '1547451624', '1554555460'), ('3', '2', 'Samsung/三星 SM-G8508S GALAXY Alpha四核智能手机 新品 闪耀白', '', '', '0', '235', '步', '/static/upload/images/goods/2019/01/14/1547451909951171.jpg', '6866.00', '6866.00', '6866.00', '3888.00', '3888.00', '3888.00', '20', '1', '0', '1', '1', '1', '![\"1547451947383902.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547451947383902.jpg\")
![\"1547451947686990.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547451947686990.jpg\")
![\"1547451947676180.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547451947676180.jpg\")
![\"1547451947791154.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547451947791154.jpg\")
', '2', '0', '36', '', '/static/upload/images/goods/2019/01/14/1547451909951171.jpg', '', '', '0', '1547452007', '1547452007'), ('4', '1', 'Huawei/华为 H60-L01 荣耀6 移动4G版智能手机 安卓', '', '', '0', '537', '步', '/static/upload/images/goods/2019/01/14/1547452474332334.jpg', '2300.00', '2300.00', '2300.00', '1999.00', '1999.00', '1999.00', '19', '1', '0', '1', '1', '1', '![\"1547452505568604.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547452505568604.jpg\")
![\"1547452505349986.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547452505349986.jpg\")
![\"1547452505184884.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547452505184884.jpg\")
', '2', '0', '166', '', '/static/upload/images/goods/2019/01/14/1547452474332334.jpg', '', '', '0', '1547452553', '1547452553'), ('5', '2', 'Meizu/魅族 MX4 Pro移动版 八核大屏智能手机 黑色 16G', '', '', '0', '435', '步', '/static/upload/images/goods/2019/01/14/1547452714324599.jpg', '3200.00', '3200.00', '3200.00', '2499.00', '2499.00', '2499.00', '56', '1', '0', '1', '1', '1', '![\"1547452760417982.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547452760417982.jpg\")
![\"1547452760659259.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547452760659259.jpg\")
![\"1547452760984656.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547452760984656.jpg\")
', '2', '1', '274', '', '/static/upload/images/goods/2019/01/14/1547452714324599.jpg', '', '', '0', '1547452798', '1547452798'), ('6', '1', 'vivo X5MAX L 移动4G 八核超薄大屏5.5吋双卡手机vivoX5max', '', '', '0', '318', '步', '/static/upload/images/goods/2019/01/14/1547453000703308.jpg', '3200.00', '3200.00', '3200.00', '2998.90', '2998.90', '2998.90', '65', '1', '0', '1', '1', '1', ' X5L/SL/V/M (5.0寸) X5max钢化膜(5.5寸) X5pro钢化膜(5.2寸)
![\"1547453042405182.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547453042405182.jpg\")
![\"1547453042614480.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547453042614480.jpg\")
![\"1547453042816509.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547453042816509.jpg\")
', '2', '1', '249', '', '/static/upload/images/goods/2019/01/14/1547453000703308.jpg', '', '', '0', '1547453135', '1547453157'), ('7', '1', '纽芝兰包包女士2018新款潮百搭韩版时尚单肩斜挎包少女小挎包链条', '', '', '0', '319', '件', '/static/upload/images/goods/2019/01/14/1547453895416529.jpg', '760.00', '760.00', '760.00', '168.00', '168.00', '168.00', '11', '1', '0', '1', '1', '1', '![\"1547453910353340.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547453910353340.jpg\")
![\"1547453910505349.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547453910505349.jpg\")
![\"1547453910394886.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547453910394886.jpg\")
', '2', '1', '111', '', '/static/upload/images/goods/2019/01/15/1547540603500383.jpg', '', '', '0', '1547453967', '1554485498'), ('8', '1', 'MARNI Trunk 女士 中号拼色十字纹小牛皮 斜挎风琴包', '', '', '0', '35', '件', '/static/upload/images/goods/2019/01/14/1547454145355962.jpg', '672.00', '672.00', '672.00', '356.00', '356.00', '356.00', '8', '1', '0', '1', '1', '1', '![\"1547454192301566.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547454192301566.jpg\")
![\"1547454192448116.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547454192448116.jpg\")
![\"1547454192474638.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547454192474638.jpg\")
', '2', '0', '30', '', '/static/upload/images/goods/2019/01/14/1547454145355962.jpg', '', '', '0', '1547454269', '1554485486'), ('9', '2', '睡衣女长袖春秋季纯棉韩版女士大码薄款春夏季全棉家居服两件套装', '', '', '0', '596', '件', '/static/upload/images/goods/2019/01/14/1547454702543219.jpg', '160.00-216.00', '160.00', '216.00', '120.00-158.00', '120.00', '158.00', '2', '1', '0', '1', '1', '1', '![\"1547454712270511.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547454712270511.jpg\")
![\"1547454713556301.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547454713556301.jpg\")
![\"1547454713800333.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547454713800333.jpg\")
![\"1547454713456602.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547454713456602.jpg\")
', '3', '0', '108', '', '/static/upload/images/goods/2019/01/14/1547454567172116.jpg', '', '', '0', '1547454786', '1554555420'), ('10', '0', '夏装女装古力娜扎明星同款一字领露肩蓝色蕾丝修身显瘦连衣裙礼服', '', '', '0', '33', '件', '/static/upload/images/goods/2019/01/14/1547455240794230.jpg', '568.00', '568.00', '568.00', '228.00', '228.00', '228.00', '28', '1', '0', '1', '1', '1', '【品牌】欧单 学媛风 猫咪良品
【吊牌】xueyuanfeng 猫咪良品
【面料质地】涤棉拼接蕾丝 后中拉链 有内衬(非专业机构鉴定,介意请慎拍)
好的衣服需要好好呵护,务必请冷水手洗(切记别浸泡)拧干就晾晒或则干洗哦~
【商品颜色】实物拍摄 蓝色 颜色很难拍有小色差属正常现象哦
【商品尺寸】XS/S/M/L 小高腰设计 胸口纽扣是装饰的哦
XS码尺寸: 悬挂衣长81CM.胸围80内合适.腰围63CM.臀围86CM
S码尺寸: 悬挂衣长82CM.胸围84内合适.腰围67CM.臀围90CM
M码尺寸: 悬挂衣长83CM.胸围88内合适.腰围71CM.臀围94CM
L码尺寸: 悬挂衣长84CM.胸围92内合适.腰围75CM.臀围98CM
(测量单位是CM,每个人的测量方式不一样,测量的尺寸数据可能会有1~3厘米的差异,请MM们谅解哦)
PS:常规码数,可按平时号选择哦。修身版型~如果上身偏大可以适当考虑大1号~下摆蕾丝拼接不会很平整的哦~
蕾丝花是手工修剪出来的,每件都有不同和不规则的哦,有小线头和节点是正常现象哦~请亲们谅解哦~
![\"1547455266234658.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547455266234658.jpg\")
![\"1547455266527628.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547455266527628.jpg\")
', '2', '0', '201', '', '/static/upload/images/goods/2019/01/14/1547455222990904.jpg', '', '', '0', '1547455375', '1557027030'), ('11', '0', '夏季复古ins风格网红SP同款 短袖大圆领香槟色蕾丝绣花钉珠连衣裙', '', '', '0', '36665977', '件', '/static/upload/images/goods/2019/01/14/1547455601314107.jpg', '0.00-268.00', '0.00', '268.00', '160.00-258.00', '160.00', '258.00', '1', '1', '0', '1', '1', '1', '【品牌】欧单 学媛风 猫咪良品
【吊牌】xueyuanfeng 猫咪良品
【面料质地】网纱绣花钉珠拼接蕾丝 有拉链有内衬(非专业机构鉴定,介意请慎拍)
好的衣服需要好好呵护,务必请冷水手洗(切记别浸泡)拧干就晾晒或则干洗哦~
【商品颜色】实物拍摄 香槟色 颜色很难拍有小色差属正常现象哦
【商品尺寸】XS/S/M/L 小高腰设计 胸那考虑撑开因素哦 微弹的哦
XS码尺寸: 衣长82CM.胸围80内合适.腰围63CM.臀围86CM
S码尺寸: 衣长83CM.胸围84内合适.腰围67CM.臀围90CM
M码尺寸: 衣长84CM.胸围88内合适.腰围71CM.臀围94CM
L码尺寸: 衣长85CM.胸围92内合适.腰围75CM.臀围98CM
(测量单位是CM,每个人的测量方式不一样,测量的尺寸数据可能会有1~3厘米的差异,请MM们谅解哦)
PS:常规码数,可按平时号选择哦。修身版型,如果腰粗可以适当考虑大1号哦~
大圆领,每个人的身材曲线不同,领口不会很平的哦,请谅解~
肩膀那有暗扣哦,可以很好的隐藏了内衣的肩带哦~袖子那略硬哦~
![](\"/static/upload/images/goods/2019/01/14/1547455601898622.jpg\"/)
![](\"/static/upload/images/goods/2019/01/14/1547455601528614.jpg\"/)
![](\"/static/upload/images/goods/2019/01/14/1547455601314107.jpg\"/)
![](\"/static/upload/images/goods/2019/01/14/1547455601168384.jpg\"/)
', '4', '1', '86', '', '/static/upload/images/goods/2019/01/14/1547455566118614.jpg', '', '', '0', '1547455700', '1556157100'), ('12', '2', 'ZK星星绣花雪纺连衣裙中长款sukol裙少女心温柔超仙女chic裙子夏', '', 'xxxxhhhhhh商品型号', '0', '117', '件', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '150.00-188.00', '150.00', '188.00', '0.01-128.00', '0.01', '128.00', '3', '1', '0', '1', '1', '1', '![\"1547456214155362.jpg\" \"d-1.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547456214155362.jpg\")
![](\"/static/upload/images/goods/2019/01/14/1547455907486857.jpg\"/)
![](\"/static/upload/images/goods/2019/01/14/1547455907256518.jpg\"/)
![\"1547456228913731.jpg\" \"d-2.jpg\"/](\"/static/upload/images/goods/2019/01/14/1547456228913731.jpg\")
', '3', '0', '401', '', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '连衣裙,裙子', '夏季连衣裙,瘦身裙子', '0', '1547456230', '1557740037');
COMMIT;
-- ----------------------------
@@ -382,13 +382,13 @@ CREATE TABLE `s_goods_browse` (
`add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间',
`upd_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间',
PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='用户商品浏览';
+) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='用户商品浏览';
-- ----------------------------
-- Records of `s_goods_browse`
-- ----------------------------
BEGIN;
-INSERT INTO `s_goods_browse` VALUES ('1', '7', '91', '1554803230', '1554805470'), ('2', '11', '90', '1554966398', '1557738874'), ('3', '10', '90', '1555048568', '1556618012'), ('4', '9', '90', '1555058265', '1556156966'), ('5', '2', '90', '1555157678', '1557736403'), ('6', '12', '90', '1555159096', '1556618020'), ('7', '5', '90', '1555402359', '1557742158'), ('8', '7', '90', '1555406985', '1557742177'), ('9', '4', '90', '1555491079', '1556517497'), ('10', '6', '90', '1555494278', '1557726875'), ('11', '8', '91', '1556075952', '1556075952'), ('12', '3', '90', '1556077528', '1556609817'), ('13', '8', '90', '1557209457', '1557209457');
+INSERT INTO `s_goods_browse` VALUES ('1', '7', '91', '1554803230', '1554805470'), ('2', '11', '90', '1554966398', '1557738874'), ('3', '10', '90', '1555048568', '1556618012'), ('4', '9', '90', '1555058265', '1556156966'), ('5', '2', '90', '1555157678', '1557798929'), ('6', '12', '90', '1555159096', '1557818709'), ('7', '5', '90', '1555402359', '1557742158'), ('8', '7', '90', '1555406985', '1557742177'), ('9', '4', '90', '1555491079', '1556517497'), ('10', '6', '90', '1555494278', '1557726875'), ('11', '8', '91', '1556075952', '1556075952'), ('12', '3', '90', '1556077528', '1556609817'), ('13', '8', '90', '1557209457', '1557209457'), ('14', '4', '92', '1557818775', '1557818778'), ('15', '7', '92', '1557826700', '1557826707'), ('16', '2', '92', '1557828258', '1557828258');
COMMIT;
-- ----------------------------
@@ -444,6 +444,37 @@ BEGIN;
INSERT INTO `s_goods_category_join` VALUES ('6', '3', '68', '1547452007'), ('7', '3', '69', '1547452007'), ('8', '4', '68', '1547452553'), ('9', '4', '69', '1547452553'), ('10', '5', '68', '1547452798'), ('11', '5', '69', '1547452798'), ('14', '6', '68', '1547453157'), ('15', '6', '69', '1547453157'), ('76', '8', '58', '1554485486'), ('77', '8', '195', '1554485486'), ('78', '8', '198', '1554485486'), ('79', '7', '58', '1554485498'), ('80', '7', '194', '1554485498'), ('81', '7', '196', '1554485498'), ('89', '9', '363', '1554555420'), ('90', '2', '68', '1554555460'), ('91', '2', '69', '1554555460'), ('92', '2', '304', '1554555460'), ('93', '1', '68', '1554556830'), ('94', '1', '304', '1554556830'), ('105', '11', '304', '1556157100'), ('106', '11', '318', '1556157100'), ('109', '12', '304', '1557025931'), ('110', '12', '318', '1557025931'), ('111', '10', '304', '1557027030'), ('112', '10', '318', '1557027030'), ('113', '10', '446', '1557027030');
COMMIT;
+-- ----------------------------
+-- Table structure for `s_goods_comments`
+-- ----------------------------
+DROP TABLE IF EXISTS `s_goods_comments`;
+CREATE TABLE `s_goods_comments` (
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增id',
+ `user_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '用户id',
+ `shop_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '店铺id',
+ `order_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '业务订单id',
+ `goods_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '商品id',
+ `business_type` char(30) NOT NULL DEFAULT '' COMMENT '业务类型名称(如订单 订单)',
+ `content` char(255) NOT NULL DEFAULT '' COMMENT '评价内容',
+ `reply` char(255) NOT NULL DEFAULT '' COMMENT '回复内容',
+ `rating` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '评价级别(默认0 1~5)',
+ `is_anonymous` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否匿名(0否,1是)',
+ `is_reply` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否回复(0否,1是)',
+ `reply_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '回复时间',
+ `add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间',
+ PRIMARY KEY (`id`),
+ KEY `user_id` (`user_id`),
+ KEY `order_id` (`order_id`),
+ KEY `goods_id` (`goods_id`)
+) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='商品评价';
+
+-- ----------------------------
+-- Records of `s_goods_comments`
+-- ----------------------------
+BEGIN;
+INSERT INTO `s_goods_comments` VALUES ('1', '90', '0', '3', '7', '', '包包很好看哦,老婆很喜欢', '', '5', '0', '0', '0', '1557741260'), ('2', '90', '0', '3', '2', '', '做活动购买的手机,好便宜,真高兴,哈哈', '', '5', '0', '0', '0', '1557741260'), ('3', '90', '0', '3', '6', '', '国产手机越来越好了,好用,不贵,不卡,支持!!!', '', '4', '0', '0', '0', '1557741260'), ('4', '90', '0', '1', '11', '', '很好的衣服,推荐大家购买', '', '4', '1', '0', '0', '1557742012');
+COMMIT;
+
-- ----------------------------
-- Table structure for `s_goods_content_app`
-- ----------------------------
@@ -709,44 +740,13 @@ CREATE TABLE `s_order` (
KEY `shop_id` (`shop_id`),
KEY `status` (`status`),
KEY `pay_status` (`pay_status`)
-) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='订单';
+) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='订单';
-- ----------------------------
-- Records of `s_order`
-- ----------------------------
BEGIN;
-INSERT INTO `s_order` VALUES ('1', '20190411150720949337', '90', '0', '1', 'test', '13222333333', '3', '74', '1149', '23232323', '', '2', '967878', '1', '4', '1', '[{\"name\":\"\\u8fd0\\u8d39\",\"price\":\"10\",\"type\":1,\"tips\":\"+\\uffe510\\u5143\"},{\"name\":\"\\u65b0\\u7528\\u6237\\u7acb\\u51cf\",\"price\":\"0.26\",\"type\":0,\"tips\":\"-\\uffe50.26\\u5143\"}]', '9.74', '0.00', '258.00', '267.74', '267.74', '1554966442', '1554966440', '1554966457', '0', '1554966464', '0', '0', '0', '1557742012', '0', '0', '1554966440', '1557742012'), ('2', '20190417165125800884', '90', '0', '1', 'test', '13222333333', '3', '74', '1149', '23232323', '', '0', '', '2', '1', '0', '[{\"name\":\"\\u8fd0\\u8d39\",\"price\":\"10\",\"type\":1,\"tips\":\"+\\uffe510\\u5143\"}]', '10.00', '0.00', '1999.00', '2009.00', '0.00', '0', '1555491085', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1555491085', '0'), ('3', '20190426140139615638', '90', '0', '1', 'test', '13222333333', '3', '74', '1149', '23232323', '', '2', '222', '1', '4', '1', '[{\"name\":\"\\u8fd0\\u8d39\",\"price\":15,\"type\":1,\"tips\":\"+\\uffe515\\u5143\"}]', '15.00', '0.00', '9216.90', '9231.90', '9231.90', '1556258500', '1556258499', '1557739690', '0', '1557740030', '0', '0', '0', '1557741260', '0', '0', '1556258499', '1557741260'), ('4', '20190426140206863246', '90', '0', '1', 'test', '13222333333', '3', '74', '1149', '23232323', '', '0', '', '1', '2', '1', '[{\"name\":\"\\u8fd0\\u8d39\",\"price\":0,\"type\":1,\"tips\":\"+\\uffe50\\u5143\"}]', '0.00', '0.00', '6600.00', '6600.00', '6600.00', '1556258528', '1556258526', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1556258526', '1556258528'), ('5', '20190426140230346651', '90', '0', '1', 'test', '13222333333', '3', '74', '1149', '23232323', '', '0', '', '1', '2', '1', '[{\"name\":\"\\u8fd0\\u8d39\",\"price\":\"10\",\"type\":1,\"tips\":\"+\\uffe510\\u5143\"}]', '10.00', '0.00', '238.00', '248.00', '248.00', '1556258552', '1556258550', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1556258550', '1556258552'), ('6', '20190426141904654958', '90', '0', '1', 'test', '13222333333', '3', '74', '1149', '23232323', '', '0', '', '1', '2', '1', '[{\"name\":\"\\u8fd0\\u8d39\",\"price\":0,\"type\":1,\"tips\":\"+\\uffe50\\u5143\"}]', '0.00', '0.00', '466.00', '466.00', '466.00', '1556259546', '1556259544', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1556259544', '1556259546'), ('7', '20190426143927024033', '90', '0', '1', 'test', '13222333333', '3', '74', '1149', '23232323', '', '0', '', '1', '2', '1', '[{\"name\":\"\\u8fd0\\u8d39\",\"price\":\"10\",\"type\":1,\"tips\":\"+\\uffe510\\u5143\"}]', '10.00', '0.00', '228.00', '238.00', '238.00', '1556260768', '1556260767', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1556260767', '1556260768'), ('8', '20190426143952260370', '90', '0', '1', 'test', '13222333333', '3', '74', '1149', '23232323', '', '0', '', '1', '2', '1', '[{\"name\":\"\\u8fd0\\u8d39\",\"price\":0,\"type\":1,\"tips\":\"+\\uffe50\\u5143\"}]', '0.00', '0.00', '228.00', '228.00', '228.00', '1556260794', '1556260792', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1556260792', '1556260794'), ('9', '20190429175813029476', '90', '0', '1', 'test', '13222333333', '3', '74', '1149', '23232323', '', '0', '', '2', '1', '0', '[{\"name\":\"\\u8fd0\\u8d39\",\"price\":\"10\",\"type\":1,\"tips\":\"+\\uffe510\\u5143\"},{\"name\":\"VIP1-\\u6ee1\\u51cf\",\"price\":\"10.00\",\"type\":1,\"tips\":\"-\\uffe510.00\\u5143\"}]', '10.00', '10.00', '151.20', '151.20', '0.00', '0', '1556531893', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1556531893', '0');
-COMMIT;
-
--- ----------------------------
--- Table structure for `s_order_comments`
--- ----------------------------
-DROP TABLE IF EXISTS `s_order_comments`;
-CREATE TABLE `s_order_comments` (
- `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增id',
- `user_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '用户id',
- `shop_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '店铺id',
- `order_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '订单id',
- `goods_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '商品id',
- `content` char(255) NOT NULL DEFAULT '' COMMENT '评价内容',
- `reply` char(255) NOT NULL DEFAULT '' COMMENT '回复内容',
- `rating` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '评价级别(默认0 1~5)',
- `is_anonymous` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否匿名(0否,1是)',
- `is_reply` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否回复(0否,1是)',
- `reply_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '回复时间',
- `add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间',
- PRIMARY KEY (`id`),
- KEY `user_id` (`user_id`),
- KEY `shop_id` (`shop_id`),
- KEY `order_id` (`order_id`),
- KEY `goods_id` (`goods_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='订单评价';
-
--- ----------------------------
--- Records of `s_order_comments`
--- ----------------------------
-BEGIN;
-INSERT INTO `s_order_comments` VALUES ('1', '90', '0', '3', '7', '包包很好看哦,老婆很喜欢', '', '5', '0', '0', '0', '1557741260'), ('2', '90', '0', '3', '2', '做活动购买的手机,好便宜,真高兴,哈哈', '', '5', '0', '0', '0', '1557741260'), ('3', '90', '0', '3', '6', '国产手机越来越好了,好用,不贵,不卡,支持!!!', '', '4', '0', '0', '0', '1557741260'), ('4', '90', '0', '1', '11', '很好的衣服,推荐大家购买', '', '4', '1', '0', '0', '1557742012');
+INSERT INTO `s_order` VALUES ('1', '20190411150720949337', '90', '0', '1', 'test', '13222333333', '3', '74', '1149', '23232323', '', '2', '967878', '1', '4', '1', '[{\"name\":\"\\u8fd0\\u8d39\",\"price\":\"10\",\"type\":1,\"tips\":\"+\\uffe510\\u5143\"},{\"name\":\"\\u65b0\\u7528\\u6237\\u7acb\\u51cf\",\"price\":\"0.26\",\"type\":0,\"tips\":\"-\\uffe50.26\\u5143\"}]', '9.74', '0.00', '258.00', '267.74', '267.74', '1554966442', '1554966440', '1554966457', '0', '1554966464', '0', '0', '0', '1557742012', '0', '0', '1554966440', '1557742012'), ('2', '20190417165125800884', '90', '0', '1', 'test', '13222333333', '3', '74', '1149', '23232323', '', '0', '', '2', '1', '0', '[{\"name\":\"\\u8fd0\\u8d39\",\"price\":\"10\",\"type\":1,\"tips\":\"+\\uffe510\\u5143\"}]', '10.00', '0.00', '1999.00', '2009.00', '0.00', '0', '1555491085', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1555491085', '0'), ('3', '20190426140139615638', '90', '0', '1', 'test', '13222333333', '3', '74', '1149', '23232323', '', '2', '222', '1', '4', '1', '[{\"name\":\"\\u8fd0\\u8d39\",\"price\":15,\"type\":1,\"tips\":\"+\\uffe515\\u5143\"}]', '15.00', '0.00', '9216.90', '9231.90', '9231.90', '1556258500', '1556258499', '1557739690', '0', '1557740030', '0', '0', '0', '1557741260', '0', '0', '1556258499', '1557741260'), ('4', '20190426140206863246', '90', '0', '1', 'test', '13222333333', '3', '74', '1149', '23232323', '', '0', '', '1', '2', '1', '[{\"name\":\"\\u8fd0\\u8d39\",\"price\":0,\"type\":1,\"tips\":\"+\\uffe50\\u5143\"}]', '0.00', '0.00', '6600.00', '6600.00', '6600.00', '1556258528', '1556258526', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1556258526', '1556258528'), ('5', '20190426140230346651', '90', '0', '1', 'test', '13222333333', '3', '74', '1149', '23232323', '', '0', '', '1', '2', '1', '[{\"name\":\"\\u8fd0\\u8d39\",\"price\":\"10\",\"type\":1,\"tips\":\"+\\uffe510\\u5143\"}]', '10.00', '0.00', '238.00', '248.00', '248.00', '1556258552', '1556258550', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1556258550', '1556258552'), ('6', '20190426141904654958', '90', '0', '1', 'test', '13222333333', '3', '74', '1149', '23232323', '', '0', '', '1', '2', '1', '[{\"name\":\"\\u8fd0\\u8d39\",\"price\":0,\"type\":1,\"tips\":\"+\\uffe50\\u5143\"}]', '0.00', '0.00', '466.00', '466.00', '466.00', '1556259546', '1556259544', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1556259544', '1556259546'), ('7', '20190426143927024033', '90', '0', '1', 'test', '13222333333', '3', '74', '1149', '23232323', '', '0', '', '1', '2', '1', '[{\"name\":\"\\u8fd0\\u8d39\",\"price\":\"10\",\"type\":1,\"tips\":\"+\\uffe510\\u5143\"}]', '10.00', '0.00', '228.00', '238.00', '238.00', '1556260768', '1556260767', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1556260767', '1556260768'), ('8', '20190426143952260370', '90', '0', '1', 'test', '13222333333', '3', '74', '1149', '23232323', '', '0', '', '1', '2', '1', '[{\"name\":\"\\u8fd0\\u8d39\",\"price\":0,\"type\":1,\"tips\":\"+\\uffe50\\u5143\"}]', '0.00', '0.00', '228.00', '228.00', '228.00', '1556260794', '1556260792', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1556260792', '1556260794'), ('9', '20190429175813029476', '90', '0', '1', 'test', '13222333333', '3', '74', '1149', '23232323', '', '0', '', '2', '1', '0', '[{\"name\":\"\\u8fd0\\u8d39\",\"price\":\"10\",\"type\":1,\"tips\":\"+\\uffe510\\u5143\"},{\"name\":\"VIP1-\\u6ee1\\u51cf\",\"price\":\"10.00\",\"type\":1,\"tips\":\"-\\uffe510.00\\u5143\"}]', '10.00', '10.00', '151.20', '151.20', '0.00', '0', '1556531893', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1556531893', '0'), ('10', '20190514152559045718', '90', '0', '1', 'test', '13222333333', '3', '74', '1149', '23232323', '', '0', '', '2', '1', '0', '[{\"name\":\"\\u8fd0\\u8d39\",\"price\":\"10\",\"type\":1,\"tips\":\"+\\uffe510\\u5143\"}]', '10.00', '0.00', '0.01', '10.01', '0.00', '0', '1557818759', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1557818759', '0'), ('11', '20190514152641857886', '92', '0', '2', '111', '021-88888888', '1', '40', '592', '妙川路1111号华川家园11', '', '0', '', '2', '1', '0', '[{\"name\":\"\\u8fd0\\u8d39\",\"price\":0,\"type\":1,\"tips\":\"+\\uffe50\\u5143\"},{\"name\":\"\\u65b0\\u7528\\u6237\\u7acb\\u51cf\",\"price\":\"2.84\",\"type\":0,\"tips\":\"-\\uffe52.84\\u5143\"},{\"name\":\"VIP1-\\u6ee1\\u51cf\",\"price\":\"10.00\",\"type\":1,\"tips\":\"-\\uffe510.00\\u5143\"}]', '0.00', '10.00', '1799.10', '1786.26', '0.00', '0', '1557818801', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1557818801', '0');
COMMIT;
-- ----------------------------
@@ -775,13 +775,13 @@ CREATE TABLE `s_order_detail` (
KEY `order_id` (`order_id`),
KEY `goods_id` (`goods_id`),
KEY `shop_id` (`shop_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='订单详情';
+) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='订单详情';
-- ----------------------------
-- Records of `s_order_detail`
-- ----------------------------
BEGIN;
-INSERT INTO `s_order_detail` VALUES ('1', '90', '1', '11', '0', '夏季复古ins风格网红SP同款 短袖大圆领香槟色蕾丝绣花钉珠连衣裙', '/static/upload/images/goods/2019/01/14/1547455601314107.jpg', '268.00', '258.00', '', '1', '0.00', '', '', '1554966440', '0'), ('2', '90', '2', '4', '0', 'Huawei/华为 H60-L01 荣耀6 移动4G版智能手机 安卓', '/static/upload/images/goods/2019/01/14/1547452474332334.jpg', '2300.00', '1999.00', '', '1', '0.00', '', '', '1555491085', '0'), ('3', '90', '3', '7', '0', '纽芝兰包包女士2018新款潮百搭韩版时尚单肩斜挎包少女小挎包链条', '/static/upload/images/goods/2019/01/14/1547453895416529.jpg', '760.00', '168.00', '', '1', '0.00', '', '', '1556258499', '0'), ('4', '90', '3', '2', '0', '苹果(Apple)iPhone 6 Plus (A1524)移动联通电信4G手机 金色 16G', '/static/upload/images/goods/2019/01/14/1547451274847894.jpg', '6800.00', '6050.00', '[{\"type\":\"\\u5957\\u9910\",\"value\":\"\\u5957\\u9910\\u4e00\"},{\"type\":\"\\u989c\\u8272\",\"value\":\"\\u91d1\\u8272\"},{\"type\":\"\\u5bb9\\u91cf\",\"value\":\"32G\"}]', '1', '0.00', '', '', '1556258499', '0'), ('5', '90', '3', '6', '0', 'vivo X5MAX L 移动4G 八核超薄大屏5.5吋双卡手机vivoX5max', '/static/upload/images/goods/2019/01/14/1547453000703308.jpg', '3200.00', '2998.90', '', '1', '0.00', '', '', '1556258499', '0'), ('6', '90', '4', '2', '0', '苹果(Apple)iPhone 6 Plus (A1524)移动联通电信4G手机 金色 16G', '/static/upload/images/goods/2019/01/14/1547451274847894.jpg', '7200.00', '6600.00', '[{\"type\":\"\\u5957\\u9910\",\"value\":\"\\u5957\\u9910\\u4e00\"},{\"type\":\"\\u989c\\u8272\",\"value\":\"\\u91d1\\u8272\"},{\"type\":\"\\u5bb9\\u91cf\",\"value\":\"64G\"}]', '1', '0.00', '', '', '1556258526', '0'), ('7', '90', '5', '11', '0', '夏季复古ins风格网红SP同款 短袖大圆领香槟色蕾丝绣花钉珠连衣裙', '/static/upload/images/goods/2019/01/14/1547455601314107.jpg', '0.00', '238.00', '[{\"type\":\"\\u5c3a\\u7801\",\"value\":\"L\"}]', '1', '0.00', '', '', '1556258550', '0'), ('8', '90', '6', '11', '0', '夏季复古ins风格网红SP同款 短袖大圆领香槟色蕾丝绣花钉珠连衣裙', '/static/upload/images/goods/2019/01/14/1547455601314107.jpg', '0.00', '238.00', '[{\"type\":\"\\u5c3a\\u7801\",\"value\":\"L\"}]', '1', '0.00', '', '', '1556259544', '0'), ('9', '90', '6', '10', '0', '夏装女装古力娜扎明星同款一字领露肩蓝色蕾丝修身显瘦连衣裙礼服', '/static/upload/images/goods/2019/01/14/1547455240794230.jpg', '568.00', '228.00', '', '1', '0.00', '', '', '1556259544', '0'), ('10', '90', '7', '10', '0', '夏装女装古力娜扎明星同款一字领露肩蓝色蕾丝修身显瘦连衣裙礼服', '/static/upload/images/goods/2019/01/14/1547455240794230.jpg', '568.00', '228.00', '', '1', '0.00', '', '', '1556260767', '0'), ('11', '90', '8', '10', '0', '夏装女装古力娜扎明星同款一字领露肩蓝色蕾丝修身显瘦连衣裙礼服', '/static/upload/images/goods/2019/01/14/1547455240794230.jpg', '568.00', '228.00', '', '1', '0.00', '', '', '1556260792', '0'), ('12', '90', '9', '7', '0', '纽芝兰包包女士2018新款潮百搭韩版时尚单肩斜挎包少女小挎包链条', '/static/upload/images/goods/2019/01/14/1547453895416529.jpg', '760.00', '151.20', '', '1', '0.00', '', '', '1556531893', '0');
+INSERT INTO `s_order_detail` VALUES ('1', '90', '1', '11', '0', '夏季复古ins风格网红SP同款 短袖大圆领香槟色蕾丝绣花钉珠连衣裙', '/static/upload/images/goods/2019/01/14/1547455601314107.jpg', '268.00', '258.00', '', '1', '0.00', '', '', '1554966440', '0'), ('2', '90', '2', '4', '0', 'Huawei/华为 H60-L01 荣耀6 移动4G版智能手机 安卓', '/static/upload/images/goods/2019/01/14/1547452474332334.jpg', '2300.00', '1999.00', '', '1', '0.00', '', '', '1555491085', '0'), ('3', '90', '3', '7', '0', '纽芝兰包包女士2018新款潮百搭韩版时尚单肩斜挎包少女小挎包链条', '/static/upload/images/goods/2019/01/14/1547453895416529.jpg', '760.00', '168.00', '', '1', '0.00', '', '', '1556258499', '0'), ('4', '90', '3', '2', '0', '苹果(Apple)iPhone 6 Plus (A1524)移动联通电信4G手机 金色 16G', '/static/upload/images/goods/2019/01/14/1547451274847894.jpg', '6800.00', '6050.00', '[{\"type\":\"\\u5957\\u9910\",\"value\":\"\\u5957\\u9910\\u4e00\"},{\"type\":\"\\u989c\\u8272\",\"value\":\"\\u91d1\\u8272\"},{\"type\":\"\\u5bb9\\u91cf\",\"value\":\"32G\"}]', '1', '0.00', '', '', '1556258499', '0'), ('5', '90', '3', '6', '0', 'vivo X5MAX L 移动4G 八核超薄大屏5.5吋双卡手机vivoX5max', '/static/upload/images/goods/2019/01/14/1547453000703308.jpg', '3200.00', '2998.90', '', '1', '0.00', '', '', '1556258499', '0'), ('6', '90', '4', '2', '0', '苹果(Apple)iPhone 6 Plus (A1524)移动联通电信4G手机 金色 16G', '/static/upload/images/goods/2019/01/14/1547451274847894.jpg', '7200.00', '6600.00', '[{\"type\":\"\\u5957\\u9910\",\"value\":\"\\u5957\\u9910\\u4e00\"},{\"type\":\"\\u989c\\u8272\",\"value\":\"\\u91d1\\u8272\"},{\"type\":\"\\u5bb9\\u91cf\",\"value\":\"64G\"}]', '1', '0.00', '', '', '1556258526', '0'), ('7', '90', '5', '11', '0', '夏季复古ins风格网红SP同款 短袖大圆领香槟色蕾丝绣花钉珠连衣裙', '/static/upload/images/goods/2019/01/14/1547455601314107.jpg', '0.00', '238.00', '[{\"type\":\"\\u5c3a\\u7801\",\"value\":\"L\"}]', '1', '0.00', '', '', '1556258550', '0'), ('8', '90', '6', '11', '0', '夏季复古ins风格网红SP同款 短袖大圆领香槟色蕾丝绣花钉珠连衣裙', '/static/upload/images/goods/2019/01/14/1547455601314107.jpg', '0.00', '238.00', '[{\"type\":\"\\u5c3a\\u7801\",\"value\":\"L\"}]', '1', '0.00', '', '', '1556259544', '0'), ('9', '90', '6', '10', '0', '夏装女装古力娜扎明星同款一字领露肩蓝色蕾丝修身显瘦连衣裙礼服', '/static/upload/images/goods/2019/01/14/1547455240794230.jpg', '568.00', '228.00', '', '1', '0.00', '', '', '1556259544', '0'), ('10', '90', '7', '10', '0', '夏装女装古力娜扎明星同款一字领露肩蓝色蕾丝修身显瘦连衣裙礼服', '/static/upload/images/goods/2019/01/14/1547455240794230.jpg', '568.00', '228.00', '', '1', '0.00', '', '', '1556260767', '0'), ('11', '90', '8', '10', '0', '夏装女装古力娜扎明星同款一字领露肩蓝色蕾丝修身显瘦连衣裙礼服', '/static/upload/images/goods/2019/01/14/1547455240794230.jpg', '568.00', '228.00', '', '1', '0.00', '', '', '1556260792', '0'), ('12', '90', '9', '7', '0', '纽芝兰包包女士2018新款潮百搭韩版时尚单肩斜挎包少女小挎包链条', '/static/upload/images/goods/2019/01/14/1547453895416529.jpg', '760.00', '151.20', '', '1', '0.00', '', '', '1556531893', '0'), ('13', '90', '10', '12', '0', 'ZK星星绣花雪纺连衣裙中长款sukol裙少女心温柔超仙女chic裙子夏', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '188.00', '0.01', '[{\"type\":\"\\u989c\\u8272\",\"value\":\"\\u7c89\\u8272\"},{\"type\":\"\\u5c3a\\u7801\",\"value\":\"M\"}]', '1', '0.50', 'gg11', 'txm11', '1557818759', '0'), ('14', '92', '11', '4', '0', 'Huawei/华为 H60-L01 荣耀6 移动4G版智能手机 安卓', '/static/upload/images/goods/2019/01/14/1547452474332334.jpg', '2300.00', '1799.10', '', '1', '0.00', '', '', '1557818801', '0');
COMMIT;
-- ----------------------------
@@ -897,7 +897,7 @@ CREATE TABLE `s_payment` (
-- Records of `s_payment`
-- ----------------------------
BEGIN;
-INSERT INTO `s_payment` VALUES ('1', '现金支付', 'CashPayment', '', '0.0.1', '不限', '现金方式支付货款', 'Devil', 'http://shopxo.net/', '', '', '[\"pc\",\"h5\",\"app\",\"alipay\",\"weixin\",\"baidu\"]', '1', '1', '0', '1554966430', '1554966433'), ('2', '微信', 'Weixin', '', '0.0.1', '不限', '适用微信web/h5(非微信环境)/小程序,即时到帐支付方式,买家的交易资金直接打入卖家账户,快速回笼交易资金。 立即申请', 'Devil', 'http://shopxo.net/', '[{\"element\":\"input\",\"type\":\"text\",\"default\":\"\",\"name\":\"appid\",\"placeholder\":\"\\u516c\\u4f17\\u53f7ID\",\"title\":\"\\u516c\\u4f17\\u53f7ID (\\u7528\\u4e8eweb\\/h5)\",\"is_required\":0,\"message\":\"\\u8bf7\\u586b\\u5199\\u5fae\\u4fe1\\u5206\\u914d\\u7684\\u516c\\u4f17\\u53f7ID\"},{\"element\":\"input\",\"type\":\"text\",\"default\":\"\",\"name\":\"mini_appid\",\"placeholder\":\"\\u5c0f\\u7a0b\\u5e8fID\",\"title\":\"\\u5c0f\\u7a0b\\u5e8fID\",\"is_required\":0,\"message\":\"\\u8bf7\\u586b\\u5199\\u5fae\\u4fe1\\u5206\\u914d\\u7684\\u5c0f\\u7a0b\\u5e8fID\"},{\"element\":\"input\",\"type\":\"text\",\"default\":\"\",\"name\":\"mch_id\",\"placeholder\":\"\\u5fae\\u4fe1\\u652f\\u4ed8\\u5546\\u6237\\u53f7\",\"title\":\"\\u5fae\\u4fe1\\u652f\\u4ed8\\u5546\\u6237\\u53f7\",\"is_required\":0,\"message\":\"\\u8bf7\\u586b\\u5199\\u5fae\\u4fe1\\u652f\\u4ed8\\u5206\\u914d\\u7684\\u5546\\u6237\\u53f7\"},{\"element\":\"input\",\"type\":\"text\",\"default\":\"\",\"name\":\"key\",\"placeholder\":\"\\u5bc6\\u94a5\",\"title\":\"\\u5bc6\\u94a5\",\"is_required\":0,\"message\":\"\\u8bf7\\u586b\\u5199\\u5bc6\\u94a5\"}]', '{\"appid\":\"wx1ce7a168ab0012c5\",\"mini_appid\":\"\",\"mch_id\":\"1274838501\",\"key\":\"cc9d97baeb4aa9357034252087cbbecc\"}', '[\"pc\",\"h5\",\"weixin\"]', '1', '1', '0', '1555491043', '1555491074'), ('3', '支付宝', 'Alipay', '', '0.0.2', '不限', '2.0版本,适用PC+H5,即时到帐支付方式,买家的交易资金直接打入卖家支付宝账户,快速回笼交易资金。 立即申请', 'Devil', 'http://shopxo.net/', '[{\"element\":\"input\",\"type\":\"text\",\"default\":\"\",\"name\":\"appid\",\"placeholder\":\"\\u5e94\\u7528ID\",\"title\":\"\\u5e94\\u7528ID\",\"is_required\":0,\"message\":\"\\u8bf7\\u586b\\u5199\\u5e94\\u7528ID\"},{\"element\":\"textarea\",\"name\":\"rsa_public\",\"placeholder\":\"\\u5e94\\u7528\\u516c\\u94a5\",\"title\":\"\\u5e94\\u7528\\u516c\\u94a5\",\"is_required\":0,\"rows\":6,\"message\":\"\\u8bf7\\u586b\\u5199\\u5e94\\u7528\\u516c\\u94a5\"},{\"element\":\"textarea\",\"name\":\"rsa_private\",\"placeholder\":\"\\u5e94\\u7528\\u79c1\\u94a5\",\"title\":\"\\u5e94\\u7528\\u79c1\\u94a5\",\"is_required\":0,\"rows\":6,\"message\":\"\\u8bf7\\u586b\\u5199\\u5e94\\u7528\\u79c1\\u94a5\"},{\"element\":\"textarea\",\"name\":\"out_rsa_public\",\"placeholder\":\"\\u652f\\u4ed8\\u5b9d\\u516c\\u94a5\",\"title\":\"\\u652f\\u4ed8\\u5b9d\\u516c\\u94a5\",\"is_required\":0,\"rows\":6,\"message\":\"\\u8bf7\\u586b\\u5199\\u652f\\u4ed8\\u5b9d\\u516c\\u94a5\"}]', '{\"appid\":\"2019031463536637\",\"rsa_public\":\"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuxAXbZitfaALDaevrWVITveMu2fh3L8t3p\\/5WGPNEVOqCnL3v8EeYZWOLSuBHhpJaLb7Q3HrPWynzpcJ2C17+DxCVS3Js8J\\/iAgiJGJB4f8wZuPBwqKncGXdrAtN6EYp3H9K1IQeCmGN9di4Ht7igDDREnVWrUIc1Q6O64KDg8YLhWaTf2FMFvdPKiH9tijIZuvtYxxOUkHmgG6N7+IIvKPLdYde0dt\\/eTy6L1wbXSWoStfmFYd38vywt51N6AlChh\\/XAQmUGYTq1sW+PFXg2MrDyyWIEZxGb1dINhlMgXMqxTropo31kXa09vUffNvPWVmR38iT9lY+n6ZWSVzH3QIDAQAB\",\"rsa_private\":\"MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQC7EBdtmK19oAsNp6+tZUhO94y7Z+Hcvy3en\\/lYY80RU6oKcve\\/wR5hlY4tK4EeGklotvtDces9bKfOlwnYLXv4PEJVLcmzwn+ICCIkYkHh\\/zBm48HCoqdwZd2sC03oRincf0rUhB4KYY312Lge3uKAMNESdVatQhzVDo7rgoODxguFZpN\\/YUwW908qIf22KMhm6+1jHE5SQeaAbo3v4gi8o8t1h17R2395PLovXBtdJahK1+YVh3fy\\/LC3nU3oCUKGH9cBCZQZhOrWxb48VeDYysPLJYgRnEZvV0g2GUyBcyrFOuimjfWRdrT29R98289ZWZHfyJP2Vj6fplZJXMfdAgMBAAECggEAXXHCYkscj169ZsrXZUTtBBWBRbS1DTKrVUSQqGjibb9fd+zKeg2cgZ7V8RaEX2c+OIL\\/rUdg\\/cQjZ33nuwetn+lqMWa4FYYZcvitJYO36Y8yvJMVnYbnIayhOWpENr2l97HWzaZZ41GsOp1SDInGl8bLCe93pwEZqgyltFv0GoSfNu3trFFxPZgZJalV0t5M7+RchutkHskwrwI9BdnCJs38lh08jHHppQdkgcpyCiCdu\\/b4f+n9z97Op5Va8WY1M+wwqRk76Ias8mqwJXT\\/+t\\/sXhqkMv1ylAb89+b3rgiOU7KlZMpIAercW\\/ZRojnDjpY9ViaCxwWPwb\\/VkPrDgQKBgQDkDuie0DAIDP5C74dPj\\/Z0mapsU9bKlcgC+nowEUaEO7A9cwMVFal0x9p7BKIJsV2b6d1qJGP7rM9YtRMldJQmuxPcHOKPcZR8pGLqFYT2QGKGurohb\\/o+btGda\\/SGwJfi6jwQUF0AE+1k+Dj9P3hDxHgkj6ZMkHEBtqUj520VTQKBgQDR+1rPPex8zTQgl9uSY0hlXPyYEhpXicNhzyet1Su+TV8wdGNUr2YeuDHEu6oiRocBaT8DEwpy9EToe56EK3Ht2AQ76NBSUp9EOl1twocebM42etJSJZGpB1AgP+R\\/hmUbcBPXEwXdy5XeYnYmpVUcoizzKrnRDxg3TRF3kIX00QKBgGc49EMFmefa8a6cOdNiJrvp3YBAhkSVfL0UX\\/+nohIx7fgyOV\\/uuQ9ZceMiWrEmbWcneAcVx4dfVU4iTzMxy+in3jpPfKBOWVX9FaQ77z2CMNYoaBzAUTS29ftZpIjlXRngySTdKurhGh8MVscRVj7eCz8JIc0fx3ZuE9rnYbE1AoGAJoqJL3LBPmL3x2e4IJVii2BW6J6iASFDIGfCc7Cl18chyqYCOV\\/8UXUjhWWgo6voScUEkM7k4xacs0NFZCMJRUuZ81kXK5UIsKA519SVsmrsKqm+gt9sbebuuQyhJxsG4dNfgOF3+S7N8kSGRS+hgKDvuS5Fbu7jVfsqUpTPUZECgYAcbq3mqWwExY2Kn0I660OqOFk620pGsSY7gECUQintCZioYemzC1TN9pM6fKnOIYriV4Ou7iswhEfVX+5bwMjH2ujmu8KDdpkpdhRoFCw3GUn\\/PDelQrptaKkKXnOIJe\\/R8m+TUxYCtECTlKlYS4hTst7YhTDz5sQHcXRtveATZQ==\",\"out_rsa_public\":\"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnYFb57nryfdHO2Z9M8mEx5Q6Tn988EGAI2oAYizPB9NSWE1Rs4LI8WqoGTA\\/jVwey5PTiRgWcFrdGhM+zFgOy1J5RaSrJ6V+0EFb4zKrjH4qkifneF\\/DPYN4dWZHFpGBEv8o41X1+8KW+3OtrqMIgluB8BsE4\\/3BJC28err5I0lNMk+R9NPG\\/YEqjM3+J3o1W9iuEF5+vAWODFmeQY15RuaCKTGjlb1HpeKGbyOKKSPY8etwtFeYA1YG1ZrgdNm41\\/y9uMqwSTUz6E4QANtLAlBC31chVTFb2PleXYa8ScAt8b0W1EY5rDbA0\\/+GYoYIOgdezLEzZKt0mpVBpSBfPQIDAQAB\"}', '[\"pc\",\"h5\"]', '1', '1', '0', '1557224365', '1557224411');
+INSERT INTO `s_payment` VALUES ('1', '现金支付', 'CashPayment', '', '0.0.1', '不限', '现金方式支付货款', 'Devil', 'http://shopxo.net/', '', '', '[\"pc\",\"h5\",\"app\",\"alipay\",\"weixin\",\"baidu\"]', '1', '1', '0', '1554966430', '1554966433'), ('2', '微信', 'Weixin', '', '0.0.1', '不限', '适用微信web/h5(非微信环境)/小程序,即时到帐支付方式,买家的交易资金直接打入卖家账户,快速回笼交易资金。 立即申请', 'Devil', 'http://shopxo.net/', '[{\"element\":\"input\",\"type\":\"text\",\"default\":\"\",\"name\":\"appid\",\"placeholder\":\"\\u516c\\u4f17\\u53f7ID\",\"title\":\"\\u516c\\u4f17\\u53f7ID (\\u7528\\u4e8eweb\\/h5)\",\"is_required\":0,\"message\":\"\\u8bf7\\u586b\\u5199\\u5fae\\u4fe1\\u5206\\u914d\\u7684\\u516c\\u4f17\\u53f7ID\"},{\"element\":\"input\",\"type\":\"text\",\"default\":\"\",\"name\":\"mini_appid\",\"placeholder\":\"\\u5c0f\\u7a0b\\u5e8fID\",\"title\":\"\\u5c0f\\u7a0b\\u5e8fID\",\"is_required\":0,\"message\":\"\\u8bf7\\u586b\\u5199\\u5fae\\u4fe1\\u5206\\u914d\\u7684\\u5c0f\\u7a0b\\u5e8fID\"},{\"element\":\"input\",\"type\":\"text\",\"default\":\"\",\"name\":\"mch_id\",\"placeholder\":\"\\u5fae\\u4fe1\\u652f\\u4ed8\\u5546\\u6237\\u53f7\",\"title\":\"\\u5fae\\u4fe1\\u652f\\u4ed8\\u5546\\u6237\\u53f7\",\"is_required\":0,\"message\":\"\\u8bf7\\u586b\\u5199\\u5fae\\u4fe1\\u652f\\u4ed8\\u5206\\u914d\\u7684\\u5546\\u6237\\u53f7\"},{\"element\":\"input\",\"type\":\"text\",\"default\":\"\",\"name\":\"key\",\"placeholder\":\"\\u5bc6\\u94a5\",\"title\":\"\\u5bc6\\u94a5\",\"is_required\":0,\"message\":\"\\u8bf7\\u586b\\u5199\\u5bc6\\u94a5\"}]', '{\"appid\":\"wxf5f83b5f3d0591ad\",\"mini_appid\":\"wx0a2012ebad94beff\",\"mch_id\":\"1491834862\",\"key\":\"d3169008589dff3c111083da4a59255f\"}', '[\"pc\",\"h5\",\"weixin\"]', '1', '1', '0', '1555491043', '1557818054'), ('3', '支付宝', 'Alipay', '', '0.0.2', '不限', '2.0版本,适用PC+H5,即时到帐支付方式,买家的交易资金直接打入卖家支付宝账户,快速回笼交易资金。 立即申请', 'Devil', 'http://shopxo.net/', '[{\"element\":\"input\",\"type\":\"text\",\"default\":\"\",\"name\":\"appid\",\"placeholder\":\"\\u5e94\\u7528ID\",\"title\":\"\\u5e94\\u7528ID\",\"is_required\":0,\"message\":\"\\u8bf7\\u586b\\u5199\\u5e94\\u7528ID\"},{\"element\":\"textarea\",\"name\":\"rsa_public\",\"placeholder\":\"\\u5e94\\u7528\\u516c\\u94a5\",\"title\":\"\\u5e94\\u7528\\u516c\\u94a5\",\"is_required\":0,\"rows\":6,\"message\":\"\\u8bf7\\u586b\\u5199\\u5e94\\u7528\\u516c\\u94a5\"},{\"element\":\"textarea\",\"name\":\"rsa_private\",\"placeholder\":\"\\u5e94\\u7528\\u79c1\\u94a5\",\"title\":\"\\u5e94\\u7528\\u79c1\\u94a5\",\"is_required\":0,\"rows\":6,\"message\":\"\\u8bf7\\u586b\\u5199\\u5e94\\u7528\\u79c1\\u94a5\"},{\"element\":\"textarea\",\"name\":\"out_rsa_public\",\"placeholder\":\"\\u652f\\u4ed8\\u5b9d\\u516c\\u94a5\",\"title\":\"\\u652f\\u4ed8\\u5b9d\\u516c\\u94a5\",\"is_required\":0,\"rows\":6,\"message\":\"\\u8bf7\\u586b\\u5199\\u652f\\u4ed8\\u5b9d\\u516c\\u94a5\"}]', '{\"appid\":\"2019031463536637\",\"rsa_public\":\"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuxAXbZitfaALDaevrWVITveMu2fh3L8t3p\\/5WGPNEVOqCnL3v8EeYZWOLSuBHhpJaLb7Q3HrPWynzpcJ2C17+DxCVS3Js8J\\/iAgiJGJB4f8wZuPBwqKncGXdrAtN6EYp3H9K1IQeCmGN9di4Ht7igDDREnVWrUIc1Q6O64KDg8YLhWaTf2FMFvdPKiH9tijIZuvtYxxOUkHmgG6N7+IIvKPLdYde0dt\\/eTy6L1wbXSWoStfmFYd38vywt51N6AlChh\\/XAQmUGYTq1sW+PFXg2MrDyyWIEZxGb1dINhlMgXMqxTropo31kXa09vUffNvPWVmR38iT9lY+n6ZWSVzH3QIDAQAB\",\"rsa_private\":\"MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQC7EBdtmK19oAsNp6+tZUhO94y7Z+Hcvy3en\\/lYY80RU6oKcve\\/wR5hlY4tK4EeGklotvtDces9bKfOlwnYLXv4PEJVLcmzwn+ICCIkYkHh\\/zBm48HCoqdwZd2sC03oRincf0rUhB4KYY312Lge3uKAMNESdVatQhzVDo7rgoODxguFZpN\\/YUwW908qIf22KMhm6+1jHE5SQeaAbo3v4gi8o8t1h17R2395PLovXBtdJahK1+YVh3fy\\/LC3nU3oCUKGH9cBCZQZhOrWxb48VeDYysPLJYgRnEZvV0g2GUyBcyrFOuimjfWRdrT29R98289ZWZHfyJP2Vj6fplZJXMfdAgMBAAECggEAXXHCYkscj169ZsrXZUTtBBWBRbS1DTKrVUSQqGjibb9fd+zKeg2cgZ7V8RaEX2c+OIL\\/rUdg\\/cQjZ33nuwetn+lqMWa4FYYZcvitJYO36Y8yvJMVnYbnIayhOWpENr2l97HWzaZZ41GsOp1SDInGl8bLCe93pwEZqgyltFv0GoSfNu3trFFxPZgZJalV0t5M7+RchutkHskwrwI9BdnCJs38lh08jHHppQdkgcpyCiCdu\\/b4f+n9z97Op5Va8WY1M+wwqRk76Ias8mqwJXT\\/+t\\/sXhqkMv1ylAb89+b3rgiOU7KlZMpIAercW\\/ZRojnDjpY9ViaCxwWPwb\\/VkPrDgQKBgQDkDuie0DAIDP5C74dPj\\/Z0mapsU9bKlcgC+nowEUaEO7A9cwMVFal0x9p7BKIJsV2b6d1qJGP7rM9YtRMldJQmuxPcHOKPcZR8pGLqFYT2QGKGurohb\\/o+btGda\\/SGwJfi6jwQUF0AE+1k+Dj9P3hDxHgkj6ZMkHEBtqUj520VTQKBgQDR+1rPPex8zTQgl9uSY0hlXPyYEhpXicNhzyet1Su+TV8wdGNUr2YeuDHEu6oiRocBaT8DEwpy9EToe56EK3Ht2AQ76NBSUp9EOl1twocebM42etJSJZGpB1AgP+R\\/hmUbcBPXEwXdy5XeYnYmpVUcoizzKrnRDxg3TRF3kIX00QKBgGc49EMFmefa8a6cOdNiJrvp3YBAhkSVfL0UX\\/+nohIx7fgyOV\\/uuQ9ZceMiWrEmbWcneAcVx4dfVU4iTzMxy+in3jpPfKBOWVX9FaQ77z2CMNYoaBzAUTS29ftZpIjlXRngySTdKurhGh8MVscRVj7eCz8JIc0fx3ZuE9rnYbE1AoGAJoqJL3LBPmL3x2e4IJVii2BW6J6iASFDIGfCc7Cl18chyqYCOV\\/8UXUjhWWgo6voScUEkM7k4xacs0NFZCMJRUuZ81kXK5UIsKA519SVsmrsKqm+gt9sbebuuQyhJxsG4dNfgOF3+S7N8kSGRS+hgKDvuS5Fbu7jVfsqUpTPUZECgYAcbq3mqWwExY2Kn0I660OqOFk620pGsSY7gECUQintCZioYemzC1TN9pM6fKnOIYriV4Ou7iswhEfVX+5bwMjH2ujmu8KDdpkpdhRoFCw3GUn\\/PDelQrptaKkKXnOIJe\\/R8m+TUxYCtECTlKlYS4hTst7YhTDz5sQHcXRtveATZQ==\",\"out_rsa_public\":\"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnYFb57nryfdHO2Z9M8mEx5Q6Tn988EGAI2oAYizPB9NSWE1Rs4LI8WqoGTA\\/jVwey5PTiRgWcFrdGhM+zFgOy1J5RaSrJ6V+0EFb4zKrjH4qkifneF\\/DPYN4dWZHFpGBEv8o41X1+8KW+3OtrqMIgluB8BsE4\\/3BJC28err5I0lNMk+R9NPG\\/YEqjM3+J3o1W9iuEF5+vAWODFmeQY15RuaCKTGjlb1HpeKGbyOKKSPY8etwtFeYA1YG1ZrgdNm41\\/y9uMqwSTUz6E4QANtLAlBC31chVTFb2PleXYa8ScAt8b0W1EY5rDbA0\\/+GYoYIOgdezLEzZKt0mpVBpSBfPQIDAQAB\"}', '[\"pc\",\"h5\"]', '1', '1', '0', '1557224365', '1557224411');
COMMIT;
-- ----------------------------
@@ -1397,13 +1397,13 @@ CREATE TABLE `s_user` (
KEY `weixin_openid` (`weixin_openid`),
KEY `mobile` (`mobile`),
KEY `username` (`username`)
-) ENGINE=InnoDB AUTO_INCREMENT=92 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='用户';
+) ENGINE=InnoDB AUTO_INCREMENT=93 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='用户';
-- ----------------------------
-- Records of `s_user`
-- ----------------------------
BEGIN;
-INSERT INTO `s_user` VALUES ('77', '', '', '', '0', '776202', '09b2f04a4fbbe3a229c1a2a9610b9457', '', '龚哥哥', '13250814883', '', '2', 'https://tfs.alipayobjects.com/images/partner/T10d8lXm4dXXXXXXXX', '上海', '上海市', '1540915200', '', '1103', '0', '0', '0', '0', '1554190351'), ('90', '2088502175420842', '', '', '0', '077926', 'dc24a73815620d90b3245d826b8639f5', '', '魔鬼', '17688888888', 'fuxiang.gong@qq.com', '2', '', '上海', '上海市', '666201600', '', '197', '0', '0', '0', '1539167253', '1557725294'), ('91', '', '', '', '0', '237515', '605a4ec1509a4034ee6250882fb57691', '游客-xQyKJJ', '游客-xQyKJJ', '', '', '0', '', '', '', '0', '', '0', '0', '0', '0', '1556075950', '1556075950');
+INSERT INTO `s_user` VALUES ('77', '', '', '', '0', '776202', '09b2f04a4fbbe3a229c1a2a9610b9457', '', '龚哥哥', '13250814883', '', '2', 'https://tfs.alipayobjects.com/images/partner/T10d8lXm4dXXXXXXXX', '上海', '上海市', '1540915200', '', '1103', '0', '0', '0', '0', '1554190351'), ('90', '2088502175420842', '', '', '0', '077926', 'dc24a73815620d90b3245d826b8639f5', '', '魔鬼', '17688888888', 'fuxiang.gong@qq.com', '2', '', '上海', '上海市', '666201600', '', '197', '0', '0', '0', '1539167253', '1557725294'), ('91', '', '', '', '0', '237515', '605a4ec1509a4034ee6250882fb57691', '游客-xQyKJJ', '游客-xQyKJJ', '', '', '0', '', '', '', '0', '', '0', '0', '0', '0', '1556075950', '1556075950'), ('92', '', '', '', '0', '899500', 'f899ef22a1de3c3cc733d70499acaba8', '游客-3ussmC', '游客-3ussmC', '', '', '0', '', '', '', '0', '', '0', '0', '0', '0', '1557818767', '1557818767');
COMMIT;
-- ----------------------------
@@ -1429,13 +1429,13 @@ CREATE TABLE `s_user_address` (
PRIMARY KEY (`id`),
KEY `user_id` (`user_id`),
KEY `is_enable` (`is_delete_time`)
-) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='用户地址';
+) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='用户地址';
-- ----------------------------
-- Records of `s_user_address`
-- ----------------------------
BEGIN;
-INSERT INTO `s_user_address` VALUES ('1', '90', '', 'test', '13222333333', '3', '74', '1149', '23232323', '0.0000000000', '0.0000000000', '0', '0', '1554966412', '1554966418');
+INSERT INTO `s_user_address` VALUES ('1', '90', '', 'test', '13222333333', '3', '74', '1149', '23232323', '0.0000000000', '0.0000000000', '0', '0', '1554966412', '1554966418'), ('2', '92', '', '111', '021-88888888', '1', '40', '592', '妙川路1111号华川家园11', '0.0000000000', '0.0000000000', '0', '0', '1557818795', '0');
COMMIT;
-- ----------------------------
diff --git a/public/static/index/default/js/goods.js b/public/static/index/default/js/goods.js
index 0404e4b1067ee20aae8cfacef155e72659b71592..3be6704e7e666e3c2da3b103a7b5801aedbd462b 100755
--- a/public/static/index/default/js/goods.js
+++ b/public/static/index/default/js/goods.js
@@ -55,18 +55,9 @@ function GoodsCommentsHtml(page)
html += ''+result.data.data[i]['content']+'
';
// 规格
- if((result.data.data[i]['spec'] || null) != null)
+ if((result.data.data[i]['msg'] || null) != null)
{
- var spec_string = '';
- for(var s in result.data.data[i]['spec'])
- {
- if(s > 0)
- {
- spec_string += ' | ';
- }
- spec_string += result.data.data[i]['spec'][s]['type']+':'+result.data.data[i]['spec'][s]['value'];
- }
- html += '';
+ html += '';
}
// 回复