From 036c980b2791e1217255015219d229d4dde4735b Mon Sep 17 00:00:00 2001 From: devil Date: Thu, 18 Jun 2020 01:07:49 +0800 Subject: [PATCH] =?UTF-8?q?=20=E8=BD=AE=E6=92=AD=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/controller/Slide.php | 110 ++++----- application/admin/form/Slide.php | 158 +++++++++++++ .../admin/view/default/slide/detail.html | 2 + .../admin/view/default/slide/index.html | 218 +----------------- .../view/default/slide/module/images.html | 10 + .../view/default/slide/module/operate.html | 13 ++ application/service/SlideService.php | 88 ++----- config/shopxo.sql | 14 +- .../plugins/weixinliveplayer/detail/detail.js | 2 +- 9 files changed, 276 insertions(+), 339 deletions(-) create mode 100644 application/admin/form/Slide.php create mode 100644 application/admin/view/default/slide/detail.html create mode 100644 application/admin/view/default/slide/module/images.html create mode 100644 application/admin/view/default/slide/module/operate.html diff --git a/application/admin/controller/Slide.php b/application/admin/controller/Slide.php index 7071d4581..901ccb9ad 100755 --- a/application/admin/controller/Slide.php +++ b/application/admin/controller/Slide.php @@ -49,50 +49,61 @@ class Slide extends Common */ public function Index() { - // 参数 - $params = input(); + // 总数 + $total = SlideService::SlideTotal($this->form_where); // 分页 - $number = MyC('admin_page_number', 10, true); - - // 条件 - $where = SlideService::SlideListWhere($params); - - // 获取总数 - $total = SlideService::SlideTotal($where); - - // 分页 - $page_params = array( - 'number' => $number, - 'total' => $total, - 'where' => $params, - 'page' => isset($params['page']) ? intval($params['page']) : 1, - 'url' => MyUrl('admin/slide/index'), - ); + $page_params = [ + 'number' => $this->page_size, + 'total' => $total, + 'where' => $this->data_request, + 'page' => $this->page, + 'url' => MyUrl('admin/slide/index'), + ]; $page = new \base\Page($page_params); - $this->assign('page_html', $page->GetPageHtml()); // 获取列表 - $data_params = array( - 'm' => $page->GetPageStarNumber(), - 'n' => $number, - 'where' => $where, - 'field' => '*', - ); - $data = SlideService::SlideList($data_params); - $this->assign('data_list', $data['data']); + $data_params = [ + 'where' => $this->form_where, + 'm' => $page->GetPageStarNumber(), + 'n' => $this->page_size, + ]; + $ret = SlideService::SlideList($data_params); - // 是否启用 - $this->assign('common_is_enable_list', lang('common_is_enable_list')); + // 基础参数赋值 + $this->assign('params', $this->data_request); + $this->assign('page_html', $page->GetPageHtml()); + $this->assign('data_list', $ret['data']); + return $this->fetch(); + } - // 所属平台 - $this->assign('common_platform_type', lang('common_platform_type')); + /** + * 详情 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @datetime 2019-08-05T08:21:54+0800 + */ + public function Detail() + { + if(!empty($this->data_request['id'])) + { + // 条件 + $where = [ + ['id', '=', intval($this->data_request['id'])], + ]; - // 事件类型 - $this->assign('common_app_event_type', lang('common_app_event_type')); - - // 参数 - $this->assign('params', $params); + // 获取列表 + $data_params = [ + 'm' => 0, + 'n' => 1, + 'where' => $where, + 'is_category' => 1, + ]; + $ret = SlideService::SlideList($data_params); + $data = (empty($ret['data']) || empty($ret['data'][0])) ? [] : $ret['data'][0]; + $this->assign('data', $data); + } return $this->fetch(); } @@ -106,39 +117,32 @@ class Slide extends Common public function SaveInfo() { // 参数 - $params = input(); + $params = $this->data_request; // 数据 $data = []; if(!empty($params['id'])) { // 获取列表 - $data_params = array( + $data_params = [ 'm' => 0, 'n' => 1, 'where' => ['id'=>intval($params['id'])], 'field' => '*', - ); + ]; $ret = SlideService::SlideList($data_params); $data = empty($ret['data'][0]) ? [] : $ret['data'][0]; } - $this->assign('data', $data); - // 是否启用 + // 静态资源 $this->assign('common_is_enable_list', lang('common_is_enable_list')); - - // 所属平台 $this->assign('common_platform_type', lang('common_platform_type')); - - // 事件类型 $this->assign('common_app_event_type', lang('common_app_event_type')); - // 参数 - $this->assign('params', $params); - - // 编辑器文件存放地址 + // 数据 $this->assign('editor_path_type', 'slide'); - + $this->assign('params', $params); + $this->assign('data', $data); return $this->fetch(); } @@ -158,7 +162,7 @@ class Slide extends Common } // 开始处理 - $params = input(); + $params = $this->data_request; return SlideService::SlideSave($params); } @@ -178,7 +182,7 @@ class Slide extends Common } // 开始处理 - $params = input(); + $params = $this->data_request; return SlideService::SlideDelete($params); } @@ -198,7 +202,7 @@ class Slide extends Common } // 开始处理 - $params = input(); + $params = $this->data_request; return SlideService::SlideStatusUpdate($params); } } diff --git a/application/admin/form/Slide.php b/application/admin/form/Slide.php new file mode 100644 index 000000000..93d779700 --- /dev/null +++ b/application/admin/form/Slide.php @@ -0,0 +1,158 @@ + [ + 'key_field' => 'id', + 'status_field' => 'is_enable', + 'is_search' => 1, + 'search_url' => MyUrl('admin/slide/index'), + 'is_delete' => 1, + 'delete_url' => MyUrl('admin/slide/delete'), + 'delete_key' => 'ids', + ], + // 表单配置 + 'form' => [ + [ + 'view_type' => 'checkbox', + 'is_checked' => 0, + 'checked_text' => '反选', + 'not_checked_text' => '全选', + 'align' => 'center', + 'width' => 80, + ], + [ + 'label' => '名称', + 'view_type' => 'field', + 'view_key' => 'name', + 'search_config' => [ + 'form_type' => 'input', + 'where_type' => 'like', + ], + ], + [ + 'label' => '所属平台', + 'view_type' => 'field', + 'view_key' => 'platform_text', + 'search_config' => [ + 'form_type' => 'select', + 'form_name' => 'platform', + 'where_type' => 'in', + 'data' => lang('common_platform_type'), + 'data_key' => 'value', + 'data_name' => 'name', + 'is_multiple' => 1, + ], + ], + [ + 'label' => '图片', + 'view_type' => 'module', + 'view_key' => 'slide/module/images', + 'grid_size' => 'sm', + ], + [ + 'label' => '事件类型', + 'view_type' => 'field', + 'view_key' => 'event_type_text', + 'search_config' => [ + 'form_type' => 'select', + 'form_name' => 'event_type', + 'where_type' => 'in', + 'data' => lang('common_app_event_type'), + 'data_key' => 'value', + 'data_name' => 'name', + 'is_multiple' => 1, + ], + ], + [ + 'label' => '事件值', + 'view_type' => 'field', + 'view_key' => 'event_value', + 'search_config' => [ + 'form_type' => 'input', + 'where_type' => 'like', + ], + ], + [ + 'label' => '是否启用', + 'view_type' => 'status', + 'view_key' => 'is_enable', + 'post_url' => MyUrl('admin/slide/statusupdate'), + 'is_form_su' => 1, + 'align' => 'center', + 'search_config' => [ + 'form_type' => 'select', + 'where_type' => 'in', + 'data' => lang('common_is_enable_list'), + 'data_key' => 'id', + 'data_name' => 'name', + 'is_multiple' => 1, + ], + ], + [ + 'label' => '排序', + 'view_type' => 'field', + 'view_key' => 'sort', + ], + [ + 'label' => '创建时间', + 'view_type' => 'field', + 'view_key' => 'add_time', + 'search_config' => [ + 'form_type' => 'datetime', + ], + ], + [ + 'label' => '更新时间', + 'view_type' => 'field', + 'view_key' => 'upd_time', + 'search_config' => [ + 'form_type' => 'datetime', + ], + ], + [ + 'label' => '操作', + 'view_type' => 'operate', + 'view_key' => 'slide/module/operate', + 'align' => 'center', + 'fixed' => 'right', + ], + ], + ]; + } +} +?> \ No newline at end of file diff --git a/application/admin/view/default/slide/detail.html b/application/admin/view/default/slide/detail.html new file mode 100644 index 000000000..06eeee457 --- /dev/null +++ b/application/admin/view/default/slide/detail.html @@ -0,0 +1,2 @@ + +{{extend name="public/module/detail" /}} \ No newline at end of file diff --git a/application/admin/view/default/slide/index.html b/application/admin/view/default/slide/index.html index a3d1d7525..c3989f1fa 100755 --- a/application/admin/view/default/slide/index.html +++ b/application/admin/view/default/slide/index.html @@ -1,211 +1,9 @@ -{{include file="public/header" /}} + +{{extend name="public/module/form" /}} - -
-
- - - - - -
- 新增 -
- - - -
- - - - - - - - - - - - - - {{if !empty($data_list)}} - {{foreach $data_list as $v}} - - - - - - - - - - {{/foreach}} - {{/if}} - -
名称所属平台图片事件值是否启用更多操作
{{$v.name}}{{$v.platform_text}} - {{if !empty($v['images_url'])}} - - - - {{else /}} - 暂无图片 - {{/if}} - - {{$v.event_value}} - {{if !empty($v['event_type_text'])}} -
{{$v.event_type_text}} - {{/if}} -
- - -

- - 查看更多 -

-
-
-
-

详情内容

- × -
-
-
-
名称
-
{{$v.name}}
- -
所属平台
-
{{$v.platform_text}}
- -
图片
-
- {{if !empty($v['images_url'])}} - - - - {{else /}} - 暂无图片 - {{/if}} -
- -
事件值
-
- {{$v.event_value}} - {{if !empty($v['event_type_text'])}} -
{{$v.event_type_text}} - {{/if}} -
- -
启用
-
{{$v.is_enable_text}}
- -
创建时间
-
{{$v.add_time_time}}
- -
更新时间
-
{{$v.upd_time_time}}
-
-
-
-
-
-
- - - 编辑 - - -
-
- {{if empty($data_list)}} -
没有相关数据
- {{/if}} -
- - - - {{if !empty($data_list)}} - {{$page_html|raw}} - {{/if}} - -
-
- - - -{{include file="public/footer" /}} - \ No newline at end of file + +{{block name="form_operate_top"}} + 新增 + + {__block__} +{{/block}} \ No newline at end of file diff --git a/application/admin/view/default/slide/module/images.html b/application/admin/view/default/slide/module/images.html new file mode 100644 index 000000000..27c980b83 --- /dev/null +++ b/application/admin/view/default/slide/module/images.html @@ -0,0 +1,10 @@ + +{{if !empty($module_data)}} +
+ {{if !empty($module_data['images_url'])}} + + + + {{/if}} +
+{{/if}} \ No newline at end of file diff --git a/application/admin/view/default/slide/module/operate.html b/application/admin/view/default/slide/module/operate.html new file mode 100644 index 000000000..1103fc370 --- /dev/null +++ b/application/admin/view/default/slide/module/operate.html @@ -0,0 +1,13 @@ + + + + + 编辑 + + \ No newline at end of file diff --git a/application/service/SlideService.php b/application/service/SlideService.php index a1f8900a3..ea9127785 100755 --- a/application/service/SlideService.php +++ b/application/service/SlideService.php @@ -38,7 +38,7 @@ class SlideService $m = isset($params['m']) ? intval($params['m']) : 0; $n = isset($params['n']) ? intval($params['n']) : 10; - $data = Db::name('Slide')->field($field)->where($where)->order('sort asc')->limit($m, $n)->select(); + $data = Db::name('Slide')->field($field)->where($where)->order('id desc,sort asc')->limit($m, $n)->select(); if(!empty($data)) { $common_platform_type = lang('common_platform_type'); @@ -74,13 +74,11 @@ class SlideService // 时间 if(isset($v['add_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['add_time'] = date('Y-m-d H:i:s', $v['add_time']); } if(isset($v['upd_time'])) { - $v['upd_time_time'] = date('Y-m-d H:i:s', $v['upd_time']); - $v['upd_time_date'] = date('Y-m-d', $v['upd_time']); + $v['upd_time'] = empty($v['upd_time']) ? '' : date('Y-m-d H:i:s', $v['upd_time']); } } } @@ -101,54 +99,6 @@ class SlideService return (int) Db::name('Slide')->where($where)->count(); } - /** - * 列表条件 - * @author Devil - * @blog http://gong.gg/ - * @version 1.0.0 - * @date 2018-09-29 - * @desc description - * @param [array] $params [输入参数] - */ - public static function SlideListWhere($params = []) - { - $where = []; - - if(!empty($params['keywords'])) - { - $where[] = ['name', 'like', '%'.$params['keywords'].'%']; - } - - // 是否更多条件 - if(isset($params['is_more']) && $params['is_more'] == 1) - { - // 等值 - if(isset($params['is_enable']) && $params['is_enable'] > -1) - { - $where[] = ['is_enable', '=', intval($params['is_enable'])]; - } - if(isset($params['event_type']) && $params['event_type'] > -1) - { - $where[] = ['event_type', '=', intval($params['event_type'])]; - } - if(!empty($params['platform'])) - { - $where[] = ['platform', '=', $params['platform']]; - } - - if(!empty($params['time_start'])) - { - $where[] = ['add_time', '>', strtotime($params['time_start'])]; - } - if(!empty($params['time_end'])) - { - $where[] = ['add_time', '<', strtotime($params['time_end'])]; - } - } - - return $where; - } - /** * 数据保存 * @author Devil @@ -251,27 +201,24 @@ class SlideService */ public static function SlideDelete($params = []) { - // 请求参数 - $p = [ - [ - 'checked_type' => 'empty', - 'key_name' => 'id', - 'error_msg' => '操作id有误', - ], - ]; - $ret = ParamsChecked($params, $p); - if($ret !== true) + // 参数是否有误 + if(empty($params['ids'])) { - return DataReturn($ret, -1); + return DataReturn('商品id有误', -1); + } + // 是否数组 + if(!is_array($params['ids'])) + { + $params['ids'] = explode(',', $params['ids']); } // 删除操作 - if(Db::name('Slide')->where(['id'=>$params['id']])->delete()) + if(Db::name('Slide')->where(['id'=>$params['ids']])->delete()) { return DataReturn('删除成功'); } - return DataReturn('删除失败或资源不存在', -100); + return DataReturn('删除失败', -100); } /** @@ -291,6 +238,11 @@ class SlideService 'key_name' => 'id', 'error_msg' => '操作id有误', ], + [ + 'checked_type' => 'empty', + 'key_name' => 'field', + 'error_msg' => '未指定操作字段', + ], [ 'checked_type' => 'in', 'key_name' => 'state', @@ -305,11 +257,11 @@ class SlideService } // 数据更新 - if(Db::name('Slide')->where(['id'=>intval($params['id'])])->update(['is_enable'=>intval($params['state'])])) + if(Db::name('Slide')->where(['id'=>intval($params['id'])])->update([$params['field']=>intval($params['state']), 'upd_time'=>time()])) { return DataReturn('编辑成功'); } - return DataReturn('编辑失败或数据未改变', -100); + return DataReturn('编辑失败', -100); } } ?> \ No newline at end of file diff --git a/config/shopxo.sql b/config/shopxo.sql index c9797b0b6..21507f4cc 100644 --- a/config/shopxo.sql +++ b/config/shopxo.sql @@ -11,7 +11,7 @@ Target Server Version : 50729 File Encoding : utf-8 - Date: 06/16/2020 23:26:40 PM + Date: 06/18/2020 01:07:28 AM */ SET NAMES utf8mb4; @@ -41,7 +41,7 @@ CREATE TABLE `s_admin` ( -- Records of `s_admin` -- ---------------------------- BEGIN; -INSERT INTO `s_admin` VALUES ('1', 'admin', '0d44275f28c66574b83d2cd7ae299539', '117105', '17688888888', '0', '0', '486', '1592147302', '1', '1481350313', '1551341520'), ('4', 'shopxo', '29297307e33b6c4b4b1a218b2c5bd0af', '162258', '', '0', '1', '3', '1588067855', '13', '1580807200', '1591872155'); +INSERT INTO `s_admin` VALUES ('1', 'admin', 'b7c1877dd74965b57f0c9b269634f5dd', '151388', '17688888888', '0', '0', '487', '1592411214', '1', '1481350313', '1551341520'), ('4', 'shopxo', '29297307e33b6c4b4b1a218b2c5bd0af', '162258', '', '0', '1', '3', '1588067855', '13', '1580807200', '1591872155'); COMMIT; -- ---------------------------- @@ -349,7 +349,7 @@ CREATE TABLE `s_custom_view` ( -- Records of `s_custom_view` -- ---------------------------- BEGIN; -INSERT INTO `s_custom_view` VALUES ('1', '测试自定义页面22沙发上冬瓜豆腐东方红甘肃光合谷 vV 币 vv 小白菜 v 吧俄国人搞活动个人风格 VC 不超过吧都是', '

\"1.jpeg\"/

ShopXO

秀,身材苗条!

在欧美的排版业界中,使用 Arial 的作品意即是「不使用 Helvetica 的作品」,会被认為是设计师对字体的使用没有概念或是太容易妥协,基本上我大致也是同意。


因為 Helvetica 只有 Mac 上才有內建,Windows 用戶除非花錢買,不然是沒有 Helvetica 能用,所以使用 Arial 的設計師往往被看成是不願意對 Typography 花錢,專業素養不到家的人。除了在確保網頁相容性等絕對必需的情況外,幾乎可以說是不應該使用的字體。


在欧美的排版业界中,使用 Arial 的作品意即是「不使用 Helvetica 的作品」,会被认為是设计师对字体的使用没有概念或是太容易妥协,基本上我大致也是同意。

因為 Helvetica 只有 Mac 上才有內建,Windows 用戶除非花錢買,不然是沒有 Helvetica 能用,所以使用 Arial 的設計師往往被看成是不願意對 Typography 花錢,專業素養不到家的人。除了在確保網頁相容性等絕對必需的情況外,幾乎可以說是不應該使用的字體。


在欧美的排版业界中,使用 Arial 的作品意即是「不使用 Helvetica 的作品」,会被认為是设计师对字体的使用没有概念或是太容易妥协,基本上我大致也是同意。

因為 Helvetica 只有 Mac 上才有內建,Windows 用戶除非花錢買,不然是沒有 Helvetica 能用,所以使用 Arial 的設計師往往被看成是不願意對 Typography 花錢,專業素養不到家的人。除了在確保網頁相容性等絕對必需的情況外,幾乎可以說是不應該使用的字體。



在欧美的排版业界中,使用 Arial 的作品意即是「不使用 Helvetica 的作品」,会被认為是设计师对字体的使用没有概念或是太容易妥协,基本上我大致也是同意。

因為 Helvetica 只有 Mac 上才有內建,Windows 用戶除非花錢買,不然是沒有 Helvetica 能用,所以使用 Arial 的設計師往往被看成是不願意對 Typography 花錢,專業素養不到家的人。除了在確保網頁相容性等絕對必需的情況外,幾乎可以說是不應該使用的字體。


在欧美的排版业界中,使用 Arial 的作品意即是「不使用 Helvetica 的作品」,会被认為是设计师对字体的使用没有概念或是太容易妥协,基本上我大致也是同意。

因為 Helvetica 只有 Mac 上才有內建,Windows 用戶除非花錢買,不然是沒有 Helvetica 能用,所以使用 Arial 的設計師往往被看成是不願意對 Typography 花錢,專業素養不到家的人。除了在確保網頁相容性等絕對必需的情況外,幾乎可以說是不應該使用的字體。


', '1', '1', '1', '0', '[\"/static/upload/images/customview/image/2018/08/09/1533779966550231.jpeg\",\"/static/upload/images/customview/image/2018/08/09/1533779966550231.jpeg\",\"/static/upload/images/customview/image/2018/08/09/1533779966550231.jpeg\"]', '1', '922', '1484965691', '1592300274'); +INSERT INTO `s_custom_view` VALUES ('1', '测试自定义页面22沙发上冬瓜豆腐东方红甘肃光合谷 vV 币 vv 小白菜 v 吧俄国人搞活动个人风格 VC 不超过吧都是', '

\"1.jpeg\"/

ShopXO

秀,身材苗条!

在欧美的排版业界中,使用 Arial 的作品意即是「不使用 Helvetica 的作品」,会被认為是设计师对字体的使用没有概念或是太容易妥协,基本上我大致也是同意。


因為 Helvetica 只有 Mac 上才有內建,Windows 用戶除非花錢買,不然是沒有 Helvetica 能用,所以使用 Arial 的設計師往往被看成是不願意對 Typography 花錢,專業素養不到家的人。除了在確保網頁相容性等絕對必需的情況外,幾乎可以說是不應該使用的字體。


在欧美的排版业界中,使用 Arial 的作品意即是「不使用 Helvetica 的作品」,会被认為是设计师对字体的使用没有概念或是太容易妥协,基本上我大致也是同意。

因為 Helvetica 只有 Mac 上才有內建,Windows 用戶除非花錢買,不然是沒有 Helvetica 能用,所以使用 Arial 的設計師往往被看成是不願意對 Typography 花錢,專業素養不到家的人。除了在確保網頁相容性等絕對必需的情況外,幾乎可以說是不應該使用的字體。


在欧美的排版业界中,使用 Arial 的作品意即是「不使用 Helvetica 的作品」,会被认為是设计师对字体的使用没有概念或是太容易妥协,基本上我大致也是同意。

因為 Helvetica 只有 Mac 上才有內建,Windows 用戶除非花錢買,不然是沒有 Helvetica 能用,所以使用 Arial 的設計師往往被看成是不願意對 Typography 花錢,專業素養不到家的人。除了在確保網頁相容性等絕對必需的情況外,幾乎可以說是不應該使用的字體。



在欧美的排版业界中,使用 Arial 的作品意即是「不使用 Helvetica 的作品」,会被认為是设计师对字体的使用没有概念或是太容易妥协,基本上我大致也是同意。

因為 Helvetica 只有 Mac 上才有內建,Windows 用戶除非花錢買,不然是沒有 Helvetica 能用,所以使用 Arial 的設計師往往被看成是不願意對 Typography 花錢,專業素養不到家的人。除了在確保網頁相容性等絕對必需的情況外,幾乎可以說是不應該使用的字體。


在欧美的排版业界中,使用 Arial 的作品意即是「不使用 Helvetica 的作品」,会被认為是设计师对字体的使用没有概念或是太容易妥协,基本上我大致也是同意。

因為 Helvetica 只有 Mac 上才有內建,Windows 用戶除非花錢買,不然是沒有 Helvetica 能用,所以使用 Arial 的設計師往往被看成是不願意對 Typography 花錢,專業素養不到家的人。除了在確保網頁相容性等絕對必需的情況外,幾乎可以說是不應該使用的字體。


', '1', '1', '1', '0', '[\"/static/upload/images/customview/image/2018/08/09/1533779966550231.jpeg\",\"/static/upload/images/customview/image/2018/08/09/1533779966550231.jpeg\",\"/static/upload/images/customview/image/2018/08/09/1533779966550231.jpeg\"]', '1', '923', '1484965691', '1592300274'); COMMIT; -- ---------------------------- @@ -1342,13 +1342,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=408 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='权限'; +) ENGINE=InnoDB AUTO_INCREMENT=409 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='权限'; -- ---------------------------- -- Records of `s_power` -- ---------------------------- BEGIN; -INSERT INTO `s_power` VALUES ('1', '0', '权限控制', 'Power', 'Index', '3', '1', 'icon-quanxian', '1481612301'), ('4', '1', '角色管理', 'Role', 'Index', '20', '1', '', '1481639037'), ('13', '1', '权限分配', 'Power', 'Index', '30', '1', '', '1482156143'), ('15', '1', '权限添加/编辑', 'Power', 'Save', '31', '0', '', '1482243750'), ('16', '1', '权限删除', 'Power', 'Delete', '32', '0', '', '1482243797'), ('17', '1', '角色组添加/编辑页面', 'Role', 'SaveInfo', '21', '0', '', '1482243855'), ('18', '1', '角色组添加/编辑', 'Role', 'Save', '22', '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', '角色删除', 'Role', 'Delete', '23', '0', '', '1482569155'), ('38', '0', '商品管理', 'Goods', 'Index', '5', '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', '2', '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', '50', '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', '4', '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', '6', '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', 'StatusUpdate', '5', '0', '', '1528080200'), ('182', '0', '数据管理', 'Data', 'Index', '22', '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', '30', '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', '20', '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', '21', '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'), ('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', 'Detail', '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', '角色状态更新', 'Role', 'StatusUpdate', '24', '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'), ('339', '41', '后台配置', 'Config', 'Index', '0', '1', '', '1549419752'), ('340', '0', '应用中心', 'Store', 'Index', '30', '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'), ('362', '81', '协议管理', 'Agreement', 'Index', '40', '1', '', '1486561615'), ('363', '81', '协议设置编辑', 'Agreement', 'Save', '41', '0', '', '1486562011'), ('364', '177', '订单售后', 'Orderaftersale', 'Index', '10', '1', '', '1522317898'), ('365', '177', '订单售后删除', 'Orderaftersale', 'Delete', '11', '0', '', '1522317917'), ('366', '177', '订单售后取消', 'Orderaftersale', 'Cancel', '12', '0', '', '1527497803'), ('367', '177', '订单售后审核', 'Orderaftersale', 'Audit', '13', '0', '', '1538413499'), ('368', '177', '订单售后确认', 'Orderaftersale', 'Confirm', '14', '0', '', '1538414034'), ('369', '177', '订单售后拒绝', 'Orderaftersale', 'Refuse', '15', '0', '', '1538757043'), ('372', '182', '退款日志', 'RefundLog', 'Index', '20', '1', '', '1528080200'), ('373', '340', '应用商店', 'Store', 'Index', '10', '1', '', '1553248727'), ('374', '340', '应用安装', 'Pluginsadmin', 'Install', '6', '0', '', '1561369950'), ('375', '340', '应用卸载', 'Pluginsadmin', 'Uninstall', '7', '0', '', '1561370063'), ('376', '319', '用户中心导航', 'AppCenterNav', 'Index', '20', '1', '', '1542558318'), ('377', '319', '用户中心导航添加/编辑页面', 'AppCenterNav', 'SaveInfo', '21', '0', '', '1542558686'), ('378', '319', '用户中心导航添加/编辑', 'AppCenterNav', 'Save', '22', '0', '', '1542558706'), ('379', '319', '用户中心导航状态更新', 'AppCenterNav', 'StatusUpdate', '23', '0', '', '1542558747'), ('380', '319', '用户中心导航删除', 'AppCenterNav', 'Delete', '24', '0', '', '1542558767'), ('381', '0', '百度小程序', 'AppMiniBaidu', 'Index', '12', '1', 'icon-xiaochengxu-baidu', '1546935020'), ('382', '381', '基础配置', 'AppMiniBaiduConfig', 'Index', '0', '1', '', '1546935090'), ('383', '381', '基础配置保存', 'AppMiniBaiduConfig', 'Save', '1', '0', '', '1546935118'), ('384', '381', '小程序', 'AppMiniBaiduList', 'Index', '10', '1', '', '1546935153'), ('385', '381', '小程序生成', 'AppMiniBaiduList', 'Created', '11', '0', '', '1546935187'), ('386', '381', '小程序删除', 'AppMiniBaiduList', 'Delete', '12', '0', '', '1546935212'), ('387', '222', '主题下载', 'Theme', 'Download', '34', '0', '', '1494410699'), ('388', '0', '头条小程序', 'AppMiniToutiao', 'Index', '13', '1', 'icon-xiaochengxu-toutiao', '1546935020'), ('389', '388', '基础配置', 'AppMiniToutiaoConfig', 'Index', '0', '1', '', '1546935090'), ('390', '388', '基础配置保存', 'AppMiniToutiaoConfig', 'Save', '1', '0', '', '1546935118'), ('391', '388', '小程序', 'AppMiniToutiaoList', 'Index', '10', '1', '', '1546935153'), ('392', '388', '小程序生成', 'AppMiniToutiaoList', 'Created', '11', '0', '', '1546935187'), ('393', '388', '小程序删除', 'AppMiniToutiaoList', 'Delete', '12', '0', '', '1546935212'), ('394', '0', 'QQ小程序', 'AppMiniQQ', 'Index', '14', '1', 'icon-xiaochengxu-qq', '1546935020'), ('395', '394', '基础配置', 'AppMiniQQConfig', 'Index', '0', '1', '', '1546935090'), ('396', '394', '基础配置保存', 'AppMiniQQConfig', 'Save', '1', '0', '', '1546935118'), ('397', '394', '小程序', 'AppMiniQQList', 'Index', '10', '1', '', '1546935153'), ('398', '394', '小程序生成', 'AppMiniQQList', 'Created', '11', '0', '', '1546935187'), ('399', '394', '小程序删除', 'AppMiniQQList', 'Delete', '12', '0', '', '1546935212'), ('400', '177', '订单详情', 'Order', 'Detail', '8', '0', '', '1589534580'), ('401', '177', '订单售后详情', 'Orderaftersale', 'Detail', '16', '0', '', '1589538361'), ('402', '38', '商品详情', 'Goods', 'Detail', '6', '0', '', '1589539780'), ('403', '38', '商品评论详情', 'Goodscomments', 'Detail', '26', '0', '', '1591609904'), ('404', '126', '用户详情', 'User', 'Detail', '7', '0', '', '1591621569'), ('405', '1', '管理员详情', 'Admin', 'Detail', '5', '0', '', '1591951422'), ('406', '1', '角色详情', 'Role', 'Detail', '25', '0', '', '1542102071'), ('407', '222', '自定义页面详情', 'CustomView', 'Detail', '16', '0', '', '1592287822'); +INSERT INTO `s_power` VALUES ('1', '0', '权限控制', 'Power', 'Index', '3', '1', 'icon-quanxian', '1481612301'), ('4', '1', '角色管理', 'Role', 'Index', '20', '1', '', '1481639037'), ('13', '1', '权限分配', 'Power', 'Index', '30', '1', '', '1482156143'), ('15', '1', '权限添加/编辑', 'Power', 'Save', '31', '0', '', '1482243750'), ('16', '1', '权限删除', 'Power', 'Delete', '32', '0', '', '1482243797'), ('17', '1', '角色组添加/编辑页面', 'Role', 'SaveInfo', '21', '0', '', '1482243855'), ('18', '1', '角色组添加/编辑', 'Role', 'Save', '22', '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', '角色删除', 'Role', 'Delete', '23', '0', '', '1482569155'), ('38', '0', '商品管理', 'Goods', 'Index', '5', '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', '2', '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', '50', '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', '4', '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', '6', '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', 'StatusUpdate', '5', '0', '', '1528080200'), ('182', '0', '数据管理', 'Data', 'Index', '22', '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', '30', '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', '20', '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', '21', '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'), ('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', 'Detail', '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', '角色状态更新', 'Role', 'StatusUpdate', '24', '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'), ('339', '41', '后台配置', 'Config', 'Index', '0', '1', '', '1549419752'), ('340', '0', '应用中心', 'Store', 'Index', '30', '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'), ('362', '81', '协议管理', 'Agreement', 'Index', '40', '1', '', '1486561615'), ('363', '81', '协议设置编辑', 'Agreement', 'Save', '41', '0', '', '1486562011'), ('364', '177', '订单售后', 'Orderaftersale', 'Index', '10', '1', '', '1522317898'), ('365', '177', '订单售后删除', 'Orderaftersale', 'Delete', '11', '0', '', '1522317917'), ('366', '177', '订单售后取消', 'Orderaftersale', 'Cancel', '12', '0', '', '1527497803'), ('367', '177', '订单售后审核', 'Orderaftersale', 'Audit', '13', '0', '', '1538413499'), ('368', '177', '订单售后确认', 'Orderaftersale', 'Confirm', '14', '0', '', '1538414034'), ('369', '177', '订单售后拒绝', 'Orderaftersale', 'Refuse', '15', '0', '', '1538757043'), ('372', '182', '退款日志', 'RefundLog', 'Index', '20', '1', '', '1528080200'), ('373', '340', '应用商店', 'Store', 'Index', '10', '1', '', '1553248727'), ('374', '340', '应用安装', 'Pluginsadmin', 'Install', '6', '0', '', '1561369950'), ('375', '340', '应用卸载', 'Pluginsadmin', 'Uninstall', '7', '0', '', '1561370063'), ('376', '319', '用户中心导航', 'AppCenterNav', 'Index', '20', '1', '', '1542558318'), ('377', '319', '用户中心导航添加/编辑页面', 'AppCenterNav', 'SaveInfo', '21', '0', '', '1542558686'), ('378', '319', '用户中心导航添加/编辑', 'AppCenterNav', 'Save', '22', '0', '', '1542558706'), ('379', '319', '用户中心导航状态更新', 'AppCenterNav', 'StatusUpdate', '23', '0', '', '1542558747'), ('380', '319', '用户中心导航删除', 'AppCenterNav', 'Delete', '24', '0', '', '1542558767'), ('381', '0', '百度小程序', 'AppMiniBaidu', 'Index', '12', '1', 'icon-xiaochengxu-baidu', '1546935020'), ('382', '381', '基础配置', 'AppMiniBaiduConfig', 'Index', '0', '1', '', '1546935090'), ('383', '381', '基础配置保存', 'AppMiniBaiduConfig', 'Save', '1', '0', '', '1546935118'), ('384', '381', '小程序', 'AppMiniBaiduList', 'Index', '10', '1', '', '1546935153'), ('385', '381', '小程序生成', 'AppMiniBaiduList', 'Created', '11', '0', '', '1546935187'), ('386', '381', '小程序删除', 'AppMiniBaiduList', 'Delete', '12', '0', '', '1546935212'), ('387', '222', '主题下载', 'Theme', 'Download', '34', '0', '', '1494410699'), ('388', '0', '头条小程序', 'AppMiniToutiao', 'Index', '13', '1', 'icon-xiaochengxu-toutiao', '1546935020'), ('389', '388', '基础配置', 'AppMiniToutiaoConfig', 'Index', '0', '1', '', '1546935090'), ('390', '388', '基础配置保存', 'AppMiniToutiaoConfig', 'Save', '1', '0', '', '1546935118'), ('391', '388', '小程序', 'AppMiniToutiaoList', 'Index', '10', '1', '', '1546935153'), ('392', '388', '小程序生成', 'AppMiniToutiaoList', 'Created', '11', '0', '', '1546935187'), ('393', '388', '小程序删除', 'AppMiniToutiaoList', 'Delete', '12', '0', '', '1546935212'), ('394', '0', 'QQ小程序', 'AppMiniQQ', 'Index', '14', '1', 'icon-xiaochengxu-qq', '1546935020'), ('395', '394', '基础配置', 'AppMiniQQConfig', 'Index', '0', '1', '', '1546935090'), ('396', '394', '基础配置保存', 'AppMiniQQConfig', 'Save', '1', '0', '', '1546935118'), ('397', '394', '小程序', 'AppMiniQQList', 'Index', '10', '1', '', '1546935153'), ('398', '394', '小程序生成', 'AppMiniQQList', 'Created', '11', '0', '', '1546935187'), ('399', '394', '小程序删除', 'AppMiniQQList', 'Delete', '12', '0', '', '1546935212'), ('400', '177', '订单详情', 'Order', 'Detail', '8', '0', '', '1589534580'), ('401', '177', '订单售后详情', 'Orderaftersale', 'Detail', '16', '0', '', '1589538361'), ('402', '38', '商品详情', 'Goods', 'Detail', '6', '0', '', '1589539780'), ('403', '38', '商品评论详情', 'Goodscomments', 'Detail', '26', '0', '', '1591609904'), ('404', '126', '用户详情', 'User', 'Detail', '7', '0', '', '1591621569'), ('405', '1', '管理员详情', 'Admin', 'Detail', '5', '0', '', '1591951422'), ('406', '1', '角色详情', 'Role', 'Detail', '25', '0', '', '1542102071'), ('407', '222', '自定义页面详情', 'CustomView', 'Detail', '16', '0', '', '1592287822'), ('408', '222', '轮播详情', 'Slide', 'Detail', '45', '0', '', '1592413297'); COMMIT; -- ---------------------------- @@ -1558,13 +1558,13 @@ CREATE TABLE `s_slide` ( KEY `is_enable` (`is_enable`), KEY `sort` (`sort`), KEY `platform` (`platform`) -) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='轮播图片'; +) ENGINE=InnoDB AUTO_INCREMENT=22 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='轮播图片'; -- ---------------------------- -- Records of `s_slide` -- ---------------------------- BEGIN; -INSERT INTO `s_slide` VALUES ('6', 'weixin', '1', '/pages/goods-search/goods-search?keywords=iphone', '/static/upload/images/slide/2018/08/20180810094402044087.jpeg', '浪漫七夕', '#080718', '1', '0', '1533865442', '1561912492'), ('7', 'weixin', '1', '/pages/goods-detail/goods-detail?goods_id=12', '/static/upload/images/slide/2018/08/20180810095910423687.jpeg', '海洋的未来', '#016bcc', '1', '0', '1533866350', '1546281301'), ('8', 'alipay', '1', '/pages/goods-search/goods-search?keywords=iphone', '/static/upload/images/slide/2018/08/20180810100811853567.jpeg', '大闸蟹', '#f2efe6', '1', '0', '1533866891', '1542618684'), ('9', 'alipay', '1', '/pages/goods-detail/goods-detail?goods_id=1', '/static/upload/images/slide/2018/08/20180810101045451156.jpeg', '情定七夕', '#7ddcf3', '1', '0', '1533867045', '1563361583'), ('10', 'pc', '0', 'https://shopxo.net/', '/static/upload/images/slide/2018/08/20180810101106984022.jpeg', '美酒', '#f4bccb', '1', '0', '1533867066', '1547458393'), ('11', 'pc', '0', 'https://ask.shopxo.net/', '/static/upload/images/slide/2018/08/20180810101154662873.jpeg', '助力七夕', '#85c8c7', '1', '0', '1533867114', '1573648843'), ('12', 'h5', '0', 'https://shopxo.net', '/static/upload/images/slide/2018/08/20180810101224227323.jpeg', '爱在厨房', '#efc6c4', '1', '0', '1533867144', '1545290041'), ('13', 'baidu', '1', '/pages/goods-search/goods-search?keywords=iphone', '/static/upload/images/slide/2018/08/20180810101305611263.jpeg', '预享甜蜜', '#f6f6f4', '1', '0', '1533867185', '1545290030'), ('14', 'baidu', '1', '/pages/goods-detail/goods-detail?goods_id=12', '/static/upload/images/slide/2018/08/20180810095910423687.jpeg', '海洋的未来', '#016bcc', '1', '0', '1533866350', '1546281301'), ('15', 'toutiao', '1', '/pages/goods-search/goods-search?keywords=iphone', '/static/upload/images/slide/2018/08/20180810094402044087.jpeg', '浪漫七夕', '#080718', '1', '0', '1533865442', '1561912492'), ('16', 'toutiao', '1', '/pages/goods-detail/goods-detail?goods_id=12', '/static/upload/images/slide/2018/08/20180810095910423687.jpeg', '海洋的未来', '#016bcc', '1', '0', '1533866350', '1573648835'), ('17', 'qq', '1', '/pages/goods-search/goods-search?keywords=iphone', '/static/upload/images/slide/2018/08/20180810094402044087.jpeg', '浪漫七夕', '#080718', '1', '0', '1533865442', '1572867692'), ('18', 'qq', '1', '/pages/goods-detail/goods-detail?goods_id=12', '/static/upload/images/slide/2018/08/20180810095910423687.jpeg', '海洋的未来', '#016bcc', '1', '0', '1533866350', '1546281301'); +INSERT INTO `s_slide` VALUES ('6', 'weixin', '1', '/pages/goods-search/goods-search?keywords=iphone', '/static/upload/images/slide/2018/08/20180810094402044087.jpeg', '浪漫七夕', '#080718', '1', '0', '1533865442', '1592413362'), ('7', 'weixin', '1', '/pages/goods-detail/goods-detail?goods_id=12', '/static/upload/images/slide/2018/08/20180810095910423687.jpeg', '海洋的未来', '#016bcc', '1', '0', '1533866350', '1546281301'), ('8', 'alipay', '1', '/pages/goods-search/goods-search?keywords=iphone', '/static/upload/images/slide/2018/08/20180810100811853567.jpeg', '大闸蟹', '#f2efe6', '1', '0', '1533866891', '1542618684'), ('9', 'alipay', '1', '/pages/goods-detail/goods-detail?goods_id=1', '/static/upload/images/slide/2018/08/20180810101045451156.jpeg', '情定七夕', '#7ddcf3', '1', '0', '1533867045', '1563361583'), ('10', 'pc', '0', 'https://shopxo.net/', '/static/upload/images/slide/2018/08/20180810101106984022.jpeg', '美酒', '#f4bccb', '1', '0', '1533867066', '1547458393'), ('11', 'pc', '0', 'https://ask.shopxo.net/', '/static/upload/images/slide/2018/08/20180810101154662873.jpeg', '助力七夕', '#85c8c7', '1', '0', '1533867114', '1573648843'), ('12', 'h5', '0', 'https://shopxo.net', '/static/upload/images/slide/2018/08/20180810101224227323.jpeg', '爱在厨房', '#efc6c4', '1', '0', '1533867144', '1545290041'), ('13', 'baidu', '1', '/pages/goods-search/goods-search?keywords=iphone', '/static/upload/images/slide/2018/08/20180810101305611263.jpeg', '预享甜蜜', '#f6f6f4', '1', '0', '1533867185', '1545290030'), ('14', 'baidu', '1', '/pages/goods-detail/goods-detail?goods_id=12', '/static/upload/images/slide/2018/08/20180810095910423687.jpeg', '海洋的未来', '#016bcc', '1', '0', '1533866350', '1546281301'), ('15', 'toutiao', '1', '/pages/goods-search/goods-search?keywords=iphone', '/static/upload/images/slide/2018/08/20180810094402044087.jpeg', '浪漫七夕', '#080718', '1', '0', '1533865442', '1561912492'), ('16', 'toutiao', '1', '/pages/goods-detail/goods-detail?goods_id=12', '/static/upload/images/slide/2018/08/20180810095910423687.jpeg', '海洋的未来', '#016bcc', '1', '0', '1533866350', '1573648835'), ('17', 'qq', '1', '/pages/goods-search/goods-search?keywords=iphone', '/static/upload/images/slide/2018/08/20180810094402044087.jpeg', '浪漫七夕', '#080718', '1', '0', '1533865442', '1572867692'), ('18', 'qq', '1', '/pages/goods-detail/goods-detail?goods_id=12', '/static/upload/images/slide/2018/08/20180810095910423687.jpeg', '海洋的未来', '#016bcc', '1', '0', '1533866350', '1546281301'); COMMIT; -- ---------------------------- diff --git a/sourcecode/weixin/pages/plugins/weixinliveplayer/detail/detail.js b/sourcecode/weixin/pages/plugins/weixinliveplayer/detail/detail.js index 7a0a1ea12..d966a1946 100644 --- a/sourcecode/weixin/pages/plugins/weixinliveplayer/detail/detail.js +++ b/sourcecode/weixin/pages/plugins/weixinliveplayer/detail/detail.js @@ -90,7 +90,7 @@ Page({ player_event(e) { var params = encodeURIComponent(JSON.stringify({type: 'detail'})); wx.navigateTo({ - url: `plugin-private://wx2b03c6e691cd7370/pages/live-player-plugin?room_id=${this.data.detail.id}&custom_params=${params}` + url: `plugin-private://wx2b03c6e691cd7370/pages/live-player-plugin?room_id=${this.data.detail.roomid}&custom_params=${params}` }); },