From 71a7c9b778919d65200613b807f96938a7f4ffdf Mon Sep 17 00:00:00 2001 From: gongfuxiang <2499232802@qq.com> Date: Wed, 15 May 2019 01:09:10 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=84=E4=BB=B7=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/controller/Goodscomments.php | 14 +- .../view/default/goodscomments/index.html | 118 +++++++++---- application/index/controller/Goods.php | 11 +- application/index/controller/Order.php | 2 +- application/service/GoodsCommentsService.php | 163 +++++++++++++++++- config/shopxo.sql | 91 ++++++++-- public/static/admin/default/css/answer.css | 25 +-- .../admin/default/css/goodscomments.css | 50 ++++++ 8 files changed, 389 insertions(+), 85 deletions(-) create mode 100644 public/static/admin/default/css/goodscomments.css diff --git a/application/admin/controller/Goodscomments.php b/application/admin/controller/Goodscomments.php index 04ef61f40..2dbbb3fe5 100644 --- a/application/admin/controller/Goodscomments.php +++ b/application/admin/controller/Goodscomments.php @@ -67,7 +67,7 @@ class Goodscomments extends Common 'total' => $total, 'where' => $params, 'page' => isset($params['page']) ? intval($params['page']) : 1, - 'url' => MyUrl('admin/answer/index'), + 'url' => MyUrl('admin/goodscomments/index'), ); $page = new \base\Page($page_params); $this->assign('page_html', $page->GetPageHtml()); @@ -82,11 +82,10 @@ class Goodscomments extends Common $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('business_type_list', GoodsCommentsService::$business_type_list); // 参数 $this->assign('params', $params); @@ -184,8 +183,7 @@ class Goodscomments extends Common // 开始处理 $params = input(); - $params['user_type'] = 'admin'; - return GoodsCommentsService::AnswerDelete($params); + return GoodsCommentsService::GoodsCommentsDelete($params); } /** @@ -205,7 +203,7 @@ class Goodscomments extends Common // 开始处理 $params = input(); - return GoodsCommentsService::AnswerReply($params); + return GoodsCommentsService::GoodsCommentsReply($params); } /** @@ -225,7 +223,7 @@ class Goodscomments extends Common // 开始处理 $params = input(); - return GoodsCommentsService::AnswerStatusUpdate($params); + return GoodsCommentsService::GoodsCommentsStatusUpdate($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 index 82cee7e58..7932b6c61 100644 --- a/application/admin/view/default/goodscomments/index.html +++ b/application/admin/view/default/goodscomments/index.html @@ -47,6 +47,28 @@ + + + 匿名: + + + + 类型: + + + 时间: @@ -68,24 +90,17 @@ - -
- 新增 -
- - + - - + + - - - + @@ -94,6 +109,25 @@ {{if !empty($data_list)}} {{foreach $data_list as $v}} + - - + - - {{/foreach}} diff --git a/application/index/controller/Goods.php b/application/index/controller/Goods.php index ac52d388b..392adc0a2 100755 --- a/application/index/controller/Goods.php +++ b/application/index/controller/Goods.php @@ -49,8 +49,8 @@ class Goods extends Common $goods_id = input('id'); $params = [ 'where' => [ - 'id' => $goods_id, - 'is_delete_time' => 0, + 'id' => $goods_id, + 'is_delete_time' => 0, ], 'is_photo' => true, 'is_spec' => true, @@ -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'] = GoodsCommentsService::GoodsCommentsTotal(['goods_id'=>$goods_id]); + $ret['data'][0]['comments_count'] = GoodsCommentsService::GoodsCommentsTotal(['goods_id'=>$goods_id, 'is_show'=>1]); // 商品收藏总数 $ret['data'][0]['favor_count'] = GoodsService::GoodsFavorTotal(['goods_id'=>$goods_id]); @@ -279,7 +279,10 @@ class Goods extends Common $page = max(1, isset($params['page']) ? intval($params['page']) : 1); // 条件 - $where = ['goods_id'=>$params['goods_id']]; + $where = [ + 'goods_id' => $params['goods_id'], + 'is_show' => 1, + ]; // 获取总数 $total = GoodsCommentsService::GoodsCommentsTotal($where); diff --git a/application/index/controller/Order.php b/application/index/controller/Order.php index d2fdf47ed..bfff49510 100755 --- a/application/index/controller/Order.php +++ b/application/index/controller/Order.php @@ -191,7 +191,7 @@ class Order extends Common { $params = input('post.'); $params['user'] = $this->user; - $params['business_type'] = '订单'; + $params['business_type'] = 'order'; return GoodsCommentsService::Comments($params); } else { $this->assign('msg', '非法访问'); diff --git a/application/service/GoodsCommentsService.php b/application/service/GoodsCommentsService.php index 10e27159a..17c771837 100644 --- a/application/service/GoodsCommentsService.php +++ b/application/service/GoodsCommentsService.php @@ -12,6 +12,7 @@ namespace app\service; use think\Db; use app\service\UserService; +use app\service\GoodsService; /** * 商品评论服务层 @@ -22,6 +23,11 @@ use app\service\UserService; */ class GoodsCommentsService { + // 业务类型 + public static $business_type_list = [ + 'order' => '订单', + ]; + /** * 订单评价 * @author Devil @@ -173,7 +179,19 @@ class GoodsCommentsService $v['user'] = $user; } + // 获取商品信息 + $goods_params = [ + 'where' => [ + 'id' => $v['goods_id'], + 'is_delete_time' => 0, + ], + 'field' => 'id,title,images,price,min_price', + ]; + $ret = GoodsService::GoodsList($goods_params); + $v['goods'] = isset($ret['data'][0]) ? $ret['data'][0] : []; + // 业务类型 + $v['business_type_text'] = array_key_exists($v['business_type'], self::$business_type_list) ? self::$business_type_list[$v['business_type']] : null; $msg = null; switch($v['business_type']) { @@ -186,16 +204,22 @@ class GoodsCommentsService // 是否 $v['is_reply_text'] = isset($common_is_text_list[$v['is_reply']]) ? $common_is_text_list[$v['is_reply']]['name'] : ''; $v['is_anonymous_text'] = isset($common_is_text_list[$v['is_anonymous']]) ? $common_is_text_list[$v['is_anonymous']]['name'] : ''; + $v['is_show_text'] = isset($common_is_text_list[$v['is_show']]) ? $common_is_text_list[$v['is_show']]['name'] : ''; + + // 回复时间 + $v['reply_time_time'] = empty($v['reply_time']) ? null : date('Y-m-d H:i:s', $v['reply_time']); + $v['reply_time_date'] = empty($v['reply_time']) ? null : date('Y-m-d', $v['reply_time']); // 评论时间 $v['add_time_time'] = date('Y-m-d H:i:s', $v['add_time']); $v['add_time_date'] = date('Y-m-d', $v['add_time']); - // 回复时间 - $v['reply_time_time'] = empty($v['reply_time']) ? null : date('Y-m-d H:i:s', $v['reply_time']); - $v['reply_time_date'] = empty($v['reply_time']) ? null : date('Y-m-d', $v['reply_time']); + // 更新时间 + $v['upd_time_time'] = empty($v['upd_time']) ? null : date('Y-m-d H:i:s', $v['upd_time']); + $v['upd_time_date'] = empty($v['upd_time']) ? null : date('Y-m-d', $v['upd_time']); } } + //print_r($data); return DataReturn('处理成功', 0, $data); } @@ -292,6 +316,10 @@ class GoodsCommentsService if(isset($params['is_more']) && $params['is_more'] == 1) { // 等值 + if(isset($params['is_show']) && $params['is_show'] > -1) + { + $where[] = ['is_show', '=', intval($params['is_show'])]; + } if(isset($params['is_anonymous']) && $params['is_anonymous'] > -1) { $where[] = ['is_anonymous', '=', intval($params['is_anonymous'])]; @@ -302,7 +330,7 @@ class GoodsCommentsService } if(!empty($params['business_type'])) { - $where[] = ['business_type', '='. $params['business_type']]; + $where[] = ['business_type', '=', $params['business_type']]; } @@ -318,5 +346,132 @@ class GoodsCommentsService return $where; } + + /** + * 删除 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2018-09-30 + * @desc description + * @param [array] $params [输入参数] + */ + public static function GoodsCommentsDelete($params = []) + { + // 请求参数 + $p = [ + [ + 'checked_type' => 'empty', + 'key_name' => 'id', + 'error_msg' => '操作id有误', + ], + ]; + $ret = ParamsChecked($params, $p); + if($ret !== true) + { + return DataReturn($ret, -1); + } + + // 开始删除 + if(Db::name('GoodsComments')->where(['id'=>$comments_id])->delete()) + { + return DataReturn('删除成功', 0); + } + return DataReturn('删除失败或数据不存在', -100); + } + + /** + * 回复 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2018-12-18 + * @desc description + * @param [array] $params [输入参数] + */ + public static function GoodsCommentsReply($params = []) + { + // 请求参数 + $p = [ + [ + 'checked_type' => 'empty', + 'key_name' => 'id', + 'error_msg' => '操作id有误', + ], + [ + 'checked_type' => 'empty', + 'key_name' => 'reply', + 'error_msg' => '回复内容不能为空', + ], + [ + 'checked_type' => 'length', + 'key_name' => 'reply', + 'checked_data' => '1,230', + 'error_msg' => '回复内容格式 1~230 个字符', + ], + ]; + $ret = ParamsChecked($params, $p); + if($ret !== true) + { + return DataReturn($ret, -1); + } + + // 评论是否存在 + $comments_id = Db::name('GoodsComments')->field('id')->find(intval($params['id'])); + if(empty($comments_id)) + { + return DataReturn('资源不存在或已被删除', -2); + } + // 更新问答 + $data = [ + 'reply' => $params['reply'], + 'is_reply' => 1, + 'reply_time' => time(), + 'upd_time' => time() + ]; + if(Db::name('GoodsComments')->where(['id'=>$comments_id])->update($data)) + { + return DataReturn('操作成功'); + } + return DataReturn('操作失败', -100); + } + + /** + * 状态更新 + * @author Devil + * @blog http://gong.gg/ + * @version 0.0.1 + * @datetime 2016-12-06T21:31:53+0800 + * @param [array] $params [输入参数] + */ + public static function GoodsCommentsStatusUpdate($params = []) + { + // 请求参数 + $p = [ + [ + 'checked_type' => 'empty', + 'key_name' => 'id', + 'error_msg' => '操作id有误', + ], + [ + 'checked_type' => 'in', + 'key_name' => 'state', + 'checked_data' => [0,1], + 'error_msg' => '状态有误', + ], + ]; + $ret = ParamsChecked($params, $p); + if($ret !== true) + { + return DataReturn($ret, -1); + } + + // 数据更新 + if(Db::name('GoodsComments')->where(['id'=>intval($params['id'])])->update(['is_show'=>intval($params['state'])])) + { + return DataReturn('编辑成功'); + } + return DataReturn('编辑失败或数据未改变', -100); + } } ?> \ No newline at end of file diff --git a/config/shopxo.sql b/config/shopxo.sql index 24934e4ac..9d56fd99b 100644 --- a/config/shopxo.sql +++ b/config/shopxo.sql @@ -1,20 +1,18 @@ /* - Navicat Premium Data Transfer + Navicat MySQL Data Transfer Source Server : 本机 - Source Server Type : MySQL - Source Server Version : 50722 + Source Server Version : 50716 Source Host : localhost - Source Database : shopxo_test + Source Database : shopxo_ttt - Target Server Type : MySQL - Target Server Version : 50722 + Target Server Version : 50716 File Encoding : utf-8 - Date: 05/14/2019 18:38:41 PM + Date: 05/15/2019 01:08:54 AM */ -SET NAMES utf8mb4; +SET NAMES utf8; SET FOREIGN_KEY_CHECKS = 0; -- ---------------------------- @@ -368,7 +366,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', '


', '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', '


', '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', '


', '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', '


', '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', '


', '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寸) 



', '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', '


', '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', '


', '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', '


', '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号~下摆蕾丝拼接不会很平整的哦~

蕾丝花是手工修剪出来的,每件都有不同和不规则的哦,有小线头和节点是正常现象哦~请亲们谅解哦~


', '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号哦~

大圆领,每个人的身材曲线不同,领口不会很平的哦,请谅解~

肩膀那有暗扣哦,可以很好的隐藏了内衣的肩带哦~袖子那略硬哦~



', '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', '

\"d-1.jpg\"/

\"d-2.jpg\"/

', '3', '0', '401', '', '/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', '


', '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', '


', '2', '1', '225', '/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', '


', '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', '


', '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', '


', '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寸) 



', '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', '


', '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', '


', '2', '0', '32', '', '/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', '


', '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号~下摆蕾丝拼接不会很平整的哦~

蕾丝花是手工修剪出来的,每件都有不同和不规则的哦,有小线头和节点是正常现象哦~请亲们谅解哦~


', '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号哦~

大圆领,每个人的身材曲线不同,领口不会很平的哦,请谅解~

肩膀那有暗扣哦,可以很好的隐藏了内衣的肩带哦~袖子那略硬哦~



', '4', '1', '92', '', '/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', '

\"d-1.jpg\"/

\"d-2.jpg\"/

', '3', '0', '401', '', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '连衣裙,裙子', '夏季连衣裙,瘦身裙子', '0', '1547456230', '1557740037'); COMMIT; -- ---------------------------- @@ -388,7 +386,7 @@ CREATE TABLE `s_goods_browse` ( -- 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', '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'); +INSERT INTO `s_goods_browse` VALUES ('1', '7', '91', '1554803230', '1554805470'), ('2', '11', '90', '1554966398', '1557852600'), ('3', '10', '90', '1555048568', '1556618012'), ('4', '9', '90', '1555058265', '1556156966'), ('5', '2', '90', '1555157678', '1557850206'), ('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', '1557847174'), ('14', '4', '92', '1557818775', '1557818778'), ('15', '7', '92', '1557826700', '1557826707'), ('16', '2', '92', '1557828258', '1557828258'); COMMIT; -- ---------------------------- @@ -454,14 +452,16 @@ CREATE TABLE `s_goods_comments` ( `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 '业务类型名称(如订单 订单)', + `business_type` char(30) NOT NULL DEFAULT '' COMMENT '业务类型名称(如订单 order)', `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_show` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否显示(0否, 1是)', `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 '添加时间', + `upd_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间', PRIMARY KEY (`id`), KEY `user_id` (`user_id`), KEY `order_id` (`order_id`), @@ -472,7 +472,7 @@ CREATE TABLE `s_goods_comments` ( -- 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'); +INSERT INTO `s_goods_comments` VALUES ('1', '90', '0', '3', '7', 'order', '这个价格还是可以,是正品东西不错 是正品 官网都查得到的物流很快第三天就到货 掌柜态度好 宝贝到现在用的都还没问题 是国行 好评还不错,升级到12还不卡,全新未激活老婆用着目前没发现什么不好的,外表没有暇zhi。物流很快顺丰直接到的。手机速度很快,拿起来很方便,比之前的安卓手机要好,客服服务态度也很好全新未激活的好东西,物流很快,爸爸用着很满意。唯一缺点是送的手机套是6p,略微小瘦一点,瑕不掩瑜,五星好评第二次购买,挺好的,先用用看吧!服务也挺好的!快递也很快!', '很不错 运行速度:运行速度很快 电池续航:充一次电,已使用一天了。真是一款相当好的手机,手感摸着很舒服。有种爱不释手的感觉拍照效果:照片清晰度很高。', '5', '1', '0', '1', '1559741260', '1557741260', '0'), ('2', '90', '0', '3', '2', 'order', '做活动购买的手机,好便宜,真高兴,哈哈', '', '5', '1', '0', '0', '0', '1557741260', '0'), ('3', '90', '0', '3', '6', 'order', '国产手机越来越好了,好用,不贵,不卡,支持!!!', '', '4', '1', '0', '0', '0', '1557741260', '0'), ('4', '90', '0', '1', '11', 'order', '很好的衣服,推荐大家购买', '', '4', '0', '1', '0', '0', '1557742012', '0'); COMMIT; -- ---------------------------- @@ -749,6 +749,37 @@ 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'), ('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; +-- ---------------------------- +-- 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'); +COMMIT; + -- ---------------------------- -- Table structure for `s_order_detail` -- ---------------------------- @@ -967,6 +998,38 @@ BEGIN; INSERT INTO `s_plugins_answers_slide` VALUES ('1', '品牌盛宴', '/static/upload/images/plugins_answers/2019/03/07/1551940388704924.jpg', '', '1', '1', '1551865738', '1553590786'), ('2', '你想要的', '/static/upload/images/plugins_answers/2019/03/07/1551940388179648.jpg', 'https://ask.shopxo.net/article/6', '1', '3', '1551866754', '1551940526'), ('3', '爱上潮流名店', '/static/upload/images/plugins_answers/2019/03/07/1551940310193935.jpg', 'https://shopxo.net/', '1', '0', '1551940433', '1551940506'); COMMIT; +-- ---------------------------- +-- Table structure for `s_plugins_limited_time_discount_goods` +-- ---------------------------- +DROP TABLE IF EXISTS `s_plugins_limited_time_discount_goods`; +CREATE TABLE `s_plugins_limited_time_discount_goods` ( + `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增id', + `goods_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '商品id', + `plugins_discount` decimal(3,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '折扣系数 0.00~0.99', + `plugins_price` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '减金额', + `add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间', + PRIMARY KEY (`id`), + KEY `goods_id` (`goods_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='限时折扣商品 - 应用'; + +-- ---------------------------- +-- Table structure for `s_plugins_limited_time_discount_slide` +-- ---------------------------- +DROP TABLE IF EXISTS `s_plugins_limited_time_discount_slide`; +CREATE TABLE `s_plugins_limited_time_discount_slide` ( + `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增id', + `name` char(60) NOT NULL DEFAULT '' COMMENT '别名', + `images_url` char(255) NOT NULL DEFAULT '' COMMENT '图片地址', + `url` char(255) NOT NULL DEFAULT '' COMMENT 'url地址', + `is_enable` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '是否启用(0否,1是)', + `sort` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '排序', + `add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间', + `upd_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间', + PRIMARY KEY (`id`), + KEY `is_enable` (`is_enable`), + KEY `sort` (`sort`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='限时折扣轮播图 - 应用'; + -- ---------------------------- -- Table structure for `s_plugins_petscms_help` -- ---------------------------- @@ -1170,13 +1233,13 @@ CREATE TABLE `s_power` ( `icon` char(60) NOT NULL DEFAULT '' COMMENT '图标class', `add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间', PRIMARY KEY (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=355 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='权限'; +) ENGINE=InnoDB AUTO_INCREMENT=362 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='权限'; -- ---------------------------- -- Records of `s_power` -- ---------------------------- BEGIN; -INSERT INTO `s_power` VALUES ('1', '0', '权限控制', 'Power', 'Index', '2', '1', 'icon-quanxian', '1481612301'), ('4', '1', '角色管理', 'Power', 'Role', '11', '1', '', '1481639037'), ('13', '1', '权限分配', 'Power', 'Index', '21', '1', '', '1482156143'), ('15', '1', '权限添加/编辑', 'Power', 'PowerSave', '22', '0', '', '1482243750'), ('16', '1', '权限删除', 'Power', 'PowerDelete', '23', '0', '', '1482243797'), ('17', '1', '角色组添加/编辑页面', 'Power', 'RoleSaveInfo', '12', '0', '', '1482243855'), ('18', '1', '角色组添加/编辑', 'Power', 'RoleSave', '13', '0', '', '1482243888'), ('19', '1', '管理员添加/编辑页面', 'Admin', 'SaveInfo', '2', '0', '', '1482244637'), ('20', '1', '管理员添加/编辑', 'Admin', 'Save', '3', '0', '', '1482244666'), ('21', '1', '管理员删除', 'Admin', 'Delete', '4', '0', '', '1482244688'), ('22', '1', '管理员列表', 'Admin', 'Index', '1', '1', '', '1482568868'), ('23', '1', '角色删除', 'Power', 'RoleDelete', '14', '0', '', '1482569155'), ('38', '0', '商品管理', 'Goods', 'Index', '3', '1', 'icon-shangpin', '1483283430'), ('39', '38', '商品管理', 'Goods', 'Index', '1', '1', '', '1483283546'), ('41', '0', '系统设置', 'Config', 'Index', '1', '1', 'icon-peizhi', '1483362358'), ('42', '41', '配置保存', 'Config', 'Save', '10', '0', '', '1483432335'), ('57', '38', '商品添加/编辑页面', 'Goods', 'SaveInfo', '2', '0', '', '1483616439'), ('58', '38', '商品添加/编辑', 'Goods', 'Save', '3', '0', '', '1483616492'), ('59', '38', '商品删除', 'Goods', 'Delete', '4', '0', '', '1483616569'), ('81', '0', '站点配置', 'Site', 'Index', '1', '1', 'icon-zhandianpeizhi', '1486182943'), ('103', '81', '站点设置', 'Site', 'Index', '0', '1', '', '1486561470'), ('104', '81', '短信设置', 'Sms', 'Index', '10', '1', '', '1486561615'), ('105', '81', '站点设置编辑', 'Site', 'Save', '1', '0', '', '1486561780'), ('107', '81', '短信设置编辑', 'Sms', 'Save', '11', '0', '', '1486562011'), ('118', '0', '工具', 'Tool', 'Index', '30', '1', 'icon-tools', '1488108044'), ('119', '118', '缓存管理', 'Cache', 'Index', '1', '1', '', '1488108107'), ('120', '118', '站点缓存更新', 'Cache', 'StatusUpdate', '2', '0', '', '1488108235'), ('121', '118', '模板缓存更新', 'Cache', 'TemplateUpdate', '2', '0', '', '1488108390'), ('122', '118', '模块缓存更新', 'Cache', 'ModuleUpdate', '3', '0', '', '1488108436'), ('126', '0', '用户管理', 'User', 'Index', '2', '1', 'icon-yonghuguanli', '1490794162'), ('127', '126', '用户列表', 'User', 'Index', '0', '1', '', '1490794316'), ('128', '126', '用户编辑/添加页面', 'User', 'SaveInfo', '1', '0', '', '1490794458'), ('129', '126', '用户添加/编辑', 'User', 'Save', '2', '0', '', '1490794510'), ('130', '126', '用户删除', 'User', 'Delete', '3', '0', '', '1490794585'), ('146', '126', 'Excel导出', 'User', 'ExcelExport', '6', '0', '', '1522223773'), ('153', '222', '地区管理', 'Region', 'Index', '60', '1', '', '1526304473'), ('154', '222', '地区添加/编辑', 'Region', 'Save', '61', '0', '', '1526304503'), ('155', '222', '地区删除', 'Region', 'Delete', '62', '0', '', '1526304531'), ('156', '222', '快递管理', 'Express', 'Index', '70', '1', '', '1526304473'), ('157', '222', '快递添加/编辑', 'Express', 'Save', '71', '0', '', '1526304473'), ('158', '222', '快递删除', 'Express', 'Delete', '72', '0', '', '1526304473'), ('172', '222', '首页轮播', 'Slide', 'Index', '40', '1', '', '1527149117'), ('173', '222', '轮播添加/编辑页面', 'Slide', 'SaveInfo', '41', '0', '', '1527149152'), ('174', '222', '轮播添加/编辑', 'Slide', 'Save', '42', '0', '', '1527149186'), ('175', '222', '轮播状态更新', 'Slide', 'StatusUpdate', '43', '0', '', '1527156980'), ('176', '222', '轮播删除', 'Slide', 'Delete', '44', '0', '', '1527157260'), ('177', '0', '订单管理', 'Order', 'Index', '5', '1', 'icon-dingdan', '1522229870'), ('178', '177', '订单管理', 'Order', 'Index', '1', '1', '', '1522317898'), ('179', '177', '订单删除', 'Order', 'Delete', '2', '0', '', '1522317917'), ('180', '177', '订单取消', 'Order', 'Cancel', '3', '0', '', '1527497803'), ('181', '38', '商品上下架', 'Goods', 'StatusShelves', '5', '0', '', '1528080200'), ('182', '0', '数据管理', 'Data', 'Index', '13', '1', 'icon-shuju', '1528096661'), ('183', '182', '消息管理', 'Message', 'Index', '0', '1', '', '1528080200'), ('184', '182', '消息删除', 'Message', 'Delete', '1', '0', '', '1528080200'), ('185', '182', '支付日志', 'PayLog', 'Index', '10', '1', '', '1528080200'), ('186', '182', '积分日志', 'IntegralLog', 'Index', '20', '1', '', '1528103067'), ('193', '222', '筛选价格', 'ScreeningPrice', 'Index', '50', '1', '', '1528708578'), ('194', '222', '筛选价格添加/编辑', 'ScreeningPrice', 'Save', '51', '0', '', '1528708609'), ('199', '81', 'SEO设置', 'Seo', 'Index', '30', '1', '', '1528771081'), ('200', '81', 'SEO设置编辑', 'Seo', 'Save', '31', '0', '', '1528771105'), ('201', '38', '商品分类', 'GoodsCategory', 'Index', '10', '1', '', '1529041901'), ('202', '38', '商品分类添加/编辑', 'GoodsCategory', 'Save', '11', '0', '', '1529041928'), ('203', '38', '商品分类删除', 'GoodsCategory', 'Delete', '12', '0', '', '1529041949'), ('204', '0', '文章管理', 'Article', 'Index', '12', '1', 'icon-wenzhang', '1530360560'), ('205', '204', '文章管理', 'Article', 'Index', '0', '1', '', '1530360593'), ('206', '204', '文章添加/编辑页面', 'Article', 'SaveInfo', '1', '0', '', '1530360625'), ('207', '204', '文章添加/编辑', 'Article', 'Save', '2', '0', '', '1530360663'), ('208', '204', '文章删除', 'Article', 'Delete', '3', '0', '', '1530360692'), ('209', '204', '文章状态更新', 'Article', 'StatusUpdate', '4', '0', '', '1530360730'), ('210', '204', '文章分类', 'ArticleCategory', 'Index', '10', '1', '', '1530361071'), ('211', '204', '文章分类编辑/添加', 'ArticleCategory', 'Save', '11', '0', '', '1530361101'), ('212', '204', '文章分类删除', 'ArticleCategory', 'Delete', '12', '0', '', '1530361126'), ('213', '0', '问答留言', 'Answer', 'Index', '6', '1', 'icon-wenda', '1533112421'), ('214', '213', '问答留言', 'Answer', 'Index', '0', '1', '', '1533112443'), ('215', '213', '问答留言回复', 'Answer', 'Reply', '1', '0', '', '1533119660'), ('216', '213', '问答留言删除', 'Answer', 'Delete', '2', '0', '', '1533119680'), ('217', '213', '问答留言状态更新', 'Answer', 'StatusUpdate', '3', '0', '', '1533119704'), ('218', '38', '商品首页推荐', 'Goods', 'StatusHomeRecommended', '6', '0', '', '1533564476'), ('219', '81', '邮箱设置', 'Email', 'Index', '20', '1', '', '1533636067'), ('220', '81', '邮箱添加/编辑', 'Email', 'Save', '21', '0', '', '1533636109'), ('221', '81', '邮件发送测试', 'Email', 'EmailTest', '22', '0', '', '1533636157'), ('222', '0', '网站管理', 'Navigation', 'Index', '7', '1', 'icon-wangzhanguanli', '1533692051'), ('223', '222', '导航管理', 'Navigation', 'Index', '0', '1', '', '1486183114'), ('226', '222', '导航添加/编辑', 'Navigation', 'Save', '2', '0', '', '1486183367'), ('227', '222', '导航删除', 'Navigation', 'Delete', '3', '0', '', '1486183410'), ('228', '222', '导航状态更新', 'Navigation', 'StatusUpdate', '4', '0', '', '1486183462'), ('234', '222', '自定义页面', 'CustomView', 'Index', '11', '1', '', '1486193400'), ('235', '222', '自定义页面添加/编辑页面', 'CustomView', 'SaveInfo', '12', '0', '', '1486193449'), ('236', '222', '自定义页面添加/编辑', 'CustomView', 'Save', '13', '0', '', '1486193473'), ('237', '222', '自定义页面删除', 'CustomView', 'Delete', '14', '0', '', '1486193516'), ('238', '222', '自定义页面状态更新', 'CustomView', 'StatusUpdate', '15', '0', '', '1486193582'), ('239', '222', '友情链接', 'Link', 'Index', '21', '1', '', '1486194358'), ('240', '222', '友情链接添加/编辑页面', 'Link', 'SaveInfo', '22', '0', '', '1486194392'), ('241', '222', '友情链接添加/编辑', 'Link', 'Save', '23', '0', '', '1486194413'), ('242', '222', '友情链接删除', 'Link', 'Delete', '24', '0', '', '1486194435'), ('243', '222', '友情链接状态更新', 'Link', 'StatusUpdate', '25', '0', '', '1486194479'), ('244', '222', '主题管理', 'Theme', 'Index', '30', '1', '', '1494381693'), ('245', '222', '主题管理添加/编辑', 'Theme', 'Save', '31', '0', '', '1494398194'), ('246', '222', '主题上传安装', 'Theme', 'Upload', '32', '0', '', '1494405096'), ('247', '222', '主题删除', 'Theme', 'Delete', '33', '0', '', '1494410655'), ('248', '204', '商品首页推荐', 'Article', 'StatusHomeRecommended', '5', '0', '', '1534156400'), ('249', '252', '品牌管理', 'Brand', 'Index', '0', '1', '', '1535683271'), ('250', '252', '品牌添加/编辑', 'Brand', 'Save', '2', '0', '', '1535683310'), ('251', '252', '品牌删除', 'Brand', 'Delete', '4', '0', '', '1535683351'), ('252', '0', '品牌管理', 'Brand', 'Index', '8', '1', 'icon-ico-pinpaiguanli', '1535684308'), ('253', '252', '品牌分类', 'BrandCategory', 'Index', '10', '1', '', '1535684401'), ('254', '252', '品牌分类添加/编辑', 'BrandCategory', 'Save', '11', '0', '', '1535684424'), ('255', '252', '品牌分类删除', 'BrandCategory', 'Delete', '12', '0', '', '1535684444'), ('256', '252', '品牌添加/编辑页面', 'Brand', 'SaveInfo', '1', '0', '', '1535694837'), ('257', '252', '品牌状态更新', 'Brand', 'StatusUpdate', '3', '0', '', '1535694880'), ('258', '222', '筛选价格删除', 'ScreeningPrice', 'Delete', '52', '0', '', '1536227071'), ('259', '222', '支付方式', 'Payment', 'Index', '80', '1', '', '1537156351'), ('260', '222', '支付方式安装/编辑页面', 'Payment', 'SaveInfo', '81', '0', '', '1537156423'), ('261', '222', '支付方式安装/编辑', 'Payment', 'Save', '82', '0', '', '1537156463'), ('262', '222', '支付方式删除', 'Payment', 'Delete', '83', '0', '', '1537156502'), ('263', '222', '支付方式安装', 'Payment', 'Install', '84', '0', '', '1537166090'), ('264', '222', '支付方式状态更新', 'Payment', 'StatusUpdate', '85', '0', '', '1537166149'), ('265', '222', '支付方式卸载', 'Payment', 'Uninstall', '86', '0', '', '1537167814'), ('266', '222', '支付方式上传', 'Payment', 'Upload', '87', '0', '', '1537173653'), ('267', '177', '订单发货', 'Order', 'Delivery', '4', '0', '', '1538413499'), ('268', '177', '订单收货', 'Order', 'Collect', '5', '0', '', '1538414034'), ('269', '177', '订单支付', 'Order', 'Pay', '6', '0', '', '1538757043'), ('310', '177', '订单确认', 'Order', 'Confirm', '7', '0', '', '1542011799'), ('311', '1', '角色状态更新', 'Power', 'RoleStatusUpdate', '15', '0', '', '1542102071'), ('312', '0', '支付宝小程序', 'AppMiniAlipay', 'Index', '10', '1', 'icon-xiaochengxu-alipay', '1542558274'), ('313', '312', '基础配置', 'AppMiniAlipayConfig', 'Index', '0', '1', '', '1542558297'), ('314', '319', '首页导航', 'AppHomeNav', 'Index', '10', '1', '', '1542558318'), ('315', '319', '首页导航添加/编辑页面', 'AppHomeNav', 'SaveInfo', '11', '0', '', '1542558686'), ('316', '319', '首页导航添加/编辑', 'AppHomeNav', 'Save', '12', '0', '', '1542558706'), ('317', '319', '首页导航状态更新', 'AppHomeNav', 'StatusUpdate', '13', '0', '', '1542558747'), ('318', '319', '首页导航删除', 'AppHomeNav', 'Delete', '14', '0', '', '1542558767'), ('319', '0', '手机端管理', 'App', 'Index', '9', '1', 'icon-shouji', '0'), ('325', '312', '基础配置保存', 'AppMiniAlipayConfig', 'Save', '1', '0', '', '1542596647'), ('326', '319', '基础配置', 'AppConfig', 'Index', '0', '1', '', '1543206359'), ('327', '319', '基础配置保存', 'AppConfig', 'Save', '1', '0', '', '1543206402'), ('328', '312', '小程序', 'AppMiniAlipayList', 'Index', '10', '1', '', '1543304094'), ('329', '312', '小程序生成', 'AppMiniAlipayList', 'Created', '11', '0', '', '1543305528'), ('330', '312', '小程序删除', 'AppMiniAlipayList', 'Delete', '12', '0', '', '1543305609'), ('331', '118', '日志删除', 'Cache', 'LogDelete', '4', '0', '', '1545642163'), ('332', '0', '微信小程序', 'AppMiniWeixin', 'Index', '11', '1', 'icon-xiaochengxu-wechat', '1546935020'), ('333', '332', '基础配置', 'AppMiniWeixinConfig', 'Index', '0', '1', '', '1546935090'), ('334', '332', '基础配置保存', 'AppMiniWeixinConfig', 'Save', '1', '0', '', '1546935118'), ('335', '332', '小程序', 'AppMiniWeixinList', 'Index', '10', '1', '', '1546935153'), ('336', '332', '小程序生成', 'AppMiniWeixinList', 'Created', '11', '0', '', '1546935187'), ('337', '332', '小程序删除', 'AppMiniWeixinList', 'Delete', '12', '0', '', '1546935212'), ('338', '177', 'Excel导出', 'Order', 'ExcelExport', '8', '0', '', '1548054782'), ('339', '41', '后台配置', 'Config', 'Index', '0', '1', '', '1549419752'), ('340', '0', '应用中心', 'Store', 'Index', '29', '1', 'icon-application', '1549496703'), ('341', '340', '应用管理', 'Pluginsadmin', 'Index', '1', '1', '', '1549497306'), ('342', '340', '应用状态更新', 'Pluginsadmin', 'StatusUpdate', '3', '0', '', '1549694138'), ('343', '340', '应用调用管理', 'Plugins', 'Index', '0', '0', '', '1549958187'), ('345', '340', '应用添加/编辑页面', 'Pluginsadmin', 'SaveInfo', '1', '0', '', '1549977925'), ('346', '340', '应用添加/编辑', 'Pluginsadmin', 'Save', '2', '0', '', '1549977958'), ('347', '340', '应用删除', 'Pluginsadmin', 'Delete', '4', '0', '', '1549977993'), ('348', '340', '应用上传/安装', 'Pluginsadmin', 'Upload', '5', '0', '', '1550110821'), ('349', '118', 'SQL控制台', 'Sqlconsole', 'Index', '10', '1', '', '1550476002'), ('350', '118', 'SQL执行', 'Sqlconsole', 'Implement', '11', '0', '', '1550476023'), ('351', '340', '应用打包', 'Pluginsadmin', 'Download', '6', '0', '', '1553248727'), ('352', '213', '问答添加/编辑页面', 'Answer', 'SaveInfo', '4', '0', '', '1553964318'), ('353', '213', '问答添加/编辑', 'Answer', 'Save', '5', '0', '', '1553964354'), ('354', '41', '商店信息', 'Config', 'Store', '0', '1', '', '1554803430'); +INSERT INTO `s_power` VALUES ('1', '0', '权限控制', 'Power', 'Index', '2', '1', 'icon-quanxian', '1481612301'), ('4', '1', '角色管理', 'Power', 'Role', '11', '1', '', '1481639037'), ('13', '1', '权限分配', 'Power', 'Index', '21', '1', '', '1482156143'), ('15', '1', '权限添加/编辑', 'Power', 'PowerSave', '22', '0', '', '1482243750'), ('16', '1', '权限删除', 'Power', 'PowerDelete', '23', '0', '', '1482243797'), ('17', '1', '角色组添加/编辑页面', 'Power', 'RoleSaveInfo', '12', '0', '', '1482243855'), ('18', '1', '角色组添加/编辑', 'Power', 'RoleSave', '13', '0', '', '1482243888'), ('19', '1', '管理员添加/编辑页面', 'Admin', 'SaveInfo', '2', '0', '', '1482244637'), ('20', '1', '管理员添加/编辑', 'Admin', 'Save', '3', '0', '', '1482244666'), ('21', '1', '管理员删除', 'Admin', 'Delete', '4', '0', '', '1482244688'), ('22', '1', '管理员列表', 'Admin', 'Index', '1', '1', '', '1482568868'), ('23', '1', '角色删除', 'Power', 'RoleDelete', '14', '0', '', '1482569155'), ('38', '0', '商品管理', 'Goods', 'Index', '3', '1', 'icon-shangpin', '1483283430'), ('39', '38', '商品管理', 'Goods', 'Index', '1', '1', '', '1483283546'), ('41', '0', '系统设置', 'Config', 'Index', '1', '1', 'icon-peizhi', '1483362358'), ('42', '41', '配置保存', 'Config', 'Save', '10', '0', '', '1483432335'), ('57', '38', '商品添加/编辑页面', 'Goods', 'SaveInfo', '2', '0', '', '1483616439'), ('58', '38', '商品添加/编辑', 'Goods', 'Save', '3', '0', '', '1483616492'), ('59', '38', '商品删除', 'Goods', 'Delete', '4', '0', '', '1483616569'), ('81', '0', '站点配置', 'Site', 'Index', '1', '1', 'icon-zhandianpeizhi', '1486182943'), ('103', '81', '站点设置', 'Site', 'Index', '0', '1', '', '1486561470'), ('104', '81', '短信设置', 'Sms', 'Index', '10', '1', '', '1486561615'), ('105', '81', '站点设置编辑', 'Site', 'Save', '1', '0', '', '1486561780'), ('107', '81', '短信设置编辑', 'Sms', 'Save', '11', '0', '', '1486562011'), ('118', '0', '工具', 'Tool', 'Index', '30', '1', 'icon-tools', '1488108044'), ('119', '118', '缓存管理', 'Cache', 'Index', '1', '1', '', '1488108107'), ('120', '118', '站点缓存更新', 'Cache', 'StatusUpdate', '2', '0', '', '1488108235'), ('121', '118', '模板缓存更新', 'Cache', 'TemplateUpdate', '2', '0', '', '1488108390'), ('122', '118', '模块缓存更新', 'Cache', 'ModuleUpdate', '3', '0', '', '1488108436'), ('126', '0', '用户管理', 'User', 'Index', '2', '1', 'icon-yonghuguanli', '1490794162'), ('127', '126', '用户列表', 'User', 'Index', '0', '1', '', '1490794316'), ('128', '126', '用户编辑/添加页面', 'User', 'SaveInfo', '1', '0', '', '1490794458'), ('129', '126', '用户添加/编辑', 'User', 'Save', '2', '0', '', '1490794510'), ('130', '126', '用户删除', 'User', 'Delete', '3', '0', '', '1490794585'), ('146', '126', 'Excel导出', 'User', 'ExcelExport', '6', '0', '', '1522223773'), ('153', '222', '地区管理', 'Region', 'Index', '60', '1', '', '1526304473'), ('154', '222', '地区添加/编辑', 'Region', 'Save', '61', '0', '', '1526304503'), ('155', '222', '地区删除', 'Region', 'Delete', '62', '0', '', '1526304531'), ('156', '222', '快递管理', 'Express', 'Index', '70', '1', '', '1526304473'), ('157', '222', '快递添加/编辑', 'Express', 'Save', '71', '0', '', '1526304473'), ('158', '222', '快递删除', 'Express', 'Delete', '72', '0', '', '1526304473'), ('172', '222', '首页轮播', 'Slide', 'Index', '40', '1', '', '1527149117'), ('173', '222', '轮播添加/编辑页面', 'Slide', 'SaveInfo', '41', '0', '', '1527149152'), ('174', '222', '轮播添加/编辑', 'Slide', 'Save', '42', '0', '', '1527149186'), ('175', '222', '轮播状态更新', 'Slide', 'StatusUpdate', '43', '0', '', '1527156980'), ('176', '222', '轮播删除', 'Slide', 'Delete', '44', '0', '', '1527157260'), ('177', '0', '订单管理', 'Order', 'Index', '5', '1', 'icon-dingdan', '1522229870'), ('178', '177', '订单管理', 'Order', 'Index', '1', '1', '', '1522317898'), ('179', '177', '订单删除', 'Order', 'Delete', '2', '0', '', '1522317917'), ('180', '177', '订单取消', 'Order', 'Cancel', '3', '0', '', '1527497803'), ('181', '38', '商品上下架', 'Goods', 'StatusShelves', '5', '0', '', '1528080200'), ('182', '0', '数据管理', 'Data', 'Index', '13', '1', 'icon-shuju', '1528096661'), ('183', '182', '消息管理', 'Message', 'Index', '0', '1', '', '1528080200'), ('184', '182', '消息删除', 'Message', 'Delete', '1', '0', '', '1528080200'), ('185', '182', '支付日志', 'PayLog', 'Index', '10', '1', '', '1528080200'), ('186', '182', '积分日志', 'IntegralLog', 'Index', '20', '1', '', '1528103067'), ('193', '222', '筛选价格', 'ScreeningPrice', 'Index', '50', '1', '', '1528708578'), ('194', '222', '筛选价格添加/编辑', 'ScreeningPrice', 'Save', '51', '0', '', '1528708609'), ('199', '81', 'SEO设置', 'Seo', 'Index', '30', '1', '', '1528771081'), ('200', '81', 'SEO设置编辑', 'Seo', 'Save', '31', '0', '', '1528771105'), ('201', '38', '商品分类', 'GoodsCategory', 'Index', '10', '1', '', '1529041901'), ('202', '38', '商品分类添加/编辑', 'GoodsCategory', 'Save', '11', '0', '', '1529041928'), ('203', '38', '商品分类删除', 'GoodsCategory', 'Delete', '12', '0', '', '1529041949'), ('204', '0', '文章管理', 'Article', 'Index', '12', '1', 'icon-wenzhang', '1530360560'), ('205', '204', '文章管理', 'Article', 'Index', '0', '1', '', '1530360593'), ('206', '204', '文章添加/编辑页面', 'Article', 'SaveInfo', '1', '0', '', '1530360625'), ('207', '204', '文章添加/编辑', 'Article', 'Save', '2', '0', '', '1530360663'), ('208', '204', '文章删除', 'Article', 'Delete', '3', '0', '', '1530360692'), ('209', '204', '文章状态更新', 'Article', 'StatusUpdate', '4', '0', '', '1530360730'), ('210', '204', '文章分类', 'ArticleCategory', 'Index', '10', '1', '', '1530361071'), ('211', '204', '文章分类编辑/添加', 'ArticleCategory', 'Save', '11', '0', '', '1530361101'), ('212', '204', '文章分类删除', 'ArticleCategory', 'Delete', '12', '0', '', '1530361126'), ('213', '0', '问答留言', 'Answer', 'Index', '6', '1', 'icon-wenda', '1533112421'), ('214', '213', '问答留言', 'Answer', 'Index', '0', '1', '', '1533112443'), ('215', '213', '问答留言回复', 'Answer', 'Reply', '1', '0', '', '1533119660'), ('216', '213', '问答留言删除', 'Answer', 'Delete', '2', '0', '', '1533119680'), ('217', '213', '问答留言状态更新', 'Answer', 'StatusUpdate', '3', '0', '', '1533119704'), ('218', '38', '商品首页推荐', 'Goods', 'StatusHomeRecommended', '6', '0', '', '1533564476'), ('219', '81', '邮箱设置', 'Email', 'Index', '20', '1', '', '1533636067'), ('220', '81', '邮箱添加/编辑', 'Email', 'Save', '21', '0', '', '1533636109'), ('221', '81', '邮件发送测试', 'Email', 'EmailTest', '22', '0', '', '1533636157'), ('222', '0', '网站管理', 'Navigation', 'Index', '7', '1', 'icon-wangzhanguanli', '1533692051'), ('223', '222', '导航管理', 'Navigation', 'Index', '0', '1', '', '1486183114'), ('226', '222', '导航添加/编辑', 'Navigation', 'Save', '2', '0', '', '1486183367'), ('227', '222', '导航删除', 'Navigation', 'Delete', '3', '0', '', '1486183410'), ('228', '222', '导航状态更新', 'Navigation', 'StatusUpdate', '4', '0', '', '1486183462'), ('234', '222', '自定义页面', 'CustomView', 'Index', '11', '1', '', '1486193400'), ('235', '222', '自定义页面添加/编辑页面', 'CustomView', 'SaveInfo', '12', '0', '', '1486193449'), ('236', '222', '自定义页面添加/编辑', 'CustomView', 'Save', '13', '0', '', '1486193473'), ('237', '222', '自定义页面删除', 'CustomView', 'Delete', '14', '0', '', '1486193516'), ('238', '222', '自定义页面状态更新', 'CustomView', 'StatusUpdate', '15', '0', '', '1486193582'), ('239', '222', '友情链接', 'Link', 'Index', '21', '1', '', '1486194358'), ('240', '222', '友情链接添加/编辑页面', 'Link', 'SaveInfo', '22', '0', '', '1486194392'), ('241', '222', '友情链接添加/编辑', 'Link', 'Save', '23', '0', '', '1486194413'), ('242', '222', '友情链接删除', 'Link', 'Delete', '24', '0', '', '1486194435'), ('243', '222', '友情链接状态更新', 'Link', 'StatusUpdate', '25', '0', '', '1486194479'), ('244', '222', '主题管理', 'Theme', 'Index', '30', '1', '', '1494381693'), ('245', '222', '主题管理添加/编辑', 'Theme', 'Save', '31', '0', '', '1494398194'), ('246', '222', '主题上传安装', 'Theme', 'Upload', '32', '0', '', '1494405096'), ('247', '222', '主题删除', 'Theme', 'Delete', '33', '0', '', '1494410655'), ('248', '204', '商品首页推荐', 'Article', 'StatusHomeRecommended', '5', '0', '', '1534156400'), ('249', '252', '品牌管理', 'Brand', 'Index', '0', '1', '', '1535683271'), ('250', '252', '品牌添加/编辑', 'Brand', 'Save', '2', '0', '', '1535683310'), ('251', '252', '品牌删除', 'Brand', 'Delete', '4', '0', '', '1535683351'), ('252', '0', '品牌管理', 'Brand', 'Index', '8', '1', 'icon-ico-pinpaiguanli', '1535684308'), ('253', '252', '品牌分类', 'BrandCategory', 'Index', '10', '1', '', '1535684401'), ('254', '252', '品牌分类添加/编辑', 'BrandCategory', 'Save', '11', '0', '', '1535684424'), ('255', '252', '品牌分类删除', 'BrandCategory', 'Delete', '12', '0', '', '1535684444'), ('256', '252', '品牌添加/编辑页面', 'Brand', 'SaveInfo', '1', '0', '', '1535694837'), ('257', '252', '品牌状态更新', 'Brand', 'StatusUpdate', '3', '0', '', '1535694880'), ('258', '222', '筛选价格删除', 'ScreeningPrice', 'Delete', '52', '0', '', '1536227071'), ('259', '222', '支付方式', 'Payment', 'Index', '80', '1', '', '1537156351'), ('260', '222', '支付方式安装/编辑页面', 'Payment', 'SaveInfo', '81', '0', '', '1537156423'), ('261', '222', '支付方式安装/编辑', 'Payment', 'Save', '82', '0', '', '1537156463'), ('262', '222', '支付方式删除', 'Payment', 'Delete', '83', '0', '', '1537156502'), ('263', '222', '支付方式安装', 'Payment', 'Install', '84', '0', '', '1537166090'), ('264', '222', '支付方式状态更新', 'Payment', 'StatusUpdate', '85', '0', '', '1537166149'), ('265', '222', '支付方式卸载', 'Payment', 'Uninstall', '86', '0', '', '1537167814'), ('266', '222', '支付方式上传', 'Payment', 'Upload', '87', '0', '', '1537173653'), ('267', '177', '订单发货', 'Order', 'Delivery', '4', '0', '', '1538413499'), ('268', '177', '订单收货', 'Order', 'Collect', '5', '0', '', '1538414034'), ('269', '177', '订单支付', 'Order', 'Pay', '6', '0', '', '1538757043'), ('310', '177', '订单确认', 'Order', 'Confirm', '7', '0', '', '1542011799'), ('311', '1', '角色状态更新', 'Power', 'RoleStatusUpdate', '15', '0', '', '1542102071'), ('312', '0', '支付宝小程序', 'AppMiniAlipay', 'Index', '10', '1', 'icon-xiaochengxu-alipay', '1542558274'), ('313', '312', '基础配置', 'AppMiniAlipayConfig', 'Index', '0', '1', '', '1542558297'), ('314', '319', '首页导航', 'AppHomeNav', 'Index', '10', '1', '', '1542558318'), ('315', '319', '首页导航添加/编辑页面', 'AppHomeNav', 'SaveInfo', '11', '0', '', '1542558686'), ('316', '319', '首页导航添加/编辑', 'AppHomeNav', 'Save', '12', '0', '', '1542558706'), ('317', '319', '首页导航状态更新', 'AppHomeNav', 'StatusUpdate', '13', '0', '', '1542558747'), ('318', '319', '首页导航删除', 'AppHomeNav', 'Delete', '14', '0', '', '1542558767'), ('319', '0', '手机端管理', 'App', 'Index', '9', '1', 'icon-shouji', '0'), ('325', '312', '基础配置保存', 'AppMiniAlipayConfig', 'Save', '1', '0', '', '1542596647'), ('326', '319', '基础配置', 'AppConfig', 'Index', '0', '1', '', '1543206359'), ('327', '319', '基础配置保存', 'AppConfig', 'Save', '1', '0', '', '1543206402'), ('328', '312', '小程序', 'AppMiniAlipayList', 'Index', '10', '1', '', '1543304094'), ('329', '312', '小程序生成', 'AppMiniAlipayList', 'Created', '11', '0', '', '1543305528'), ('330', '312', '小程序删除', 'AppMiniAlipayList', 'Delete', '12', '0', '', '1543305609'), ('331', '118', '日志删除', 'Cache', 'LogDelete', '4', '0', '', '1545642163'), ('332', '0', '微信小程序', 'AppMiniWeixin', 'Index', '11', '1', 'icon-xiaochengxu-wechat', '1546935020'), ('333', '332', '基础配置', 'AppMiniWeixinConfig', 'Index', '0', '1', '', '1546935090'), ('334', '332', '基础配置保存', 'AppMiniWeixinConfig', 'Save', '1', '0', '', '1546935118'), ('335', '332', '小程序', 'AppMiniWeixinList', 'Index', '10', '1', '', '1546935153'), ('336', '332', '小程序生成', 'AppMiniWeixinList', 'Created', '11', '0', '', '1546935187'), ('337', '332', '小程序删除', 'AppMiniWeixinList', 'Delete', '12', '0', '', '1546935212'), ('338', '177', 'Excel导出', 'Order', 'ExcelExport', '8', '0', '', '1548054782'), ('339', '41', '后台配置', 'Config', 'Index', '0', '1', '', '1549419752'), ('340', '0', '应用中心', 'Store', 'Index', '29', '1', 'icon-application', '1549496703'), ('341', '340', '应用管理', 'Pluginsadmin', 'Index', '1', '1', '', '1549497306'), ('342', '340', '应用状态更新', 'Pluginsadmin', 'StatusUpdate', '3', '0', '', '1549694138'), ('343', '340', '应用调用管理', 'Plugins', 'Index', '0', '0', '', '1549958187'), ('345', '340', '应用添加/编辑页面', 'Pluginsadmin', 'SaveInfo', '1', '0', '', '1549977925'), ('346', '340', '应用添加/编辑', 'Pluginsadmin', 'Save', '2', '0', '', '1549977958'), ('347', '340', '应用删除', 'Pluginsadmin', 'Delete', '4', '0', '', '1549977993'), ('348', '340', '应用上传/安装', 'Pluginsadmin', 'Upload', '5', '0', '', '1550110821'), ('349', '118', 'SQL控制台', 'Sqlconsole', 'Index', '10', '1', '', '1550476002'), ('350', '118', 'SQL执行', 'Sqlconsole', 'Implement', '11', '0', '', '1550476023'), ('351', '340', '应用打包', 'Pluginsadmin', 'Download', '6', '0', '', '1553248727'), ('352', '213', '问答添加/编辑页面', 'Answer', 'SaveInfo', '4', '0', '', '1553964318'), ('353', '213', '问答添加/编辑', 'Answer', 'Save', '5', '0', '', '1553964354'), ('354', '41', '商店信息', 'Config', 'Store', '0', '1', '', '1554803430'), ('356', '38', '商品评价', 'Goodscomments', 'Index', '20', '1', '', '1533112443'), ('357', '38', '商品评价回复', 'Goodscomments', 'Reply', '21', '0', '', '1533119660'), ('358', '38', '商品评价删除', 'Goodscomments', 'Delete', '22', '0', '', '1533119680'), ('359', '38', '商品评价状态更新', 'Goodscomments', 'StatusUpdate', '23', '0', '', '1533119704'), ('360', '38', '商品评价添加/编辑页面', 'Goodscomments', 'SaveInfo', '24', '0', '', '1553964318'), ('361', '38', '商品评价添加/编辑', 'Goodscomments', 'Save', '25', '0', '', '1553964354'); COMMIT; -- ---------------------------- diff --git a/public/static/admin/default/css/answer.css b/public/static/admin/default/css/answer.css index 8418330fc..be74658a0 100755 --- a/public/static/admin/default/css/answer.css +++ b/public/static/admin/default/css/answer.css @@ -1,26 +1,7 @@ /** * 列表 */ -.form-keyword { width: 55% !important; display: initial !important; } -.more-submit input { display: none; } -.param-where, .param-date input { display: initial !important; } -@media only screen and (max-width: 641px) { - .param-where { width: 100% !important; margin-left: 0px !important; } - .param-date input { width: 47% !important; } - .courier-health-images-list li { width: calc( 50% - 10px) !important; } - .courier-health-images-list { width: 100%; } -} -@media only screen and (min-width: 641px) { - .param-where { width: 32% !important; float: left; } - .param-date input { width: 45% !important; } - .param-where:nth-child(1) { margin-left: 0px !important; } - .courier-health-images-list { width: 75%; } -} +table.am-table .reply-content { max-width: 200px; max-height: 200px; overflow-y: scroll; overflow-x: hidden; } @media only screen and (max-width: 321px) { - .view-operation button { margin: 2px 0px; } -} - -/** - * 列表 - */ -table.am-table .reply-content { max-width: 200px; max-height: 200px; overflow-y: scroll; overflow-x: hidden; } \ No newline at end of file + .view-operation button { margin: 2px 0px; } +} \ No newline at end of file diff --git a/public/static/admin/default/css/goodscomments.css b/public/static/admin/default/css/goodscomments.css new file mode 100644 index 000000000..f890f4c65 --- /dev/null +++ b/public/static/admin/default/css/goodscomments.css @@ -0,0 +1,50 @@ +/** + * 用户信息 + */ +.content-right table.am-table td.user-info { + width: 200px; +} +.content-right .user-info img { + max-width: 35px; + max-height: 35px; + margin: 0 5px 2px 0; +} +.content-right ul { + list-style: none; + padding: 0; + margin: 0; +} + +/** + * 商品信息 + */ +.content-right table.am-table td.goods-info { + width: 180px; +} +.content-right .goods-info .base { + min-height: 57px; +} +.content-right .goods-info img { + width: 55px; + height: 55px; + margin: 2px 5px 0px 0; +} +.content-right .goods-info p { + margin: 3px 0 0 0; +} + +/** + * 列表 + */ +.content-right table.am-table .reply-content { + max-width: 180px; + max-height: 130px; + overflow-y: scroll; + overflow-x: hidden; +} +.content-right table.am-table .reply-content p { + margin: 5px 0 0 0; +} +.content-right table.am-table .view-operation { + width: 85px; +} \ No newline at end of file -- GitLab
商品信息 用户信息 业务类型内容回复内容评价内容是否回复 匿名回复时间创建时间是否显示显示 更多 操作
+ {{if !empty($v['user'])}} + +

¥{{$v.goods.min_price}}

+ {{else /}} + 商品信息异常 + {{/if}} +
{{$v.business_type}} + {{$v.business_type_text}}
- {{$v.content|raw}} + {{$v.content}}
{{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}} + @@ -139,8 +169,29 @@
+
商品信息
+
+ {{if !empty($v['user'])}} + +

¥{{$v.goods.min_price}}

+ {{else /}} + 商品信息异常 + {{/if}} +
+
用户信息
-
+
业务类型
-
{{$v.business_type}}
+
{{$v.business_type_text}}
-
内容
+
评价内容
{{$v.content|raw}}
-
匿名
+
是否匿名
{{$v.is_anonymous_text}}
是否显示
{{if empty($v['is_show_text'])}}未填写{{else /}}{{$v.is_show_text}}{{/if}}
+
是否回复
+
{{$v.is_reply_text}}
+
回复内容
{{if $v['is_reply'] eq 1 and !empty($v['reply'])}}
{{$v.reply|raw}}
-

{{$v.reply_time_time}}

{{else /}} 未回复 {{/if}}
-
匿名
-
{{$v.reply_time}}
+
回复时间
+
{{$v.reply_time_time}}
+ +
更新时间
+
{{$v.upd_time_time}}
创建时间
{{$v.add_time_time}}
@@ -189,13 +245,11 @@
- - - + 编辑 {{if $v['is_reply'] eq 0}} - + {{/if}} - +