From 9c35f1c49c5a15f63894d311d020736db4e13979 Mon Sep 17 00:00:00 2001 From: Devil Date: Wed, 25 Nov 2020 22:59:17 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=95=86=E5=93=81=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E8=87=AA=E5=AE=9A=E4=B9=89=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + application/admin/controller/Site.php | 285 ++++++++++++------ .../index.html} | 8 +- .../site/{base.html => base/index.html} | 8 +- .../site/{cache.html => cache/index.html} | 8 +- .../site/{extends.html => extends/index.html} | 8 +- .../{forgetpwd.html => forgetpwd/index.html} | 8 +- .../site/{login.html => login/index.html} | 8 +- application/admin/view/default/site/nav.html | 49 --- .../index.html} | 8 +- .../default/site/public/goods_search.html | 21 ++ .../admin/view/default/site/public/nav.html | 30 ++ .../view/default/site/public/siteset_nav.html | 9 + .../{register.html => register/index.html} | 8 +- .../view/default/site/siteset/extends.html | 41 +++ .../view/default/site/siteset/goods.html | 52 ++++ .../site/{siteset.html => siteset/index.html} | 217 +++++++------ .../view/default/site/siteset/order.html | 37 +++ .../view/default/site/siteset/search.html | 41 +++ .../{sitetype.html => sitetype/index.html} | 8 +- .../site/{verify.html => verify/index.html} | 8 +- application/lang/zh-cn.php | 5 + application/service/ConfigService.php | 1 + application/service/GoodsService.php | 215 ++++++++----- application/service/SiteService.php | 186 ++++++++++++ application/tags.php | 18 ++ changelog.txt | 3 +- config/shopxo.sql | 190 +++++++++--- public/static/admin/default/css/site.css | 76 ++++- public/static/admin/default/js/site.js | 141 ++++++++- public/static/common/css/common.css | 2 +- 31 files changed, 1293 insertions(+), 407 deletions(-) rename application/admin/view/default/site/{attachment.html => attachment/index.html} (96%) rename application/admin/view/default/site/{base.html => base/index.html} (98%) rename application/admin/view/default/site/{cache.html => cache/index.html} (99%) rename application/admin/view/default/site/{extends.html => extends/index.html} (98%) rename application/admin/view/default/site/{forgetpwd.html => forgetpwd/index.html} (98%) rename application/admin/view/default/site/{login.html => login/index.html} (99%) delete mode 100644 application/admin/view/default/site/nav.html rename application/admin/view/default/site/{orderaftersale.html => orderaftersale/index.html} (97%) create mode 100644 application/admin/view/default/site/public/goods_search.html create mode 100644 application/admin/view/default/site/public/nav.html create mode 100644 application/admin/view/default/site/public/siteset_nav.html rename application/admin/view/default/site/{register.html => register/index.html} (98%) create mode 100644 application/admin/view/default/site/siteset/extends.html create mode 100644 application/admin/view/default/site/siteset/goods.html rename application/admin/view/default/site/{siteset.html => siteset/index.html} (53%) create mode 100644 application/admin/view/default/site/siteset/order.html create mode 100644 application/admin/view/default/site/siteset/search.html rename application/admin/view/default/site/{sitetype.html => sitetype/index.html} (99%) rename application/admin/view/default/site/{verify.html => verify/index.html} (97%) create mode 100644 application/service/SiteService.php diff --git a/.gitignore b/.gitignore index d64e0577e..b8c5122c2 100755 --- a/.gitignore +++ b/.gitignore @@ -6,5 +6,6 @@ .tea .idea .htaccess +nginx.htaccess *payment_*_respond.php *payment_*_notify.php \ No newline at end of file diff --git a/application/admin/controller/Site.php b/application/admin/controller/Site.php index f7081a3c9..ce78ae3ae 100755 --- a/application/admin/controller/Site.php +++ b/application/admin/controller/Site.php @@ -12,6 +12,7 @@ namespace app\admin\controller; use app\service\ConfigService; use app\service\GoodsService; +use app\service\SiteService; /** * 站点设置 @@ -22,6 +23,9 @@ use app\service\GoodsService; */ class Site extends Common { + public $nav_type; + public $view_type; + /** * 构造方法 * @author Devil @@ -39,20 +43,96 @@ class Site extends Common // 权限校验 $this->IsPower(); + + // 导航类型 + $this->nav_type = input('nav_type', 'base'); + $this->view_type = input('view_type', 'index'); + + // 仅网站设置页面存在多个子页面 + if($this->nav_type != 'siteset') + { + $this->view_type = 'index'; + } } /** - * [Index 配置列表] - * @author Devil - * @blog http://gong.gg/ - * @version 0.0.1 - * @datetime 2016-12-06T21:31:53+0800 - */ + * 配置列表 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2020-11-25 + * @desc description + */ public function Index() { - // 导航 - $nav_type = input('nav_type', 'base'); - $this->assign('nav_type', $nav_type); + // 公共数据 + $this->CurrentViewInit(); + + // 配置信息 + $data = ConfigService::ConfigList(); + $this->assign('data', $data); + + // 数据处理 + switch($this->nav_type) + { + // 自提点 + case 'sitetype' : + // 地址处理 + if(!empty($data['common_self_extraction_address']) && !empty($data['common_self_extraction_address']['value'])) + { + $address = ConfigService::SiteTypeExtractionAddressList($data['common_self_extraction_address']['value']); + $this->assign('sitetype_address_list', $address['data']); + } + + // 加载百度地图api + $this->assign('is_load_baidu_map_api', 1); + break; + + // 网站设置 + case 'siteset' : + // 获取商品一级分类 + $where = ['pid'=>0, 'is_home_recommended'=>1, 'is_enable'=>1]; + $category = GoodsService::GoodsCategoryList(['where'=>$where]); + if(!empty($category)) + { + $floor_keywords = (empty($data['home_index_floor_top_right_keywords']) || empty($data['home_index_floor_top_right_keywords']['value'])) ? [] : json_decode($data['home_index_floor_top_right_keywords']['value'], true); + foreach($category as &$c) + { + $c['config_keywords'] = isset($floor_keywords[$c['id']]) ? $floor_keywords[$c['id']] : ''; + } + } + $this->assign('goods_category_list', $category); + + // 楼层自定义商品 + if(!empty($data['home_index_floor_manual_mode_goods']) && !empty($data['home_index_floor_manual_mode_goods']['value'])) + { + $ret = SiteService::FloorManualModeGoodsViewHandle(json_decode($data['home_index_floor_manual_mode_goods']['value'], true)); + $this->assign('floor_manual_mode_goods_list', $ret['data']); + } + break; + } + + // 编辑器文件存放地址 + $this->assign('editor_path_type', 'common'); + + // 视图 + $view = 'site/'.$this->nav_type.'/'.$this->view_type; + return $this->fetch($view); + } + + /** + * 公共视图 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2020-11-21 + * @desc description + */ + public function CurrentViewInit() + { + // 主/子导航 + $this->assign('nav_type', $this->nav_type); + $this->assign('view_type', $this->view_type); // 时区 $this->assign('site_timezone_list', lang('site_timezone_list')); @@ -88,56 +168,89 @@ class Site extends Common $this->assign('goods_order_by_type_list', lang('goods_order_by_type_list')); $this->assign('goods_order_by_rule_list', lang('goods_order_by_rule_list')); - // 配置信息 - $data = ConfigService::ConfigList(); - $this->assign('data', $data); + // 首页楼层数据类型 + $this->assign('common_site_floor_data_type_list', lang('common_site_floor_data_type_list')); - // 数据处理 - switch($nav_type) - { - // 自提点 - case 'sitetype' : - // 地址处理 - if(!empty($data['common_self_extraction_address']) && !empty($data['common_self_extraction_address']['value'])) - { - $address = ConfigService::SiteTypeExtractionAddressList($data['common_self_extraction_address']['value']); - $this->assign('sitetype_address_list', $address['data']); - } + // 主导航 + $this->assign('second_nav_list', [ + [ + 'name' => '基础配置', + 'type' => 'base', + ], + [ + 'name' => '网站设置', + 'type' => 'siteset', + ], + [ + 'name' => '站点类型', + 'type' => 'sitetype', + ], + [ + 'name' => '用户注册', + 'type' => 'register', + ], + [ + 'name' => '用户登录', + 'type' => 'login', + ], + [ + 'name' => '密码找回', + 'type' => 'forgetpwd', + ], + [ + 'name' => '验证码', + 'type' => 'verify', + ], + [ + 'name' => '订单售后', + 'type' => 'orderaftersale', + ], + [ + 'name' => '附件', + 'type' => 'attachment', + ], + [ + 'name' => '缓存', + 'type' => 'cache', + ], + [ + 'name' => '扩展项', + 'type' => 'extends', + ], + ]); - // 加载百度地图api - $this->assign('is_load_baidu_map_api', 1); - break; - - // 网站设置 - case 'siteset' : - // 获取商品一级分类 - $where = ['pid'=>0, 'is_home_recommended'=>1, 'is_enable'=>1]; - $category = GoodsService::GoodsCategoryList(['where'=>$where]); - if(!empty($category)) - { - $floor_keywords = (empty($data['home_index_floor_top_right_keywords']) || empty($data['home_index_floor_top_right_keywords']['value'])) ? [] : json_decode($data['home_index_floor_top_right_keywords']['value'], true); - foreach($category as &$c) - { - $c['config_keywords'] = isset($floor_keywords[$c['id']]) ? $floor_keywords[$c['id']] : ''; - } - } - $this->assign('goods_category_list', $category); - break; - } - - // 编辑器文件存放地址 - $this->assign('editor_path_type', 'common'); - - // 视图 - return $this->fetch($nav_type); + // 网站设置导航 + $this->assign('siteset_nav_list', [ + [ + 'name' => '首页', + 'type' => 'index', + ], + [ + 'name' => '商品', + 'type' => 'goods', + ], + [ + 'name' => '搜索', + 'type' => 'search', + ], + [ + 'name' => '订单', + 'type' => 'order', + ], + [ + 'name' => '扩展', + 'type' => 'extends', + ], + ]); } - + /** - * [Save 配置数据保存] - * @author Devil - * @blog http://gong.gg/ - * @version 0.0.1 - * @datetime 2017-01-02T23:08:19+0800 + * 配置数据保存 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2020-11-25 + * @desc description */ public function Save() { @@ -199,7 +312,10 @@ class Site extends Common // 网站设置 case 'siteset' : + // 楼层关键字 $params['home_index_floor_top_right_keywords'] = empty($params['home_index_floor_top_right_keywords']) ? '' : json_encode($params['home_index_floor_top_right_keywords'], JSON_UNESCAPED_UNICODE); + // 楼层自定义商品 + $params['home_index_floor_manual_mode_goods'] = empty($params['home_index_floor_manual_mode_goods']) ? '' : json_encode($params['home_index_floor_manual_mode_goods'], JSON_UNESCAPED_UNICODE); break; // 缓存 @@ -208,7 +324,7 @@ class Site extends Common if(isset($params['common_session_is_use_cache']) && $params['common_session_is_use_cache'] == 1) { // 连接测试 - $ret = $this->RedisCheckConnectPing($params['common_cache_session_redis_host'], $params['common_cache_session_redis_port'], $params['common_cache_session_redis_password']); + $ret = SiteService::RedisCheckConnectPing($params['common_cache_session_redis_host'], $params['common_cache_session_redis_port'], $params['common_cache_session_redis_password']); if($ret['code'] != 0) { return $ret; @@ -219,7 +335,7 @@ class Site extends Common if(isset($params['common_data_is_use_cache']) && $params['common_data_is_use_cache'] == 1) { // 连接测试 - $ret = $this->RedisCheckConnectPing($params['common_cache_data_redis_host'], $params['common_cache_data_redis_port'], $params['common_cache_data_redis_password']); + $ret = SiteService::RedisCheckConnectPing($params['common_cache_data_redis_host'], $params['common_cache_data_redis_port'], $params['common_cache_data_redis_password']); if($ret['code'] != 0) { return $ret; @@ -263,48 +379,29 @@ class Site extends Common } /** - * redis连接测试 + * 商品搜索 * @author Devil * @blog http://gong.gg/ * @version 1.0.0 - * @date 2020-09-26 + * @date 2020-11-25 * @desc description - * @param [string] $host [连接地址] - * @param [int] $port [端口] - * @param [string] $password [密码] */ - private function RedisCheckConnectPing($host, $port, $password) - { - // 参数处理 - $host = empty($host) ? '127.0.0.1' : $host; - $port = empty($port) ? 6379 : $port; - $password = empty($password) ? '' : $password; + public function GoodsSearch() + { + // 是否ajax请求 + if(!IS_AJAX) + { + return $this->error('非法访问'); + } - // 是否已安装redis扩展 - if(!extension_loaded('redis')) - { - return DataReturn('请先安装redis扩展', -1); - } - - // 捕获异常 - try { - // 连接redis - $redis = new \Redis(); - $redis->connect($host, $port); - if($password != '') - { - $redis->auth($password); - } - } catch(\Exception $e) { - return DataReturn('redis连接失败['.$e->getMessage().']', -1); - } - - // 检测是否连接成功 - if($redis->ping()) - { - return DataReturn('redis连接成功', 0); - } - return DataReturn('redis连接失败', -1); - } + // 搜索数据 + $ret = SiteService::GoodsSearchList($this->data_post); + if($ret['code'] == 0) + { + $this->assign('data', $ret['data']['data']); + $ret['data']['data'] = $this->fetch('site/public/goods_search'); + } + return $ret; + } } ?> \ No newline at end of file diff --git a/application/admin/view/default/site/attachment.html b/application/admin/view/default/site/attachment/index.html similarity index 96% rename from application/admin/view/default/site/attachment.html rename to application/admin/view/default/site/attachment/index.html index 30355e9bf..79b1f356e 100644 --- a/application/admin/view/default/site/attachment.html +++ b/application/admin/view/default/site/attachment/index.html @@ -2,11 +2,11 @@
-
- - {{include file="site/nav" /}} - + + {{include file="site/public/nav" /}} + +
diff --git a/application/admin/view/default/site/base.html b/application/admin/view/default/site/base/index.html similarity index 98% rename from application/admin/view/default/site/base.html rename to application/admin/view/default/site/base/index.html index b1d3f5c71..eaaef31f2 100755 --- a/application/admin/view/default/site/base.html +++ b/application/admin/view/default/site/base/index.html @@ -2,11 +2,11 @@
-
- - {{include file="site/nav" /}} - + + {{include file="site/public/nav" /}} + +
diff --git a/application/admin/view/default/site/cache.html b/application/admin/view/default/site/cache/index.html similarity index 99% rename from application/admin/view/default/site/cache.html rename to application/admin/view/default/site/cache/index.html index 1bb8b4054..0bce37e71 100644 --- a/application/admin/view/default/site/cache.html +++ b/application/admin/view/default/site/cache/index.html @@ -2,11 +2,11 @@
+ + {{include file="site/public/nav" /}} + +
- - {{include file="site/nav" /}} - -
diff --git a/application/admin/view/default/site/extends.html b/application/admin/view/default/site/extends/index.html similarity index 98% rename from application/admin/view/default/site/extends.html rename to application/admin/view/default/site/extends/index.html index cbc75b5ee..df134382d 100644 --- a/application/admin/view/default/site/extends.html +++ b/application/admin/view/default/site/extends/index.html @@ -2,11 +2,11 @@
-
- - {{include file="site/nav" /}} - + + {{include file="site/public/nav" /}} + +
diff --git a/application/admin/view/default/site/forgetpwd.html b/application/admin/view/default/site/forgetpwd/index.html similarity index 98% rename from application/admin/view/default/site/forgetpwd.html rename to application/admin/view/default/site/forgetpwd/index.html index 7a7f95ea3..2d5808cc3 100644 --- a/application/admin/view/default/site/forgetpwd.html +++ b/application/admin/view/default/site/forgetpwd/index.html @@ -2,11 +2,11 @@
-
- - {{include file="site/nav" /}} - + + {{include file="site/public/nav" /}} + +
diff --git a/application/admin/view/default/site/login.html b/application/admin/view/default/site/login/index.html similarity index 99% rename from application/admin/view/default/site/login.html rename to application/admin/view/default/site/login/index.html index 8776a47b2..71f9b6c1f 100644 --- a/application/admin/view/default/site/login.html +++ b/application/admin/view/default/site/login/index.html @@ -2,11 +2,11 @@
-
- - {{include file="site/nav" /}} - + + {{include file="site/public/nav" /}} + +
diff --git a/application/admin/view/default/site/nav.html b/application/admin/view/default/site/nav.html deleted file mode 100644 index a08512021..000000000 --- a/application/admin/view/default/site/nav.html +++ /dev/null @@ -1,49 +0,0 @@ - - -{{if in_array($nav_type, ['login', 'forgetpwd'])}} - -
- -

左侧图片最多可上传3张图片、每次随机展示其中一张

-
-{{elseif in_array($nav_type, ['register']) /}} - -
- -

可自定义背景图片、默认底灰色

-
-{{/if}} \ No newline at end of file diff --git a/application/admin/view/default/site/orderaftersale.html b/application/admin/view/default/site/orderaftersale/index.html similarity index 97% rename from application/admin/view/default/site/orderaftersale.html rename to application/admin/view/default/site/orderaftersale/index.html index f0f7209c7..4a1fe426e 100644 --- a/application/admin/view/default/site/orderaftersale.html +++ b/application/admin/view/default/site/orderaftersale/index.html @@ -2,11 +2,11 @@
-
- - {{include file="site/nav" /}} - + + {{include file="site/public/nav" /}} + +
diff --git a/application/admin/view/default/site/public/goods_search.html b/application/admin/view/default/site/public/goods_search.html new file mode 100644 index 000000000..6d6d81644 --- /dev/null +++ b/application/admin/view/default/site/public/goods_search.html @@ -0,0 +1,21 @@ +{{if !empty($data)}} + {{foreach $data as $v}} +
  • + +
  • + {{/foreach}} +{{else /}} +
    没有相关商品
    +{{/if}} \ No newline at end of file diff --git a/application/admin/view/default/site/public/nav.html b/application/admin/view/default/site/public/nav.html new file mode 100644 index 000000000..5164ff729 --- /dev/null +++ b/application/admin/view/default/site/public/nav.html @@ -0,0 +1,30 @@ +{{if !empty($second_nav_list) and is_array($second_nav_list)}} +
      + {{foreach $second_nav_list as $v}} +
    • + {{$v.name}} +
    • + {{/foreach}} +
    +{{/if}} + +{{switch $nav_type}} + {{case login|forgetpwd}} + +
    +
    + +

    左侧图片最多可上传3张图片、每次随机展示其中一张

    +
    +
    + {{/case}} + {{case register}} + +
    +
    + +

    可自定义背景图片、默认底灰色

    +
    +
    + {{/case}} +{{/switch}} \ No newline at end of file diff --git a/application/admin/view/default/site/public/siteset_nav.html b/application/admin/view/default/site/public/siteset_nav.html new file mode 100644 index 000000000..51cc515bd --- /dev/null +++ b/application/admin/view/default/site/public/siteset_nav.html @@ -0,0 +1,9 @@ +{{if !empty($siteset_nav_list) and is_array($siteset_nav_list)}} +
      + {{foreach $siteset_nav_list as $v}} +
    • + {{$v.name}} +
    • + {{/foreach}} +
    +{{/if}} \ No newline at end of file diff --git a/application/admin/view/default/site/register.html b/application/admin/view/default/site/register/index.html similarity index 98% rename from application/admin/view/default/site/register.html rename to application/admin/view/default/site/register/index.html index ab05bed68..f17578a58 100644 --- a/application/admin/view/default/site/register.html +++ b/application/admin/view/default/site/register/index.html @@ -2,11 +2,11 @@
    -
    - - {{include file="site/nav" /}} - + + {{include file="site/public/nav" /}} + +
    diff --git a/application/admin/view/default/site/siteset/extends.html b/application/admin/view/default/site/siteset/extends.html new file mode 100644 index 000000000..f34fb1e9f --- /dev/null +++ b/application/admin/view/default/site/siteset/extends.html @@ -0,0 +1,41 @@ +{{include file="public/header" /}} + + +
    + + {{include file="site/public/nav" /}} + + +
    + + {{include file="site/public/siteset_nav" /}} + + + + + +
    +
    +

    快捷导航

    +
    +
    +
    + + +
    +
    +
    + +
    + + +
    + + +
    +
    + + + +{{include file="public/footer" /}} + \ No newline at end of file diff --git a/application/admin/view/default/site/siteset/goods.html b/application/admin/view/default/site/siteset/goods.html new file mode 100644 index 000000000..d70fd8d5b --- /dev/null +++ b/application/admin/view/default/site/siteset/goods.html @@ -0,0 +1,52 @@ +{{include file="public/header" /}} + + +
    + + {{include file="site/public/nav" /}} + + +
    + + {{include file="site/public/siteset_nav" /}} + + + +
    +
    + + +
    + +
    + +
    + + + + +
    +
    + +

    1. 默认展示3级,最低1级、最高3级

    +

    2. 层级不一样、前端分类页样式也会不一样

    +
    +
    + +
    + + +
    +
    + +
    +
    + + + +{{include file="public/footer" /}} + \ No newline at end of file diff --git a/application/admin/view/default/site/siteset.html b/application/admin/view/default/site/siteset/index.html similarity index 53% rename from application/admin/view/default/site/siteset.html rename to application/admin/view/default/site/siteset/index.html index a2ce3341e..87100d522 100644 --- a/application/admin/view/default/site/siteset.html +++ b/application/admin/view/default/site/siteset/index.html @@ -2,45 +2,30 @@
    + + {{include file="site/public/nav" /}} + +
    - - {{include file="site/nav" /}} - + + {{include file="site/public/siteset_nav" /}} +
    - -
    + +
    -

    全局

    +

    基础

    - - -
    -
    -
    - - -
    -
    -

    首页

    -
    -
    -
    - -
    - - - - -
    -
    - -

    1. 配置每个楼层最多展示多少个商品

    -

    2. 不建议将数量修改的太大、会导致PC端左侧空白区域太大

    -
    + +
    @@ -54,12 +39,13 @@

    1. 配置每个楼层左侧最多展示多少个二级商品分类

    2. 不建议将数量修改的太大、如高度超出楼层容器会比较拥挤

    +

    3. 商品分类显示层级配置不能小于2、否则二级分类不展示

    {{if !empty($goods_category_list)}} -
      +
        {{foreach $goods_category_list as $category}}
      • @@ -77,6 +63,30 @@

    {{/if}}
    +
    +
    + + +
    +
    +

    自动模式

    +
    +
    +
    + +
    + + + + +
    +
    + +

    1. 配置每个楼层最多展示多少个商品

    +

    2. 不建议将数量修改的太大、会导致PC端左侧空白区域太大

    +
    +
    +
    - {{foreach $common_is_text_list as $v}} - - {{/foreach}} - -
    - -
    - -
    - - - - -
    +
    -

    1. 默认展示3级,最低1级、最高3级

    -

    2. 层级不一样、前端分类页样式也会不一样

    +

    1. 可点击商品标题拖拽排序、按照顺序展示

    +

    2. 不建议添加很多商品、会导致PC端左侧空白区域太大

    -
    -
    -
    - - -
    -
    -

    搜索

    -
    -
    -
    - - -
    -
    - - -
    -
    -
    - - -
    -
    -

    订单

    -
    -
    -
    - - + {{if !empty($goods_category_list)}} +
      + {{foreach $goods_category_list as $category}} +
    • +

      + {{$category.name}} + {{$category.vice_name}} +

      +
        + {{if !empty($floor_manual_mode_goods_list) && !empty($floor_manual_mode_goods_list[$category['id']])}} + {{foreach $floor_manual_mode_goods_list[$category['id']] as $g}} +
      • + + + {{$g.title}} + {{$g.title}} + + +
      • + {{/foreach}} + {{/if}} +
      + +添加商品 +
    • + {{/foreach}} +
    + {{else /}} +
    + + 暂无数据,请先到 / 商品管理->商品分类、一级分类设置首页推荐 +
    + {{/if}}
    @@ -179,6 +168,54 @@
    + + +
    +
    +
    +

    商品添加

    + + × +
    +
    + + +
    + + + +
    + + +
    + +
    + + +
    + +
    +
    +
    {{include file="public/footer" /}} diff --git a/application/admin/view/default/site/siteset/order.html b/application/admin/view/default/site/siteset/order.html new file mode 100644 index 000000000..285be96a6 --- /dev/null +++ b/application/admin/view/default/site/siteset/order.html @@ -0,0 +1,37 @@ +{{include file="public/header" /}} + + +
    + + {{include file="site/public/nav" /}} + + +
    + + {{include file="site/public/siteset_nav" /}} + + + +
    +
    + + +
    + +
    + + +
    +
    + +
    +
    + + + +{{include file="public/footer" /}} + \ No newline at end of file diff --git a/application/admin/view/default/site/siteset/search.html b/application/admin/view/default/site/siteset/search.html new file mode 100644 index 000000000..b1c0a5c4d --- /dev/null +++ b/application/admin/view/default/site/siteset/search.html @@ -0,0 +1,41 @@ +{{include file="public/header" /}} + + +
    + + {{include file="site/public/nav" /}} + + +
    + + {{include file="site/public/siteset_nav" /}} + + + +
    +
    + + +
    +
    + + +
    + +
    + + +
    +
    + +
    +
    + + + +{{include file="public/footer" /}} + \ No newline at end of file diff --git a/application/admin/view/default/site/sitetype.html b/application/admin/view/default/site/sitetype/index.html similarity index 99% rename from application/admin/view/default/site/sitetype.html rename to application/admin/view/default/site/sitetype/index.html index fdc8f5988..000a81507 100644 --- a/application/admin/view/default/site/sitetype.html +++ b/application/admin/view/default/site/sitetype/index.html @@ -2,11 +2,11 @@
    -
    - - {{include file="site/nav" /}} - + + {{include file="site/public/nav" /}} + +
    diff --git a/application/admin/view/default/site/verify.html b/application/admin/view/default/site/verify/index.html similarity index 97% rename from application/admin/view/default/site/verify.html rename to application/admin/view/default/site/verify/index.html index dc8e202f4..7f5e02565 100644 --- a/application/admin/view/default/site/verify.html +++ b/application/admin/view/default/site/verify/index.html @@ -2,11 +2,11 @@
    -
    - - {{include file="site/nav" /}} - + + {{include file="site/public/nav" /}} + +
    diff --git a/application/lang/zh-cn.php b/application/lang/zh-cn.php index 5353b3e81..380210729 100755 --- a/application/lang/zh-cn.php +++ b/application/lang/zh-cn.php @@ -333,6 +333,11 @@ return array( 1 => array('value' => 'asc', 'name' => '升序(asc)'), ), + // 首页数据类型 + 'common_site_floor_data_type_list' => array( + 0 => array('value' => 0, 'name' => '自动模式', 'checked' => true), + 1 => array('value' => 1, 'name' => '手动模式'), + ), // 色彩值 diff --git a/application/service/ConfigService.php b/application/service/ConfigService.php index c822c4c4b..9c3d4820d 100755 --- a/application/service/ConfigService.php +++ b/application/service/ConfigService.php @@ -34,6 +34,7 @@ class ConfigService 'common_agreement_userregister', 'common_self_extraction_address', 'home_index_floor_top_right_keywords', + 'home_index_floor_manual_mode_goods', ]; // 附件字段列表 diff --git a/application/service/GoodsService.php b/application/service/GoodsService.php index ad4819fe9..5fa71b2ce 100755 --- a/application/service/GoodsService.php +++ b/application/service/GoodsService.php @@ -186,22 +186,6 @@ class GoodsService */ public static function HomeFloorList($params = []) { - // 商品数量 - $goods_count = MyC('home_index_floor_goods_max_count', 8, true); - $goods_category_count = MyC('home_index_floor_left_goods_category_max_count', 6, true); - - // 排序配置 - $floor_order_by_type_list = lang('goods_order_by_type_list'); - $floor_order_by_rule_list = lang('goods_order_by_rule_list'); - $floor_order_by_type = MyC('home_index_floor_goods_order_by_type', 0, true); - $floor_order_by_rule = MyC('home_index_floor_goods_order_by_rule', 0, true); - // 排序字段名称 - $order_by_field = array_key_exists($floor_order_by_type, $floor_order_by_type_list) ? $floor_order_by_type_list[$floor_order_by_type]['value'] : $floor_order_by_type_list[0]['value']; - // 排序规则 - $order_by_rule = array_key_exists($floor_order_by_rule, $floor_order_by_rule_list) ? $floor_order_by_rule_list[$floor_order_by_rule]['value'] : $floor_order_by_rule_list[0]['value']; - // 排序 - $order_by = implode(' '.$order_by_rule.', ', explode(',', $order_by_field)).' '.$order_by_rule; - // 缓存 $key = config('shopxo.cache_goods_floor_list_key'); $data = cache($key); @@ -212,9 +196,12 @@ class GoodsService $data = self::GoodsCategoryList(['where'=>$where]); if(!empty($data)) { + // 分类层级 $level = MyC('common_show_goods_category_level', 3, true); if($level > 1) { + // 二级分类数量 + $goods_category_count = MyC('home_index_floor_left_goods_category_max_count', 6, true); foreach($data as &$c) { // 获取二级分类 @@ -230,19 +217,74 @@ class GoodsService $floor_keywords = json_decode($floor_keywords, true); } + // 数据模式 + // 0 自动模式 + // 1 手动模式 + $floor_data_type = MyC('home_index_floor_data_type', 0, true); + + // 数据处理 + switch($floor_data_type) + { + // 自动模式 + case 0 : + // 商品数量 + $goods_count = MyC('home_index_floor_goods_max_count', 8, true); + // 排序配置 + $floor_order_by_type_list = lang('goods_order_by_type_list'); + $floor_order_by_rule_list = lang('goods_order_by_rule_list'); + $floor_order_by_type = MyC('home_index_floor_goods_order_by_type', 0, true); + $floor_order_by_rule = MyC('home_index_floor_goods_order_by_rule', 0, true); + // 排序字段名称 + $order_by_field = array_key_exists($floor_order_by_type, $floor_order_by_type_list) ? $floor_order_by_type_list[$floor_order_by_type]['value'] : $floor_order_by_type_list[0]['value']; + // 排序规则 + $order_by_rule = array_key_exists($floor_order_by_rule, $floor_order_by_rule_list) ? $floor_order_by_rule_list[$floor_order_by_rule]['value'] : $floor_order_by_rule_list[0]['value']; + // 排序 + $order_by = implode(' '.$order_by_rule.', ', explode(',', $order_by_field)).' '.$order_by_rule; + break; + + // 手动模式 + case 1 : + $manual_mode = MyC('home_index_floor_manual_mode_goods'); + if(!empty($manual_mode)) + { + $floor_manual_mode_goods = json_decode($manual_mode, true); + } + break; + } + // 根据分类获取楼层商品 foreach($data as &$v) { - // 获取分类ids - $category_ids = self::GoodsCategoryItemsIds([$v['id']], 1); + // 数据模式 + switch($floor_data_type) + { + // 自动模式 + case 0 : + if(isset($goods_count) && isset($order_by)) + { + // 获取分类ids + $category_ids = self::GoodsCategoryItemsIds([$v['id']], 1); - // 获取商品ids - $where = [ - 'gci.category_id' => $category_ids, - 'g.is_home_recommended' => 1, - 'g.is_shelves' => 1, - ]; - $v['goods_ids'] = Db::name('Goods')->alias('g')->join(['__GOODS_CATEGORY_JOIN__'=>'gci'], 'g.id=gci.goods_id')->where($where)->group('g.id')->order($order_by)->limit($goods_count)->column('g.id'); + // 获取商品ids + $where = [ + 'gci.category_id' => $category_ids, + 'g.is_home_recommended' => 1, + 'g.is_shelves' => 1, + ]; + $v['goods_ids'] = Db::name('Goods')->alias('g')->join(['__GOODS_CATEGORY_JOIN__'=>'gci'], 'g.id=gci.goods_id')->where($where)->group('g.id')->order($order_by)->limit($goods_count)->column('g.id'); + } + break; + + // 手动模式 + case 1 : + if(!empty($floor_manual_mode_goods) && is_array($floor_manual_mode_goods) && array_key_exists($v['id'], $floor_manual_mode_goods)) + { + $v['goods_ids'] = $floor_manual_mode_goods[$v['id']]; + } + break; + } + + // 商品数据、后面实时读取这里赋空值 $v['goods'] = []; // 楼层关键字 @@ -257,16 +299,44 @@ class GoodsService // 商品读取、商品信息需要实时读取 if(!empty($data) && is_array($data)) { - // 去除分类关键字前缀 - $order_by = str_replace('g.', '', $order_by); + // 商品id一次性读取商品 + $goods_ids = []; + foreach($data as $cg) + { + if(!empty($cg['goods_ids']) & is_array($cg['goods_ids'])) + { + $goods_ids = array_merge($goods_ids, $cg['goods_ids']); + } + } + // 读取商品 + $goods_list = []; + if(!empty($goods_ids)) + { + $where = [ + ['id', 'in', array_unique($goods_ids)], + ['is_shelves', '=', 1], + ]; + $res = self::GoodsList(['where'=>$where, 'm'=>0, 'n'=>0, 'field'=>'*']); + $goods_list = empty($res['data']) ? [] : array_column($res['data'], null, 'id'); + } // 根据分类获取楼层商品 - foreach($data as &$v) + if(!empty($goods_list)) { - if(!empty($v['goods_ids']) && is_array($v['goods_ids'])) + foreach($data as &$cv) { - $res = self::GoodsList(['where'=>['id'=>$v['goods_ids'], 'is_home_recommended'=>1, 'is_shelves'=>1], 'm'=>0, 'n'=>$goods_count, 'field'=>'*', 'order_by'=>$order_by]); - $v['goods'] = $res['data']; + if(!empty($cv['goods_ids']) && is_array($cv['goods_ids'])) + { + $temp = []; + foreach($cv['goods_ids'] as $gid) + { + if(array_key_exists($gid, $goods_list)) + { + $temp[] = $goods_list[$gid]; + } + } + $cv['goods'] = $temp; + } } } } @@ -1021,48 +1091,45 @@ class GoodsService // 启动事务 Db::startTrans(); - // 添加/编辑 - if(empty($params['id'])) - { - $data['add_time'] = time(); - $goods_id = Db::name('Goods')->insertGetId($data); - } else { - $goods = Db::name('Goods')->find($params['id']); - $data['upd_time'] = time(); - if(Db::name('Goods')->where(['id'=>intval($params['id'])])->update($data)) + // 捕获异常 + try { + // 添加/编辑 + if(empty($params['id'])) { - $goods_id = $params['id']; + $data['add_time'] = time(); + $goods_id = Db::name('Goods')->insertGetId($data); + if($goods_id <= 0) + { + throw new \Exception('添加失败'); + } + } else { + $data['upd_time'] = time(); + if(Db::name('Goods')->where(['id'=>intval($params['id'])])->update($data)) + { + $goods_id = $params['id']; + } else { + throw new \Exception('更新失败'); + } } - } - // 是否成功 - $status = false; - if(isset($goods_id) && $goods_id > 0) - { // 分类 $ret = self::GoodsCategoryInsert(explode(',', $params['category_id']), $goods_id); if($ret['code'] != 0) { - // 回滚事务 - Db::rollback(); - return $ret; + throw new \Exception($ret['msg']); } // 规格 $ret = self::GoodsSpecificationsInsert($specifications['data'], $goods_id); if($ret['code'] != 0) { - // 回滚事务 - Db::rollback(); - return $ret; + throw new \Exception($ret['msg']); } else { // 更新商品基础信息 - $ret = self::GoodsSaveBaseUpdate($params, $goods_id); + $ret = self::GoodsSaveBaseUpdate($goods_id); if($ret['code'] != 0) { - // 回滚事务 - Db::rollback(); - return $ret; + throw new \Exception($ret['msg']); } } @@ -1070,48 +1137,35 @@ class GoodsService $ret = self::GoodsPhotoInsert($photo['data'], $goods_id); if($ret['code'] != 0) { - // 回滚事务 - Db::rollback(); - return $ret; + throw new \Exception($ret['msg']); } // 手机详情 $ret = self::GoodsContentAppInsert($content_app['data'], $goods_id); if($ret['code'] != 0) { - // 回滚事务 - Db::rollback(); - return $ret; + throw new \Exception($ret['msg']); } // 商品参数 $ret = self::GoodsParametersInsert($params, $goods_id); if($ret['code'] != 0) { - // 回滚事务 - Db::rollback(); - return $ret; + throw new \Exception($ret['msg']); } // 仓库规格库存同步 $ret = WarehouseGoodsService::GoodsSpecChangeInventorySync($goods_id); if($ret['code'] != 0) { - // 回滚事务 - Db::rollback(); - return $ret; + throw new \Exception($ret['msg']); } - // 操作成功 - $status = true; - } - - // 事务处理 - if($status) - { + // 完成 Db::commit(); - } else { + } catch(\Exception $e) { Db::rollback(); + return DataReturn($e->getMessage(), -1); } // 商品保存后钩子 @@ -1125,11 +1179,7 @@ class GoodsService ]); // 返回信息 - if($status) - { - return DataReturn('操作成功', 0); - } - return DataReturn('操作失败', -100); + return DataReturn('操作成功', 0); } /** @@ -1182,10 +1232,9 @@ class GoodsService * @blog http://gong.gg/ * @version 1.0.0 * @datetime 2018-12-16T01:56:42+0800 - * @param [array] $params [输入参数] * @param [int] $goods_id [商品id] */ - public static function GoodsSaveBaseUpdate($params, $goods_id) + public static function GoodsSaveBaseUpdate($goods_id) { $data = Db::name('GoodsSpecBase')->field('min(price) AS min_price, max(price) AS max_price, sum(inventory) AS inventory, min(original_price) AS min_original_price, max(original_price) AS max_original_price')->where(['goods_id'=>$goods_id])->find(); if(empty($data)) diff --git a/application/service/SiteService.php b/application/service/SiteService.php new file mode 100644 index 000000000..32db9764c --- /dev/null +++ b/application/service/SiteService.php @@ -0,0 +1,186 @@ +connect($host, $port); + if($password != '') + { + $redis->auth($password); + } + } catch(\Exception $e) { + return DataReturn('redis连接失败['.$e->getMessage().']', -1); + } + + // 检测是否连接成功 + if($redis->ping()) + { + return DataReturn('redis连接成功', 0); + } + return DataReturn('redis连接失败', -1); + } + + /** + * 商品搜索 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2020-07-13 + * @desc description + * @param [array] $params [输入参数] + */ + public static function GoodsSearchList($params = []) + { + // 返回数据 + $result = [ + 'page_total' => 0, + 'page_size' => 20, + 'page' => max(1, isset($params['page']) ? intval($params['page']) : 1), + 'total' => 0, + 'data' => [], + ]; + + // 条件 + $where = [ + ['g.is_delete_time', '=', 0], + ['g.is_shelves', '=', 1] + ]; + + // 关键字 + if(!empty($params['keywords'])) + { + $where[] = ['g.title', 'like', '%'.$params['keywords'].'%']; + } + + // 分类id + if(!empty($params['category_id'])) + { + $category_ids = GoodsService::GoodsCategoryItemsIds([$params['category_id']], 1); + $category_ids[] = $params['category_id']; + $where[] = ['gci.category_id', 'in', $category_ids]; + } + + // 获取商品总数 + $result['total'] = GoodsService::CategoryGoodsTotal($where); + + // 获取商品列表 + if($result['total'] > 0) + { + // 基础参数 + $field = 'g.id,g.title,g.images'; + $order_by = 'g.id desc'; + + // 分页计算 + $m = intval(($result['page']-1)*$result['page_size']); + $goods = GoodsService::CategoryGoodsList(['where'=>$where, 'm'=>$m, 'n'=>$result['page_size'], 'field'=>$field, 'order_by'=>$order_by]); + $result['data'] = $goods['data']; + $result['page_total'] = ceil($result['total']/$result['page_size']); + // 数据处理 + if(!empty($result['data']) && is_array($result['data']) && !empty($params['goods_ids']) && is_array($params['goods_ids'])) + { + foreach($result['data'] as &$v) + { + // 是否已添加 + $v['is_exist'] = in_array($v['id'], $params['goods_ids']) ? 1 : 0; + } + } + } + return DataReturn('处理成功', 0, $result); + } + + /** + * 楼层自定义商品展示数据处理 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2020-11-25 + * @desc description + * @param [array] $data [配置数据] + */ + public static function FloorManualModeGoodsViewHandle($data) + { + $result = []; + if(!empty($data) && is_array($data)) + { + // 商品id集合 + $goods_ids = []; + foreach($data as $gid) + { + $goods_ids = array_merge($goods_ids, $gid); + } + // 获取商品数据 + $ret = GoodsService::GoodsList([ + 'where' => [ + ['id', 'in', array_unique($goods_ids)], + ['is_shelves', '=', 1], + ], + 'field' => 'id,title,images', + ]); + // 使用商品id作为key返回 + $goods = empty($ret['data']) ? [] : array_column($ret['data'], null, 'id'); + + // 数据组合 + foreach($data as $k=>$v) + { + $temp = []; + foreach($v as $vs) + { + if(array_key_exists($vs, $goods)) + { + $temp[] = $goods[$vs]; + } + } + $result[$k] = $temp; + } + } + return DataReturn('处理成功', 0, $result); + } +} +?> \ No newline at end of file diff --git a/application/tags.php b/application/tags.php index 5df3a4fbe..9034c1193 100755 --- a/application/tags.php +++ b/application/tags.php @@ -56,6 +56,7 @@ return array ( 'plugins_service_buy_order_insert_end' => array ( 0 => 'app\\plugins\\ordergoodsform\\Hook', + 1 => 'app\\plugins\\distribution\\Hook', ), 'plugins_view_index_order_list_operate' => array ( @@ -74,10 +75,12 @@ return array ( 'plugins_service_goods_handle_end' => array ( 0 => 'app\\plugins\\membershiplevelvip\\Hook', + 1 => 'app\\plugins\\distribution\\Hook', ), 'plugins_service_goods_spec_base' => array ( 0 => 'app\\plugins\\membershiplevelvip\\Hook', + 1 => 'app\\plugins\\distribution\\Hook', ), 'plugins_service_buy_group_goods_handle' => array ( @@ -91,14 +94,17 @@ return array ( 'plugins_service_goods_spec_extends_handle' => array ( 0 => 'app\\plugins\\membershiplevelvip\\Hook', + 1 => 'app\\plugins\\distribution\\Hook', ), 'plugins_view_admin_user_save' => array ( 0 => 'app\\plugins\\membershiplevelvip\\Hook', + 1 => 'app\\plugins\\distribution\\Hook', ), 'plugins_service_user_save_handle' => array ( 0 => 'app\\plugins\\membershiplevelvip\\Hook', + 1 => 'app\\plugins\\distribution\\Hook', ), 'plugins_service_goods_save_handle' => array ( @@ -107,6 +113,7 @@ return array ( 'plugins_view_goods_detail_panel_price_top' => array ( 0 => 'app\\plugins\\membershiplevelvip\\Hook', + 1 => 'app\\plugins\\distribution\\Hook', ), 'plugins_view_home_goods_inside_bottom' => array ( @@ -124,12 +131,14 @@ return array ( array ( 0 => 'app\\plugins\\membershiplevelvip\\Hook', 1 => 'app\\plugins\\coupon\\Hook', + 2 => 'app\\plugins\\distribution\\Hook', ), 'plugins_service_header_navigation_top_right_handle' => array ( 0 => 'app\\plugins\\membershiplevelvip\\Hook', 1 => 'app\\plugins\\multilingual\\Hook', 2 => 'app\\plugins\\coupon\\Hook', + 3 => 'app\\plugins\\distribution\\Hook', ), 'plugins_common_page_bottom' => array ( @@ -170,10 +179,19 @@ return array ( 'plugins_service_order_status_change_history_success_handle' => array ( 0 => 'app\\plugins\\coupon\\Hook', + 1 => 'app\\plugins\\distribution\\Hook', ), 'plugins_service_user_register_end' => array ( 0 => 'app\\plugins\\coupon\\Hook', ), + 'plugins_service_order_aftersale_audit_handle_end' => + array ( + 0 => 'app\\plugins\\distribution\\Hook', + ), + 'plugins_service_site_extraction_address_list' => + array ( + 0 => 'app\\plugins\\distribution\\Hook', + ), ); ?> \ No newline at end of file diff --git a/changelog.txt b/changelog.txt index d209692f0..7d27c7ef5 100755 --- a/changelog.txt +++ b/changelog.txt @@ -2,10 +2,11 @@ ShopXO 1.9.2 Release --- http://shopxo.net +=========================================================+ 全局 - 1. + 1. 首页商品支持自定义配置 web端 1. 后台管理小程序列表新增主题管理 + 2. 分类管理组件优化、支持异步无刷新操作 小程序 1. 支付订单0金额错误修复 diff --git a/config/shopxo.sql b/config/shopxo.sql index b5ada22a0..addc9cbf2 100644 --- a/config/shopxo.sql +++ b/config/shopxo.sql @@ -3,15 +3,15 @@ Source Server : 本机 Source Server Type : MySQL - Source Server Version : 50729 + Source Server Version : 50728 Source Host : localhost Source Database : shopxo Target Server Type : MySQL - Target Server Version : 50729 + Target Server Version : 50728 File Encoding : utf-8 - Date: 11/23/2020 11:27:01 AM + Date: 11/25/2020 22:56:01 PM */ SET NAMES utf8mb4; @@ -41,7 +41,7 @@ CREATE TABLE `s_admin` ( -- Records of `s_admin` -- ---------------------------- BEGIN; -INSERT INTO `s_admin` VALUES ('1', 'admin', '905cc97b443cde3a2e094865ab198841', '219142', '17688888888', '0', '0', '632', '1605961376', '1', '1481350313', '1593747210'), ('4', 'shopxo', 'c547c7fdfc244cef6747b306d390cc12', '898429', '', '0', '0', '7', '1600938931', '13', '1580807200', '1598279043'); +INSERT INTO `s_admin` VALUES ('1', 'admin', '1dbee3956feae5a68ce5d7c2a84dea28', '171378', '17688888888', '0', '0', '640', '1606314898', '1', '1481350313', '1593747210'), ('4', 'shopxo', 'c547c7fdfc244cef6747b306d390cc12', '898429', '', '0', '0', '7', '1600938931', '13', '1580807200', '1598279043'); COMMIT; -- ---------------------------- @@ -330,13 +330,13 @@ CREATE TABLE `s_config` ( `upd_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间', PRIMARY KEY (`id`), UNIQUE KEY `only_tag` (`only_tag`) -) ENGINE=MyISAM AUTO_INCREMENT=193 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='基本配置参数'; +) ENGINE=MyISAM AUTO_INCREMENT=195 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='基本配置参数'; -- ---------------------------- -- Records of `s_config` -- ---------------------------- BEGIN; -INSERT INTO `s_config` VALUES ('15', '15', '分页数量', '分页显示数量', '分页不能超过3位数', 'admin', 'common_page_size', '1604644405'), ('59', '1', '扣减库存规则', '需扣减库存开启方可有效,默认订单支付成功', '', 'common', 'common_deduction_inventory_rules', '1599205984'), ('60', '1', '是否扣减库存', '建议不要随意修改,以免造成库存数据错乱,关闭不影响库存回滚', '', 'common', 'common_is_deduction_inventory', '1599205984'), ('11', '0', 'Excel编码', 'excel模块编码选择', '请选择编码', 'admin', 'admin_excel_charset', '1604644405'), ('16', 'ShopXO企业级B2C电商系统提供商 - 演示站点', '站点标题', '浏览器标题,一般不超过80个字符', '站点标题不能为空', 'home', 'home_seo_site_title', '1605667668'), ('17', '商城系统,开源电商系统,免费电商系统,PHP电商系统,商城系统,B2C电商系统,B2B2C电商系统', '站点关键字', '一般不超过100个字符,多个关键字以半圆角逗号 [ , ] 隔开', '站点关键字不能为空', 'home', 'home_seo_site_keywords', '1605667668'), ('18', 'ShopXO是国内领先的商城系统提供商,为企业提供php商城系统、微信商城、小程序。', '站点描述', '站点描述,一般不超过200个字符', '站点描述不能为空', 'home', 'home_seo_site_description', '1605667668'), ('19', '沪ICP备20014383号', 'ICP证书号', 'ICP域名备案号', '', 'home', 'home_site_icp', '1605284914'), ('20', '', '底部统计代码', '支持html,可用于添加流量统计代码', '', 'home', 'home_statistics_code', '0'), ('21', '1', '站点状态', '可暂时将站点关闭,其他人无法访问,但不影响管理员访问后台', '请选择站点状态', 'home', 'home_site_state', '1605284914'), ('22', '升级中...', '关闭原因', '支持html,当网站处于关闭状态时,关闭原因将显示在前台', '', 'home', 'home_site_close_reason', '1605284914'), ('23', 'Asia/Shanghai', '默认时区', '默认 亚洲/上海 [标准时+8]', '请选择默认时区', 'common', 'common_timezone', '1605284914'), ('24', '', '底部代码', '支持html,可用于添加流量统计代码', '', 'home', 'home_footer_info', '1605284914'), ('28', 'ShopXO', '站点名称', '', '站点名称不能为空', 'home', 'home_site_name', '1605284914'), ('29', '2', '链接模式', '非兼容模式请确保配置好伪静态规则', '请选择url模式', 'home', 'home_seo_url_model', '1605667668'), ('25', '20480000', '图片最大限制', '单位B [上传图片还受到服务器空间PHP配置最大上传 20M 限制]', '请填写图片上传最大限制', 'home', 'home_max_limit_image', '1603762525'), ('26', '51200000', '文件最大限制', '单位B [上传文件还受到服务器空间PHP配置最大上传 20M 限制]', '请填写文件上传最大限制', 'home', 'home_max_limit_file', '1603762525'), ('27', '102400000', '视频最大限制', '单位B [上传视频还受到服务器空间PHP配置最大上传 20M 限制]', '请填写视频上传最大限制', 'home', 'home_max_limit_video', '1603762525'), ('30', 'html', '伪静态后缀', '链接后面的后缀别名,默认 [ html ]', '小写字母,不能超过8个字符', 'home', 'home_seo_url_html_suffix', '1605667668'), ('31', '0', '用户注册开启审核', '开启后用户注册需要审核通过方可登录', '请选择用户注册开启审核', 'common', 'common_register_is_enable_audit', '1566227415'), ('32', '/static/upload/images/common/2019/01/14/1547448748316693.png', '手机端logo', '支持 [jpg, png, gif]', '请上传手机端网站logo', 'home', 'home_site_logo_wap', '1605284914'), ('33', '/static/upload/images/common/2019/01/14/1547448705165706.png', '电脑端logo', '支持 [jpg, png, gif]', '请上传电脑端网站logo', 'home', 'home_site_logo', '1605284914'), ('34', '1200', '页面最大宽度', '页面最大宽度,单位px,0则100%', '请上传桌面图标', 'home', 'home_content_max_width', '1600008688'), ('35', '/static/upload/images/common/2019/01/14/1547448728921121.jpg', '桌面图标', '建议使用png格式', '图片比例值格式有误 0~100 之间,小数点后面最大两位', 'common', 'home_site_desktop_icon', '1605284914'), ('36', 'sms,email,username', '是否开启注册', '关闭注册后,前端站点将无法注册,可选择 [ 短信, 邮箱, 用户名 ]', '请选择是否开启注册状态', 'home', 'home_user_reg_state', '1566227415'), ('37', '1', '是否开启登录', '关闭后,前端站点将无法登录', '请选择是否开启登录状态', 'home', 'home_user_login_state', '1558084931'), ('38', '1', '获取验证码-开启图片验证码', '防止短信轰炸', '请选择是否开启强制图片验证码', 'home', 'home_img_verify_state', '1558085166'), ('39', '60', '获取验证码时间间隔', '防止频繁获取验证码,一般在 30~120 秒之间,单位 [秒]', '请填写获取验证码时间间隔', 'home', 'common_verify_interval_time', '1558085166'), ('40', '', '用户注册-短信模板ID', '验证码code', '请填写用户注册短信模板内容', 'home', 'home_sms_user_reg', '1587366205'), ('41', '', '短信签名', '发送短信包含的签名', '短信签名 3~8 个的中英文字符', 'common', 'common_sms_sign', '1587366196'), ('42', '', '短信KeyID', 'Access Key ID', '请填写Access Key ID', 'common', 'common_sms_apikey', '1587366196'), ('43', '', '密码找回-短信模板ID', '验证码code', '请填写密码找回短信模板内容', 'home', 'home_sms_user_forget_pwd', '1587366205'), ('44', '600', '验证码有效时间', '验证码过期时间,一般10分钟左右,单位 [秒]', '请填写验证码有效时间', 'home', 'common_verify_expire_time', '1558085166'), ('45', '', 'SMTP服务器', '设置SMTP服务器的地址,如 smtp.163.com', '请填写SMTP服务器', 'common', 'common_email_smtp_host', '1597483532'), ('46', '', 'SMTP端口', '设置SMTP服务器的端口,默认为 25', '请填写SMTP端口号', 'common', 'common_email_smtp_port', '1597483532'), ('47', '', '发信人邮件地址', '发信人邮件地址,使用SMTP协议发送的邮件地址,如 shopxo@163.com', '请填写发信人邮件地址', 'common', 'common_email_smtp_account', '1597483532'), ('48', '', 'SMTP身份验证用户名', '如 shopxo@163.com', '请填写SMTP身份验证用户名', 'common', 'common_email_smtp_name', '1597483532'), ('49', '', 'SMTP身份验证密码', 'shopxo@163.com邮件的密码或授权码', '请填写SMTP身份验证密码', 'common', 'common_email_smtp_pwd', '1597483532'), ('50', '', '发件人显示名称', '如 ShopXO', '', 'common', 'common_email_smtp_send_name', '1597483532'), ('51', '', '通用-短信模板ID', '验证码code', '请填写通用短信模板内容', 'common', 'common_sms_currency_template', '1587366205'), ('58', '', '短信KeySecret', 'Access Key Secret', '请填写Access Key Secret', 'common', 'common_sms_apisecret', '1587366196'), ('53', '021-88888888', '商店电话', '空则不显示', '', 'common', 'common_customer_store_tel', '1587138005'), ('56', '

    通用模板,你的验证码是  #code#

    ', '通用-邮件模板', '验证码变量标识符 [ #code# ]', '', 'common', 'common_email_currency_template', '1557728601'), ('57', 'default', '默认模板', '前台默认模板', '请选择默认模板', 'common', 'common_default_theme', '1605944208'), ('62', 'XSdiGjfg3wOHiKjpYEMG6CYA', '百度地图api密钥', '百度地图2.0起必须配置AK密钥', '请填写百度地图api密钥', 'common', 'common_baidu_map_ak', '1604644405'), ('63', '

    用户注册,你的验证码是  #code#

    ', '用户注册-邮件模板', '验证码变量标识符 [ #code# ]', '', 'home', 'home_email_user_reg', '1557728601'), ('64', '

    密码找回,你的验证码是  #code#

    ', '密码找回-邮件模板', '验证码变量标识符 [ #code# ]', '', 'home', 'home_email_user_forget_pwd', '1557728601'), ('65', '

    邮箱绑定,你的验证码是  #code#

    ', '邮箱绑定-邮件模板', '验证码变量标识符 [ #code# ]', '', 'home', 'home_email_user_email_binding', '1557728601'), ('66', '20200202', 'css/js版本标记', '用于css/js浏览器缓存版本识别', '', 'home', 'home_static_cache_version', '1605284914'), ('67', '', '手机号码绑定-短信模板ID', '验证码code', '请填写手机号码绑定短信模板内容', 'home', 'home_sms_user_mobile_binding', '1587366205'), ('68', '连衣裙,帐篷,iphone,包包', '搜索关键字', '搜索框下热门关键字(输入回车)', '请填写关键字', 'home', 'home_search_keywords', '1600767589'), ('69', '2', '搜索关键字类型', '自定义需要配置以下关键字', '请选择关键字类型', 'home', 'home_search_keywords_type', '1600767589'), ('70', '0', '订单预约模式', '开启后用户提交订单需要管理员确认', '请选择是否开启预约模式', 'common', 'common_order_is_booking', '1599205984'), ('71', 'ShopXO', '名称', '', '请填写名称', 'common', 'common_app_mini_alipay_title', '1597483646'), ('72', '国内领先企业级B2C开源电商系统!', '描述', '', '请填写描述', 'common', 'common_app_mini_alipay_describe', '1597483646'), ('73', '021-88888888', '客服电话', '空则不显示', '请填写客服电话', 'common', 'common_app_customer_service_tel', '1597483581'), ('74', '', 'AppID', '小程序ID', '请填写AppID', 'common', 'common_app_mini_alipay_appid', '1597483646'), ('75', '', '应用公钥', '', '请填写应用公钥', 'common', 'common_app_mini_alipay_rsa_public', '1597483646'), ('180', '', '密码', '默认无密码', '请填写密码', 'common', 'common_cache_session_redis_password', '1605443205'), ('181', '', '有效时间', '默认3600秒', '请填写有效时间', 'common', 'common_cache_session_redis_expire', '1605443205'), ('182', '', '前缀', '默认 shopxo', '请填写前缀', 'common', 'common_cache_session_redis_prefix', '1605443205'), ('76', '', '应用私钥', '', '请填写应用私钥', 'common', 'common_app_mini_alipay_rsa_private', '1597483646'), ('171', '0', '首页楼层商品排序类型', '默认综合', '请选择首页楼层商品排序类型', 'home', 'home_index_floor_goods_order_by_type', '1600767589'), ('173', '百宝箱', '快捷导航名称', '默认 百宝箱', '请填写快捷导航名称', 'home', 'home_navigation_main_quick_name', '1600767589'), ('172', '0', '首页楼层商品排序规则', '默认降序(desc)', '请选择首页楼层商品排序规则', 'home', 'home_index_floor_goods_order_by_rule', '1600767589'), ('188', 'default', '默认主题', '微信小程序默认主题', '请选择微信小程序默认主题', 'common', 'common_app_mini_weixin_default_theme', '1605947161'), ('174', '1', '获取账户手机一键登录', '默认否', '请选择获取账户手机一键登录', 'common', 'common_user_is_onekey_bind_mobile', '1600610405'), ('175', '1', '启用订单批量支付', '默认否', '请选择获启用订单批量支付', 'home', 'home_is_enable_order_bulk_pay', '1600767589'), ('176', '0', 'Session使用缓存', '默认否', '请选择Session使用缓存', 'common', 'common_session_is_use_cache', '1605443205'), ('177', '0', '数据使用缓存', '默认否', '请选择数据使用缓存', 'common', 'common_data_is_use_cache', '1605443205'), ('178', '', '连接地址', '默认 127.0.0.1', '请填写连接地址', 'common', 'common_cache_session_redis_host', '1605443205'), ('179', '', '端口号', '默认 6379', '请填写端口号', 'common', 'common_cache_session_redis_port', '1605443205'), ('78', '1', '是否启用搜索', '默认否', '', 'common', 'common_app_is_enable_search', '1600610405'), ('77', '', '支付宝公钥', '', '请填写支付宝公钥', 'common', 'common_app_mini_alipay_out_rsa_public', '1597483646'), ('167', '', 'css/js静态文件cdn域名', 'css/js静态文件', '请填写css/js静态文件cdn域名', 'common', 'common_cdn_public_host', '1599988905'), ('168', '8', '首页楼层商品数量', '默认8个', '请填写首页楼层商品数量', 'home', 'home_index_floor_goods_max_count', '1600767589'), ('170', '{\"1\":\"手机,小米,华为,iphone,vivo\",\"2\":\"女装,连衣裙,包包,睡衣,斜挎 短袖\"}', '首页楼层顶部右侧关键字', '楼层下关键字(输入回车)', '请填写首页楼层顶部右侧关键字', 'home', 'home_index_floor_top_right_keywords', '1600767589'), ('79', '1', '是否启用留言', '默认否', '', 'common', 'common_app_is_enable_answer', '1600610405'), ('80', '3', '商品可添加规格最大数量', '建议不超过3个规格', '请填写谷歌最大数', 'common', 'common_spec_add_max_number', '1604644405'), ('81', '-', '路由分隔符', '建议填写 [ - ] 默认 [ - ] ,仅PATHINFO模式+短地址模式下有效', '请填写路由分隔符', 'common', 'common_route_separator', '1605667668'), ('82', 'wxda7779770f53e901', 'AppID', '小程序ID', '请填写appid', 'common', 'common_app_mini_weixin_appid', '1605958415'), ('83', '4bb30af2e71e84f2f5107c0572f66641', 'AppSecret ', '小程序密钥', '请填写appsecret', 'common', 'common_app_mini_weixin_appsecret', '1605958415'), ('84', 'ShopXO', '名称', '', '请填写名称', 'common', 'common_app_mini_weixin_title', '1605958415'), ('85', '国内领先企业级B2C开源电商系统!', '描述', '', '请填写描述', 'common', 'common_app_mini_weixin_describe', '1605958415'), ('61', '用户中心公告文字,后台配置修改。', '用户中心公告', '空则不显示公告', '', 'common', 'common_user_center_notice', '1597483581'), ('8', '公告内容', '商城公告', '空则不显示公告', '', 'common', 'common_shop_notice', '1597483581'), ('86', 'test@qq.com', '商店邮箱', '空则不显示', '客服邮箱格式有误', 'common', 'common_customer_store_email', '1587138005'), ('87', '', '商店二维码', '空则不展示', '', 'common', 'common_customer_store_qrcode', '1604644405'), ('152', '[{\"alias\":\"总部\",\"name\":\"devil\",\"tel\":\"13222333333\",\"lng\":\"121.594278\",\"lat\":\"31.207917\",\"address\":\"张江高科\",\"province\":\"9\",\"city\":\"155\",\"county\":\"1937\",\"province_name\":\"上海市\",\"city_name\":\"浦东新区\",\"county_name\":\"张江镇\",\"id\":0}]', '自提点地址', '', '请填写自提点地址', 'common', 'common_self_extraction_address', '1599205984'), ('88', '上海市 浦东新区', '商店地址', '空则不展示', '', 'common', 'common_customer_store_address', '1587138005'), ('89', '

    用户注册协议


    ', '用户注册协议', '最多 105000 个字符', '用户注册协议最多 105000 个字符', 'common', 'common_agreement_userregister', '1600052861'), ('90', '/static/upload/images/common/2019/05/17/1558025141249118.png', '用户注册背景图片', '', '请上传用户注册背景图片', 'home', 'home_site_user_register_bg_images', '1566227415'), ('91', '/static/upload/images/common/2019/05/17/1558062481107570.jpg', '图片', '图片1 [ 建议使用 450X350 像数 ]', '', 'home', 'home_site_user_login_ad1_images', '1558084931'), ('92', '/static/upload/images/common/2019/05/17/1558072588843696.jpg', '图片', '图片2 [ 建议使用 450X350 像数 ]', '', 'home', 'home_site_user_login_ad2_images', '1558084931'), ('93', '/static/upload/images/common/2019/05/17/1558073623385520.jpg', '图片', '图片2 [ 建议使用 450X350 像数 ]', '', 'home', 'home_site_user_login_ad3_images', '1558084931'), ('94', 'https://shopxo.net/', 'url地址', '地址1 [ 带http://或https:// ]', '', 'home', 'home_site_user_login_ad1_url', '1558084931'), ('95', 'https://ask.shopxo.net/', 'url地址', '地址2 [ 带http://或https:// ]', '', 'home', 'home_site_user_login_ad2_url', '1558084931'), ('96', 'https://shopxo.net/vip.html', 'url地址', '地址3 [ 带http://或https:// ]', '', 'home', 'home_site_user_login_ad3_url', '1558084931'), ('97', '', '背景色', '背景色1', '', 'home', 'home_site_user_login_ad1_bg_color', '1558084931'), ('98', '#FAFAFA', '背景色', '背景色2', '', 'home', 'home_site_user_login_ad2_bg_color', '1558084931'), ('99', '#FAFAFA', '背景色', '背景色3', '', 'home', 'home_site_user_login_ad3_bg_color', '1558084931'), ('100', '1', '登录图片验证码', '可以防止非法登录', '请选择是否开启登录图片验证码', 'home', 'home_user_login_img_verify_state', '1558084931'), ('101', '/static/upload/images/common/2019/05/17/1558072588843696.jpg', '图片', '图片1 [ 建议使用 450X350 像数 ]', '', 'home', 'home_site_user_forgetpwd_ad1_images', '1558084915'), ('102', '/static/upload/images/common/2019/05/17/1558073623641199.jpg', '图片', '图片2 [ 建议使用 450X350 像数 ]', '', 'home', 'home_site_user_forgetpwd_ad2_images', '1558084915'), ('103', '', '图片', '图片2 [ 建议使用 450X350 像数 ]', '', 'home', 'home_site_user_forgetpwd_ad3_images', '1558084915'), ('104', 'https://shopxo.net/', 'url地址', '地址1 [ 带http://或https:// ]', '', 'home', 'home_site_user_forgetpwd_ad1_url', '1558084915'), ('105', '', 'url地址', '地址2 [ 带http://或https:// ]', '', 'home', 'home_site_user_forgetpwd_ad2_url', '1558084915'), ('106', '', 'url地址', '地址3 [ 带http://或https:// ]', '', 'home', 'home_site_user_forgetpwd_ad3_url', '1558084915'), ('107', '#FAFAFA', '背景色', '背景色1', '', 'home', 'home_site_user_forgetpwd_ad1_bg_color', '1558084915'), ('108', '#FAFAFA', '背景色', '背景色2', '', 'home', 'home_site_user_forgetpwd_ad2_bg_color', '1558084915'), ('109', '', '背景色', '背景色3', '', 'home', 'home_site_user_forgetpwd_ad3_bg_color', '1558084915'), ('110', '1', '用户注册图片验证码', '可以防止非法注册', '请选择是否开启用户注册图片验证码', 'home', 'home_user_register_img_verify_state', '1566227415'), ('111', '', '图片验证码规则', '默认白底黑字,可根据需求i加大验证码识别难度', '', 'common', 'common_images_verify_rules', '1558085166'), ('112', '0', 'SSL方式加密', '', '请选择是否使用SSL方式加密', 'common', 'common_email_is_use_ssl', '1597483532'), ('113', '活动/优惠未生效\n空包裹\n包裹丢失\n配送超时\n未按约定时间发货\n未送货上门\n物流显示签收但实际未收到货\n不喜欢/不想要', '仅退款原因', '可换行,一行一个', '请填写仅退款原因', 'home', 'home_order_aftersale_return_only_money_reason', '1570193301'), ('114', '7天无理由退换货\n配送超时\n未按约定时间发货\n未送货上门\n卖家发错货\n少件/漏发\n包装/商品破损/污渍\n商品信息描述不符\n使用后过敏\n已过/临近保质期\n无法溶解/结块/有异物', '退货退款原因', '可换行,一行一个', '请填写退货退款原因', 'home', 'home_order_aftersale_return_money_goods_reason', '1570193301'), ('115', '1', '用户注册协议', '', '请选择是否启用用户注册协议', 'home', 'home_is_enable_userregister_agreement', '1566227415'), ('116', '上海市 浦东新区', '退货地址', '用户退货货物收货地址', '请填写退货地址', 'home', 'home_order_aftersale_return_goods_address', '1570193301'), ('117', '0', '使用独立手机详情', '默认使用web详情', '请选择使用独立手机详情', 'common', 'common_app_is_use_mobile_detail', '1600610405'), ('118', '1', '强制绑定手机', '默认否', '请选择是否强制绑定手机', 'common', 'common_user_is_mandatory_bind_mobile', '1600610405'), ('121', '1', '固定顶部导航', '默认否', '请选择是否固定顶部导航', 'common', 'common_app_is_header_nav_fixed', '1600610405'), ('122', '1', '开启在线客服', '默认否', '请选择是否开启在线客服', 'common', 'common_app_is_online_service', '1600610405'), ('169', '10', '首页楼层左侧二级商品分类数量', '默认6个', '请填写首页楼层左侧二级商品分类数量', 'home', 'home_index_floor_left_goods_category_max_count', '1600767589'), ('163', '30', '订单完成可发起售后时限', '单位 天,默认30天', '请填写订单完成可发起售后时限', 'common', 'home_order_aftersale_return_launch_day', '1572350417'), ('124', '0', '启用好物推荐', '默认否,需重新生成小程序包(启用则需到微信小程序后台申请权限)', '请选择是否启用好物推荐', 'common', 'common_app_is_good_thing', '1605958415'), ('125', '', 'AppID', '智能小程序ID', '请填写AppID', 'common', 'common_app_mini_baidu_appid', '1604069165'), ('126', '', 'AppKey', '智能小程序KEY', '请填写AppKey', 'common', 'common_app_mini_baidu_appkey', '1604069165'), ('127', '', 'AppSecret', '智能小程序密匙', '请填写AppSecret', 'common', 'common_app_mini_baidu_appsecret', '1604069165'), ('128', 'ShopXO', '名称', '', '请填写名称', 'common', 'common_app_mini_baidu_title', '1604069165'), ('129', '国内领先企业级B2C开源电商系统!', '描述', '', '请填写描述', 'common', 'common_app_mini_baidu_describe', '1604069165'), ('130', '0', '留言需要登录', '默认否', '请选择是否留言需要登录', 'common', 'common_is_login_answer', '1599988905'), ('131', '0', '启用海报分享', '默认否\n', '请选择是否启用海报分享\n', 'common', 'common_app_is_poster_share', '1605958415'), ('132', '30', '订单关闭脚本时长', '单位 分钟,默认30分钟', '请填写订单关闭脚本时长', 'common', 'common_order_close_limit_time', '1599988905'), ('133', '21600', '订单自动收货脚本时长', '单位 分钟,默认21600分钟/15天', '请填写订单自动收货脚本时长', 'common', 'common_order_success_limit_time', '1599988905'), ('134', '', 'AppID', '小程序ID', '请填写AppID', 'common', 'common_app_mini_toutiao_appid', '1580644065'), ('135', '', 'AppSecret', '小程序Secret', '请填写AppSecret', 'common', 'common_app_mini_toutiao_appsecret', '1580644065'), ('136', '', 'PayMerchantID', '支付商户号', '请填写支付商户号', 'common', 'common_app_mini_toutiao_pay_merchant_id', '1580644065'), ('137', '', 'PayAppID', '支付AppID', '请填写AppID', 'common', 'common_app_mini_toutiao_pay_appid', '1580644065'), ('138', '', 'PaySecret', '支付Secret', '请填写支付Secret', 'common', 'common_app_mini_toutiao_pay_secret', '1580644065'), ('139', 'ShopXO', '名称', '', '请填写名称', 'common', 'common_app_mini_toutiao_title', '1580644065'), ('140', '国内领先企业级B2C开源电商系统!', '描述', '', '请填写描述', 'common', 'common_app_mini_toutiao_describe', '1580644065'), ('141', '', '公安备案号', '如:京公网安备xxx号', '请填写公安备案号', 'home', 'home_site_security_record_name', '1605284914'), ('142', '', '公安备案地址', '备案展示页面的url地址', '请填写公安备案地址', 'home', 'home_site_security_record_url', '1605284914'), ('143', '', 'AppID', '小程序ID', '请填写AppID', 'common', 'common_app_mini_qq_appid', '1604069175'), ('144', '', 'AppSecret', '小程序Secret', '请填写AppSecret', 'common', 'common_app_mini_qq_appsecret', '1604069175'), ('145', '', 'AppToken', '小程序Token', '请填写AppToken', 'common', 'common_app_mini_qq_apptoken', '1604069175'), ('146', 'ShopXO', '名称', '', '请填写名称', 'common', 'common_app_mini_qq_title', '1604069175'), ('147', '国内领先企业级B2C开源电商系统!', '描述', '', '请填写描述', 'common', 'common_app_mini_qq_describe', '1604069175'), ('148', '1', '是否启用用户中心头部小导航', '默认否', '请选择是否启用用户中心头部小导航', 'common', 'common_app_is_head_vice_nav', '1600610405'), ('151', '4', '站点类型', '默认销售型', '请选择站点类型', 'common', 'common_site_type', '1599205984'), ('150', '', '展示型操作名称', '默认 立即咨询', '请填写展示型操作名称', 'common', 'common_is_exhibition_mode_btn_text', '1599205984'), ('153', '', '虚拟信息标题', '默认密钥信息', '请填写虚拟信息标题', 'common', 'common_site_fictitious_return_title', '1599205984'), ('154', '', '提示信息', '', '请填写提示信息', 'common', 'common_site_fictitious_return_tips', '1599205984'), ('155', '', '在线客服-企业编码', '空则不显示在线客服', '请填写在线客服-企业编码', 'common', 'common_app_mini_alipay_tnt_inst_id', '1597483646'), ('156', '', '在线客服-聊天窗编码', '空则不显示在线客服', '请填写在线客服-聊天窗编码', 'common', 'common_app_mini_alipay_scene', '1597483646'), ('157', '0', '商品详情页展示相册', '默认否', '请选择是否商品详情页展示相册', 'common', 'common_is_goods_detail_show_photo', '1600767589'), ('158', '0', '手机简洁模式', '默认否', '请选择是否手机简洁模式', 'common', 'common_is_mobile_concise_model', '1597483581'), ('159', '0', '启用直播', '默认否,需重新生成小程序包(启用则需到微信小程序后台申请权限)', '请选择是否启用直播', 'common', 'common_app_weixin_liveplayer', '1605958415'), ('160', '4.0.1', '好物推荐组件版本号', '', '请填写好物推荐组件版本号', 'common', 'common_app_is_good_thing_ver', '1605958415'), ('161', '1.1.4', '直播组件版本号', '', '请填写直播组件版本号', 'common', 'common_app_weixin_liveplayer_ver', '1605958415'), ('162', '1', '后台登录页随机背景图', '默认启用', '请选择后台登录页随机背景图', 'common', 'admin_login_info_bg_images_rand', '1604644405'), ('164', '30', '支付日志订单关闭脚本时长', '单位 分钟,默认30分钟', '请填写支付日志订单关闭脚本时长', 'common', 'common_pay_log_order_close_limit_time', '1599988905'), ('165', '3', '分类展示层级', '默认3级', '请填写分类展示层级', 'common', 'common_show_goods_category_level', '1600767589'), ('166', '', '附件cdn域名', '图片/视频/文件', '请填写附件cdn域名', 'common', 'common_cdn_attachment_host', '1599988905'), ('183', '', '连接地址', '默认 127.0.0.1', '请填写连接地址', 'common', 'common_cache_data_redis_host', '1605443205'), ('184', '', '端口号', '默认 6379', '请填写端口号', 'common', 'common_cache_data_redis_port', '1605443205'), ('185', '', '密码', '默认无密码', '请填写密码', 'common', 'common_cache_data_redis_password', '1605443205'), ('186', '', '有效时间', '默认0表示永久', '请填写有效时间', 'common', 'common_cache_data_redis_expire', '1605443205'), ('187', '', '前缀', '默认 shopxo', '请填写前缀', 'common', 'common_cache_data_redis_prefix', '1605443205'), ('189', 'default', '默认主题', '支付宝小程序默认主题', '请选择支付宝小程序默认主题', 'common', 'common_app_mini_alipay_default_theme', '1572350417'), ('190', 'default', '默认主题', '百度小程序默认主题', '请选择百度小程序默认主题', 'common', 'common_app_mini_baidu_default_theme', '1605944646'), ('191', 'default', '默认主题', '头条小程序默认主题', '请选择头条小程序默认主题', 'common', 'common_app_mini_toutiao_default_theme', '1605945236'), ('192', 'default', '默认主题', 'QQ小程序默认主题', '请选择QQ小程序默认主题', 'common', 'common_app_mini_qq_default_theme', '1605947370'); +INSERT INTO `s_config` VALUES ('15', '15', '分页数量', '分页显示数量', '分页不能超过3位数', 'admin', 'common_page_size', '1606139599'), ('59', '1', '扣减库存规则', '需扣减库存开启方可有效,默认订单支付成功', '', 'common', 'common_deduction_inventory_rules', '1599205984'), ('60', '1', '是否扣减库存', '建议不要随意修改,以免造成库存数据错乱,关闭不影响库存回滚', '', 'common', 'common_is_deduction_inventory', '1599205984'), ('11', '1', 'Excel编码', 'excel模块编码选择', '请选择编码', 'admin', 'admin_excel_charset', '1606139600'), ('16', 'ShopXO企业级B2C电商系统提供商 - 演示站点', '站点标题', '浏览器标题,一般不超过80个字符', '站点标题不能为空', 'home', 'home_seo_site_title', '1605667668'), ('17', '商城系统,开源电商系统,免费电商系统,PHP电商系统,商城系统,B2C电商系统,B2B2C电商系统', '站点关键字', '一般不超过100个字符,多个关键字以半圆角逗号 [ , ] 隔开', '站点关键字不能为空', 'home', 'home_seo_site_keywords', '1605667668'), ('18', 'ShopXO是国内领先的商城系统提供商,为企业提供php商城系统、微信商城、小程序。', '站点描述', '站点描述,一般不超过200个字符', '站点描述不能为空', 'home', 'home_seo_site_description', '1605667668'), ('19', '沪ICP备20014383号', 'ICP证书号', 'ICP域名备案号', '', 'home', 'home_site_icp', '1605284914'), ('20', '', '底部统计代码', '支持html,可用于添加流量统计代码', '', 'home', 'home_statistics_code', '0'), ('21', '1', '站点状态', '可暂时将站点关闭,其他人无法访问,但不影响管理员访问后台', '请选择站点状态', 'home', 'home_site_state', '1605284914'), ('22', '升级中...', '关闭原因', '支持html,当网站处于关闭状态时,关闭原因将显示在前台', '', 'home', 'home_site_close_reason', '1605284914'), ('23', 'Asia/Shanghai', '默认时区', '默认 亚洲/上海 [标准时+8]', '请选择默认时区', 'common', 'common_timezone', '1605284914'), ('24', '', '底部代码', '支持html,可用于添加流量统计代码', '', 'home', 'home_footer_info', '1605284914'), ('28', 'ShopXO', '站点名称', '', '站点名称不能为空', 'home', 'home_site_name', '1605284914'), ('29', '2', '链接模式', '非兼容模式请确保配置好伪静态规则', '请选择url模式', 'home', 'home_seo_url_model', '1605667668'), ('25', '20480000', '图片最大限制', '单位B [上传图片还受到服务器空间PHP配置最大上传 20M 限制]', '请填写图片上传最大限制', 'home', 'home_max_limit_image', '1603762525'), ('26', '51200000', '文件最大限制', '单位B [上传文件还受到服务器空间PHP配置最大上传 20M 限制]', '请填写文件上传最大限制', 'home', 'home_max_limit_file', '1603762525'), ('27', '102400000', '视频最大限制', '单位B [上传视频还受到服务器空间PHP配置最大上传 20M 限制]', '请填写视频上传最大限制', 'home', 'home_max_limit_video', '1603762525'), ('30', 'html', '伪静态后缀', '链接后面的后缀别名,默认 [ html ]', '小写字母,不能超过8个字符', 'home', 'home_seo_url_html_suffix', '1605667668'), ('31', '0', '用户注册开启审核', '开启后用户注册需要审核通过方可登录', '请选择用户注册开启审核', 'common', 'common_register_is_enable_audit', '1566227415'), ('32', '/static/upload/images/common/2019/01/14/1547448748316693.png', '手机端logo', '支持 [jpg, png, gif]', '请上传手机端网站logo', 'home', 'home_site_logo_wap', '1605284914'), ('33', '/static/upload/images/common/2019/01/14/1547448705165706.png', '电脑端logo', '支持 [jpg, png, gif]', '请上传电脑端网站logo', 'home', 'home_site_logo', '1605284914'), ('34', '1200', '页面最大宽度', '页面最大宽度,单位px,0则100%', '请上传桌面图标', 'home', 'home_content_max_width', '1600008688'), ('35', '/static/upload/images/common/2019/01/14/1547448728921121.jpg', '桌面图标', '建议使用png格式', '图片比例值格式有误 0~100 之间,小数点后面最大两位', 'common', 'home_site_desktop_icon', '1605284914'), ('36', 'sms,email,username', '是否开启注册', '关闭注册后,前端站点将无法注册,可选择 [ 短信, 邮箱, 用户名 ]', '请选择是否开启注册状态', 'home', 'home_user_reg_state', '1566227415'), ('37', '1', '是否开启登录', '关闭后,前端站点将无法登录', '请选择是否开启登录状态', 'home', 'home_user_login_state', '1558084931'), ('38', '1', '获取验证码-开启图片验证码', '防止短信轰炸', '请选择是否开启强制图片验证码', 'home', 'home_img_verify_state', '1558085166'), ('39', '60', '获取验证码时间间隔', '防止频繁获取验证码,一般在 30~120 秒之间,单位 [秒]', '请填写获取验证码时间间隔', 'home', 'common_verify_interval_time', '1558085166'), ('40', '', '用户注册-短信模板ID', '验证码code', '请填写用户注册短信模板内容', 'home', 'home_sms_user_reg', '1587366205'), ('41', '', '短信签名', '发送短信包含的签名', '短信签名 3~8 个的中英文字符', 'common', 'common_sms_sign', '1587366196'), ('42', '', '短信KeyID', 'Access Key ID', '请填写Access Key ID', 'common', 'common_sms_apikey', '1587366196'), ('43', '', '密码找回-短信模板ID', '验证码code', '请填写密码找回短信模板内容', 'home', 'home_sms_user_forget_pwd', '1587366205'), ('44', '600', '验证码有效时间', '验证码过期时间,一般10分钟左右,单位 [秒]', '请填写验证码有效时间', 'home', 'common_verify_expire_time', '1558085166'), ('45', '', 'SMTP服务器', '设置SMTP服务器的地址,如 smtp.163.com', '请填写SMTP服务器', 'common', 'common_email_smtp_host', '1597483532'), ('46', '', 'SMTP端口', '设置SMTP服务器的端口,默认为 25', '请填写SMTP端口号', 'common', 'common_email_smtp_port', '1597483532'), ('47', '', '发信人邮件地址', '发信人邮件地址,使用SMTP协议发送的邮件地址,如 shopxo@163.com', '请填写发信人邮件地址', 'common', 'common_email_smtp_account', '1597483532'), ('48', '', 'SMTP身份验证用户名', '如 shopxo@163.com', '请填写SMTP身份验证用户名', 'common', 'common_email_smtp_name', '1597483532'), ('49', '', 'SMTP身份验证密码', 'shopxo@163.com邮件的密码或授权码', '请填写SMTP身份验证密码', 'common', 'common_email_smtp_pwd', '1597483532'), ('50', '', '发件人显示名称', '如 ShopXO', '', 'common', 'common_email_smtp_send_name', '1597483532'), ('51', '', '通用-短信模板ID', '验证码code', '请填写通用短信模板内容', 'common', 'common_sms_currency_template', '1587366205'), ('58', '', '短信KeySecret', 'Access Key Secret', '请填写Access Key Secret', 'common', 'common_sms_apisecret', '1587366196'), ('53', '021-88888888', '商店电话', '空则不显示', '', 'common', 'common_customer_store_tel', '1587138005'), ('56', '

    通用模板,你的验证码是  #code#

    ', '通用-邮件模板', '验证码变量标识符 [ #code# ]', '', 'common', 'common_email_currency_template', '1557728601'), ('57', 'default', '默认模板', '前台默认模板', '请选择默认模板', 'common', 'common_default_theme', '1605944208'), ('62', 'XSdiGjfg3wOHiKjpYEMG6CYA', '百度地图api密钥', '百度地图2.0起必须配置AK密钥', '请填写百度地图api密钥', 'common', 'common_baidu_map_ak', '1606139600'), ('63', '

    用户注册,你的验证码是  #code#

    ', '用户注册-邮件模板', '验证码变量标识符 [ #code# ]', '', 'home', 'home_email_user_reg', '1557728601'), ('64', '

    密码找回,你的验证码是  #code#

    ', '密码找回-邮件模板', '验证码变量标识符 [ #code# ]', '', 'home', 'home_email_user_forget_pwd', '1557728601'), ('65', '

    邮箱绑定,你的验证码是  #code#

    ', '邮箱绑定-邮件模板', '验证码变量标识符 [ #code# ]', '', 'home', 'home_email_user_email_binding', '1557728601'), ('66', '20200202', 'css/js版本标记', '用于css/js浏览器缓存版本识别', '', 'home', 'home_static_cache_version', '1605284914'), ('67', '', '手机号码绑定-短信模板ID', '验证码code', '请填写手机号码绑定短信模板内容', 'home', 'home_sms_user_mobile_binding', '1587366205'), ('68', '连衣裙,帐篷,iphone,包包', '搜索关键字', '搜索框下热门关键字(输入回车)', '请填写关键字', 'home', 'home_search_keywords', '1600767589'), ('69', '2', '搜索关键字类型', '自定义需要配置以下关键字', '请选择关键字类型', 'home', 'home_search_keywords_type', '1600767589'), ('70', '0', '订单预约模式', '开启后用户提交订单需要管理员确认', '请选择是否开启预约模式', 'common', 'common_order_is_booking', '1599205984'), ('71', 'ShopXO', '名称', '', '请填写名称', 'common', 'common_app_mini_alipay_title', '1597483646'), ('72', '国内领先企业级B2C开源电商系统!', '描述', '', '请填写描述', 'common', 'common_app_mini_alipay_describe', '1597483646'), ('73', '021-88888888', '客服电话', '空则不显示', '请填写客服电话', 'common', 'common_app_customer_service_tel', '1597483581'), ('74', '', 'AppID', '小程序ID', '请填写AppID', 'common', 'common_app_mini_alipay_appid', '1597483646'), ('75', '', '应用公钥', '', '请填写应用公钥', 'common', 'common_app_mini_alipay_rsa_public', '1597483646'), ('180', '', '密码', '默认无密码', '请填写密码', 'common', 'common_cache_session_redis_password', '1605443205'), ('181', '', '有效时间', '默认3600秒', '请填写有效时间', 'common', 'common_cache_session_redis_expire', '1605443205'), ('182', '', '前缀', '默认 shopxo', '请填写前缀', 'common', 'common_cache_session_redis_prefix', '1605443205'), ('76', '', '应用私钥', '', '请填写应用私钥', 'common', 'common_app_mini_alipay_rsa_private', '1597483646'), ('171', '0', '首页楼层商品排序类型', '默认综合', '请选择首页楼层商品排序类型', 'home', 'home_index_floor_goods_order_by_type', '1606316065'), ('173', '百宝箱', '快捷导航名称', '默认 百宝箱', '请填写快捷导航名称', 'home', 'home_navigation_main_quick_name', '1600767589'), ('172', '0', '首页楼层商品排序规则', '默认降序(desc)', '请选择首页楼层商品排序规则', 'home', 'home_index_floor_goods_order_by_rule', '1606316065'), ('188', 'default', '默认主题', '微信小程序默认主题', '请选择微信小程序默认主题', 'common', 'common_app_mini_weixin_default_theme', '1605947161'), ('174', '1', '获取账户手机一键登录', '默认否', '请选择获取账户手机一键登录', 'common', 'common_user_is_onekey_bind_mobile', '1600610405'), ('175', '1', '启用订单批量支付', '默认否', '请选择获启用订单批量支付', 'home', 'home_is_enable_order_bulk_pay', '1600767589'), ('176', '0', 'Session使用缓存', '默认否', '请选择Session使用缓存', 'common', 'common_session_is_use_cache', '1605443205'), ('177', '0', '数据使用缓存', '默认否', '请选择数据使用缓存', 'common', 'common_data_is_use_cache', '1605443205'), ('178', '', '连接地址', '默认 127.0.0.1', '请填写连接地址', 'common', 'common_cache_session_redis_host', '1605443205'), ('179', '', '端口号', '默认 6379', '请填写端口号', 'common', 'common_cache_session_redis_port', '1605443205'), ('78', '1', '是否启用搜索', '默认否', '', 'common', 'common_app_is_enable_search', '1600610405'), ('77', '', '支付宝公钥', '', '请填写支付宝公钥', 'common', 'common_app_mini_alipay_out_rsa_public', '1597483646'), ('167', '', 'css/js静态文件cdn域名', 'css/js静态文件', '请填写css/js静态文件cdn域名', 'common', 'common_cdn_public_host', '1599988905'), ('168', '8', '首页楼层商品数量', '默认8个', '请填写首页楼层商品数量', 'home', 'home_index_floor_goods_max_count', '1606316065'), ('170', '{\"1\":\"手机,小米,华为,iphone,vivo\",\"2\":\"女装,连衣裙,包包,睡衣,斜挎 短袖\"}', '首页楼层顶部右侧关键字', '楼层下关键字(输入回车)', '请填写首页楼层顶部右侧关键字', 'home', 'home_index_floor_top_right_keywords', '1606316065'), ('79', '1', '是否启用留言', '默认否', '', 'common', 'common_app_is_enable_answer', '1600610405'), ('80', '3', '商品可添加规格最大数量', '建议不超过3个规格', '请填写谷歌最大数', 'common', 'common_spec_add_max_number', '1606139599'), ('81', '-', '路由分隔符', '建议填写 [ - ] 默认 [ - ] ,仅PATHINFO模式+短地址模式下有效', '请填写路由分隔符', 'common', 'common_route_separator', '1605667668'), ('82', 'wxda7779770f53e901', 'AppID', '小程序ID', '请填写appid', 'common', 'common_app_mini_weixin_appid', '1605958415'), ('83', '4bb30af2e71e84f2f5107c0572f66641', 'AppSecret ', '小程序密钥', '请填写appsecret', 'common', 'common_app_mini_weixin_appsecret', '1605958415'), ('84', 'ShopXO', '名称', '', '请填写名称', 'common', 'common_app_mini_weixin_title', '1605958415'), ('85', '国内领先企业级B2C开源电商系统!', '描述', '', '请填写描述', 'common', 'common_app_mini_weixin_describe', '1605958415'), ('61', '用户中心公告文字,后台配置修改。', '用户中心公告', '空则不显示公告', '', 'common', 'common_user_center_notice', '1597483581'), ('8', '公告内容', '商城公告', '空则不显示公告', '', 'common', 'common_shop_notice', '1597483581'), ('86', 'test@qq.com', '商店邮箱', '空则不显示', '客服邮箱格式有误', 'common', 'common_customer_store_email', '1587138005'), ('87', '', '商店二维码', '空则不展示', '', 'common', 'common_customer_store_qrcode', '1606139600'), ('152', '[{\"alias\":\"总部\",\"name\":\"devil\",\"tel\":\"13222333333\",\"lng\":\"121.594278\",\"lat\":\"31.207917\",\"address\":\"张江高科\",\"province\":\"9\",\"city\":\"155\",\"county\":\"1937\",\"province_name\":\"上海市\",\"city_name\":\"浦东新区\",\"county_name\":\"张江镇\",\"id\":0}]', '自提点地址', '', '请填写自提点地址', 'common', 'common_self_extraction_address', '1599205984'), ('88', '上海市 浦东新区', '商店地址', '空则不展示', '', 'common', 'common_customer_store_address', '1587138005'), ('89', '

    用户注册协议


    ', '用户注册协议', '最多 105000 个字符', '用户注册协议最多 105000 个字符', 'common', 'common_agreement_userregister', '1600052861'), ('90', '/static/upload/images/common/2019/05/17/1558025141249118.png', '用户注册背景图片', '', '请上传用户注册背景图片', 'home', 'home_site_user_register_bg_images', '1566227415'), ('91', '/static/upload/images/common/2019/05/17/1558062481107570.jpg', '图片', '图片1 [ 建议使用 450X350 像数 ]', '', 'home', 'home_site_user_login_ad1_images', '1558084931'), ('92', '/static/upload/images/common/2019/05/17/1558072588843696.jpg', '图片', '图片2 [ 建议使用 450X350 像数 ]', '', 'home', 'home_site_user_login_ad2_images', '1558084931'), ('93', '/static/upload/images/common/2019/05/17/1558073623385520.jpg', '图片', '图片2 [ 建议使用 450X350 像数 ]', '', 'home', 'home_site_user_login_ad3_images', '1558084931'), ('94', 'https://shopxo.net/', 'url地址', '地址1 [ 带http://或https:// ]', '', 'home', 'home_site_user_login_ad1_url', '1558084931'), ('95', 'https://ask.shopxo.net/', 'url地址', '地址2 [ 带http://或https:// ]', '', 'home', 'home_site_user_login_ad2_url', '1558084931'), ('96', 'https://shopxo.net/vip.html', 'url地址', '地址3 [ 带http://或https:// ]', '', 'home', 'home_site_user_login_ad3_url', '1558084931'), ('97', '', '背景色', '背景色1', '', 'home', 'home_site_user_login_ad1_bg_color', '1558084931'), ('98', '#FAFAFA', '背景色', '背景色2', '', 'home', 'home_site_user_login_ad2_bg_color', '1558084931'), ('99', '#FAFAFA', '背景色', '背景色3', '', 'home', 'home_site_user_login_ad3_bg_color', '1558084931'), ('100', '1', '登录图片验证码', '可以防止非法登录', '请选择是否开启登录图片验证码', 'home', 'home_user_login_img_verify_state', '1558084931'), ('101', '/static/upload/images/common/2019/05/17/1558072588843696.jpg', '图片', '图片1 [ 建议使用 450X350 像数 ]', '', 'home', 'home_site_user_forgetpwd_ad1_images', '1558084915'), ('102', '/static/upload/images/common/2019/05/17/1558073623641199.jpg', '图片', '图片2 [ 建议使用 450X350 像数 ]', '', 'home', 'home_site_user_forgetpwd_ad2_images', '1558084915'), ('103', '', '图片', '图片2 [ 建议使用 450X350 像数 ]', '', 'home', 'home_site_user_forgetpwd_ad3_images', '1558084915'), ('104', 'https://shopxo.net/', 'url地址', '地址1 [ 带http://或https:// ]', '', 'home', 'home_site_user_forgetpwd_ad1_url', '1558084915'), ('105', '', 'url地址', '地址2 [ 带http://或https:// ]', '', 'home', 'home_site_user_forgetpwd_ad2_url', '1558084915'), ('106', '', 'url地址', '地址3 [ 带http://或https:// ]', '', 'home', 'home_site_user_forgetpwd_ad3_url', '1558084915'), ('107', '#FAFAFA', '背景色', '背景色1', '', 'home', 'home_site_user_forgetpwd_ad1_bg_color', '1558084915'), ('108', '#FAFAFA', '背景色', '背景色2', '', 'home', 'home_site_user_forgetpwd_ad2_bg_color', '1558084915'), ('109', '', '背景色', '背景色3', '', 'home', 'home_site_user_forgetpwd_ad3_bg_color', '1558084915'), ('110', '1', '用户注册图片验证码', '可以防止非法注册', '请选择是否开启用户注册图片验证码', 'home', 'home_user_register_img_verify_state', '1566227415'), ('111', '', '图片验证码规则', '默认白底黑字,可根据需求i加大验证码识别难度', '', 'common', 'common_images_verify_rules', '1558085166'), ('112', '0', 'SSL方式加密', '', '请选择是否使用SSL方式加密', 'common', 'common_email_is_use_ssl', '1597483532'), ('113', '活动/优惠未生效\n空包裹\n包裹丢失\n配送超时\n未按约定时间发货\n未送货上门\n物流显示签收但实际未收到货\n不喜欢/不想要', '仅退款原因', '可换行,一行一个', '请填写仅退款原因', 'home', 'home_order_aftersale_return_only_money_reason', '1570193301'), ('114', '7天无理由退换货\n配送超时\n未按约定时间发货\n未送货上门\n卖家发错货\n少件/漏发\n包装/商品破损/污渍\n商品信息描述不符\n使用后过敏\n已过/临近保质期\n无法溶解/结块/有异物', '退货退款原因', '可换行,一行一个', '请填写退货退款原因', 'home', 'home_order_aftersale_return_money_goods_reason', '1570193301'), ('115', '1', '用户注册协议', '', '请选择是否启用用户注册协议', 'home', 'home_is_enable_userregister_agreement', '1566227415'), ('116', '上海市 浦东新区', '退货地址', '用户退货货物收货地址', '请填写退货地址', 'home', 'home_order_aftersale_return_goods_address', '1570193301'), ('117', '0', '使用独立手机详情', '默认使用web详情', '请选择使用独立手机详情', 'common', 'common_app_is_use_mobile_detail', '1600610405'), ('118', '1', '强制绑定手机', '默认否', '请选择是否强制绑定手机', 'common', 'common_user_is_mandatory_bind_mobile', '1600610405'), ('121', '1', '固定顶部导航', '默认否', '请选择是否固定顶部导航', 'common', 'common_app_is_header_nav_fixed', '1600610405'), ('122', '1', '开启在线客服', '默认否', '请选择是否开启在线客服', 'common', 'common_app_is_online_service', '1600610405'), ('169', '10', '首页楼层左侧二级商品分类数量', '默认6个', '请填写首页楼层左侧二级商品分类数量', 'home', 'home_index_floor_left_goods_category_max_count', '1606316065'), ('163', '30', '订单完成可发起售后时限', '单位 天,默认30天', '请填写订单完成可发起售后时限', 'common', 'home_order_aftersale_return_launch_day', '1572350417'), ('124', '0', '启用好物推荐', '默认否,需重新生成小程序包(启用则需到微信小程序后台申请权限)', '请选择是否启用好物推荐', 'common', 'common_app_is_good_thing', '1605958415'), ('125', '', 'AppID', '智能小程序ID', '请填写AppID', 'common', 'common_app_mini_baidu_appid', '1604069165'), ('126', '', 'AppKey', '智能小程序KEY', '请填写AppKey', 'common', 'common_app_mini_baidu_appkey', '1604069165'), ('127', '', 'AppSecret', '智能小程序密匙', '请填写AppSecret', 'common', 'common_app_mini_baidu_appsecret', '1604069165'), ('128', 'ShopXO', '名称', '', '请填写名称', 'common', 'common_app_mini_baidu_title', '1604069165'), ('129', '国内领先企业级B2C开源电商系统!', '描述', '', '请填写描述', 'common', 'common_app_mini_baidu_describe', '1604069165'), ('130', '0', '留言需要登录', '默认否', '请选择是否留言需要登录', 'common', 'common_is_login_answer', '1599988905'), ('131', '0', '启用海报分享', '默认否\n', '请选择是否启用海报分享\n', 'common', 'common_app_is_poster_share', '1605958415'), ('132', '30', '订单关闭脚本时长', '单位 分钟,默认30分钟', '请填写订单关闭脚本时长', 'common', 'common_order_close_limit_time', '1599988905'), ('133', '21600', '订单自动收货脚本时长', '单位 分钟,默认21600分钟/15天', '请填写订单自动收货脚本时长', 'common', 'common_order_success_limit_time', '1599988905'), ('134', '', 'AppID', '小程序ID', '请填写AppID', 'common', 'common_app_mini_toutiao_appid', '1580644065'), ('135', '', 'AppSecret', '小程序Secret', '请填写AppSecret', 'common', 'common_app_mini_toutiao_appsecret', '1580644065'), ('136', '', 'PayMerchantID', '支付商户号', '请填写支付商户号', 'common', 'common_app_mini_toutiao_pay_merchant_id', '1580644065'), ('137', '', 'PayAppID', '支付AppID', '请填写AppID', 'common', 'common_app_mini_toutiao_pay_appid', '1580644065'), ('138', '', 'PaySecret', '支付Secret', '请填写支付Secret', 'common', 'common_app_mini_toutiao_pay_secret', '1580644065'), ('139', 'ShopXO', '名称', '', '请填写名称', 'common', 'common_app_mini_toutiao_title', '1580644065'), ('140', '国内领先企业级B2C开源电商系统!', '描述', '', '请填写描述', 'common', 'common_app_mini_toutiao_describe', '1580644065'), ('141', '', '公安备案号', '如:京公网安备xxx号', '请填写公安备案号', 'home', 'home_site_security_record_name', '1605284914'), ('142', '', '公安备案地址', '备案展示页面的url地址', '请填写公安备案地址', 'home', 'home_site_security_record_url', '1605284914'), ('143', '', 'AppID', '小程序ID', '请填写AppID', 'common', 'common_app_mini_qq_appid', '1604069175'), ('144', '', 'AppSecret', '小程序Secret', '请填写AppSecret', 'common', 'common_app_mini_qq_appsecret', '1604069175'), ('145', '', 'AppToken', '小程序Token', '请填写AppToken', 'common', 'common_app_mini_qq_apptoken', '1604069175'), ('146', 'ShopXO', '名称', '', '请填写名称', 'common', 'common_app_mini_qq_title', '1604069175'), ('147', '国内领先企业级B2C开源电商系统!', '描述', '', '请填写描述', 'common', 'common_app_mini_qq_describe', '1604069175'), ('148', '1', '是否启用用户中心头部小导航', '默认否', '请选择是否启用用户中心头部小导航', 'common', 'common_app_is_head_vice_nav', '1600610405'), ('151', '4', '站点类型', '默认销售型', '请选择站点类型', 'common', 'common_site_type', '1599205984'), ('150', '', '展示型操作名称', '默认 立即咨询', '请填写展示型操作名称', 'common', 'common_is_exhibition_mode_btn_text', '1599205984'), ('153', '', '虚拟信息标题', '默认密钥信息', '请填写虚拟信息标题', 'common', 'common_site_fictitious_return_title', '1599205984'), ('154', '', '提示信息', '', '请填写提示信息', 'common', 'common_site_fictitious_return_tips', '1599205984'), ('155', '', '在线客服-企业编码', '空则不显示在线客服', '请填写在线客服-企业编码', 'common', 'common_app_mini_alipay_tnt_inst_id', '1597483646'), ('156', '', '在线客服-聊天窗编码', '空则不显示在线客服', '请填写在线客服-聊天窗编码', 'common', 'common_app_mini_alipay_scene', '1597483646'), ('157', '0', '商品详情页展示相册', '默认否', '请选择是否商品详情页展示相册', 'common', 'common_is_goods_detail_show_photo', '1600767589'), ('158', '0', '手机简洁模式', '默认否', '请选择是否手机简洁模式', 'common', 'common_is_mobile_concise_model', '1597483581'), ('159', '0', '启用直播', '默认否,需重新生成小程序包(启用则需到微信小程序后台申请权限)', '请选择是否启用直播', 'common', 'common_app_weixin_liveplayer', '1605958415'), ('160', '4.0.1', '好物推荐组件版本号', '', '请填写好物推荐组件版本号', 'common', 'common_app_is_good_thing_ver', '1605958415'), ('161', '1.1.4', '直播组件版本号', '', '请填写直播组件版本号', 'common', 'common_app_weixin_liveplayer_ver', '1605958415'), ('162', '1', '后台登录页随机背景图', '默认启用', '请选择后台登录页随机背景图', 'common', 'admin_login_info_bg_images_rand', '1606139600'), ('164', '30', '支付日志订单关闭脚本时长', '单位 分钟,默认30分钟', '请填写支付日志订单关闭脚本时长', 'common', 'common_pay_log_order_close_limit_time', '1599988905'), ('165', '3', '分类展示层级', '默认3级', '请填写分类展示层级', 'common', 'common_show_goods_category_level', '1600767589'), ('166', '', '附件cdn域名', '图片/视频/文件', '请填写附件cdn域名', 'common', 'common_cdn_attachment_host', '1599988905'), ('183', '', '连接地址', '默认 127.0.0.1', '请填写连接地址', 'common', 'common_cache_data_redis_host', '1605443205'), ('184', '', '端口号', '默认 6379', '请填写端口号', 'common', 'common_cache_data_redis_port', '1605443205'), ('185', '', '密码', '默认无密码', '请填写密码', 'common', 'common_cache_data_redis_password', '1605443205'), ('186', '', '有效时间', '默认0表示永久', '请填写有效时间', 'common', 'common_cache_data_redis_expire', '1605443205'), ('187', '', '前缀', '默认 shopxo', '请填写前缀', 'common', 'common_cache_data_redis_prefix', '1605443205'), ('189', 'default', '默认主题', '支付宝小程序默认主题', '请选择支付宝小程序默认主题', 'common', 'common_app_mini_alipay_default_theme', '1572350417'), ('190', 'default', '默认主题', '百度小程序默认主题', '请选择百度小程序默认主题', 'common', 'common_app_mini_baidu_default_theme', '1605944646'), ('191', 'default', '默认主题', '头条小程序默认主题', '请选择头条小程序默认主题', 'common', 'common_app_mini_toutiao_default_theme', '1605945236'), ('192', 'default', '默认主题', 'QQ小程序默认主题', '请选择QQ小程序默认主题', 'common', 'common_app_mini_qq_default_theme', '1605947370'), ('193', '1', '首页楼层数据模式类型', '默认自动模式', '请选择首页楼层数据模式类型', 'home', 'home_index_floor_data_type', '1606316065'), ('194', '{\"1\":[\"9\",\"8\"],\"2\":[\"10\",\"12\",\"8\",\"9\",\"11\",\"6\",\"5\",\"4\",\"7\",\"3\"]}', '首页楼层商品配置', '自定义添加商品', '请选择首页楼层商品配置', 'home', 'home_index_floor_manual_mode_goods', '1606316065'); COMMIT; -- ---------------------------- @@ -466,7 +466,7 @@ CREATE TABLE `s_goods` ( -- Records of `s_goods` -- ---------------------------- BEGIN; -INSERT INTO `s_goods` VALUES ('1', '1', '-1', 'MIUI/小米 小米手机4 小米4代 MI4智能4G手机包邮 黑色 D-LTE(4G)/TD-SCD', '', '', '', '0', '8', '步', '/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', '10', '596', '', '0', '', '

    https://pan.baidu.com/s/18xyUNruvohr5JCdorvaz5w     提取码 v3y4

    ', null, '', '', '', '0', '1547450921', '1605345053'), ('2', '2', '-1', '苹果(Apple)iPhone 6 Plus (A1524)移动联通电信4G手机 金色 16G', '', '', 'iPhone 6 Plus', '0', '1997', '步', '/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', '36', '1889', '/static/upload/video/goods/2019/01/14/1547458876723311.mp4', '1', '', '', null, '', '', '', '0', '1547451624', '1605345051'), ('3', '2', '-1', 'Samsung/三星 SM-G8508S GALAXY Alpha四核智能手机 新品 闪耀白', '', '', '', '0', '333', '步', '/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', '4', '297', '', '0', '', '', null, '', '', '', '0', '1547452007', '1605432752'), ('4', '1', '-1', 'Huawei/华为 H60-L01 荣耀6 移动4G版智能手机 安卓', '', '', '', '0', '333', '步', '/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', '4', '289', '', '0', '', '', null, '', '', '', '0', '1547452553', '1605432758'), ('5', '2', '-1', 'Meizu/魅族 MX4 Pro移动版 八核大屏智能手机 黑色 16G', '', '', '', '0', '555', '步', '/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', '10', '548', '', '0', null, null, null, '', '', '', '0', '1547452798', '1605432763'), ('6', '1', '-1', 'vivo X5MAX L 移动4G 八核超薄大屏5.5吋双卡手机vivoX5max', '', '', '', '0', '666', '步', '/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', '2', '400', '', '0', '', '', null, '', '', '', '0', '1547453135', '1605432769'), ('7', '1', '-1', '纽芝兰包包女士2018新款潮百搭韩版时尚单肩斜挎包少女小挎包链条', '', '', '', '0', '218', '件', '/static/upload/images/goods/2019/01/15/1547540603500383.jpg', '760.00', '760.00', '760.00', '168.00', '168.00', '168.00', '11', '1', '0', '1', '1', '1', '


    ', '2', '8', '1121', '', '0', null, null, null, '', '', '', '0', '1547453967', '1602428921'), ('8', '1', '-1', 'MARNI Trunk 女士 中号拼色十字纹小牛皮 斜挎风琴包', '', '', '', '0', '3', '件', '/static/upload/images/goods/2019/01/14/1547454145355962.jpg', '0.00', '0.00', '0.00', '356.00', '356.00', '356.00', '8', '1', '6', '1', '1', '1', '



    ', '2', '2', '759', '', '0', '', '', null, '', '', '', '0', '1547454269', '1605345199'), ('9', '2', '2', '睡衣女长袖春秋季纯棉韩版女士大码薄款春夏季全棉家居服两件套装', '', '', '', '0', '1087', '件', '/static/upload/images/goods/2019/01/14/1547454567172116.jpg', '160.00-216.00', '160.00', '216.00', '120.00-158.00', '120.00', '158.00', '2', '1', '0', '1', '1', '1', '


    ', '3', '18', '972', '', '1', '', '', null, '', '', '', '0', '1547454786', '1605345103'), ('10', '0', '1', '夏装女装古力娜扎明星同款一字领露肩蓝色蕾丝修身显瘦连衣裙礼服', '', '', '', '0', '222', '件', '/static/upload/images/goods/2019/01/14/1547455222990904.jpg', '568.00', '568.00', '568.00', '228.00', '228.00', '228.00', '28', '1', '1', '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', '8', '650', '', '0', '', '

    https://pan.baidu.com/s/1XTSM-EJZwEgLmGx3ZyFMGQ   提取码:dcs4

    ', null, '', '', '', '0', '1547455375', '1602428921'), ('11', '0', '3', '夏季复古ins风格网红SP同款 短袖大圆领香槟色蕾丝绣花钉珠连衣裙', '', '', '', '0', '1998', '件', '/static/upload/images/goods/2019/01/14/1547455566118614.jpg', '268.00-422.00', '268.00', '422.00', '160.00-258.00', '160.00', '258.00', '0', '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', '4', '488', '', '1', '', '', null, '', '', '', '0', '1547455700', '1605434325'), ('12', '2', '4', 'ZK星星绣花雪纺连衣裙中长款sukol裙少女心温柔超仙女chic裙子夏', '', '轻奢醋酸面料,高标准的生产要求,品质保证', 'hello', '2', '25', '箱', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '0.00', '0.00', '0.00', '0.01', '0.01', '0.01', '50', '1', '0', '1', '1', '1', '


    112233445566
    qwerty
    asdfgh
    zxcvbn


    \"d-1.jpg\"/

    \"d-2.jpg\"/

    ', '3', '17', '1644', '', '1', '[{\"title\":\"颜色\",\"value\":[\"粉色\",\"白色\"]},{\"title\":\"尺码\",\"value\":[\"S+S\",\"M+M\",\"L+L\"]}]', '', null, 'ZK爆款连衣裙', '连衣裙,裙子', '夏季连衣裙,瘦身裙子', '0', '1547456230', '1602469864'); +INSERT INTO `s_goods` VALUES ('1', '1', '-1', 'MIUI/小米 小米手机4 小米4代 MI4智能4G手机包邮 黑色 D-LTE(4G)/TD-SCD', '', '', '', '0', '8', '步', '/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', '10', '600', '', '0', '', '

    https://pan.baidu.com/s/18xyUNruvohr5JCdorvaz5w     提取码 v3y4

    ', null, '', '', '', '0', '1547450921', '1605345053'), ('2', '2', '-1', '苹果(Apple)iPhone 6 Plus (A1524)移动联通电信4G手机 金色 16G', '', '', 'iPhone 6 Plus', '0', '1997', '步', '/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', '36', '1897', '/static/upload/video/goods/2019/01/14/1547458876723311.mp4', '1', '', '', null, '', '', '', '0', '1547451624', '1605345051'), ('3', '2', '-1', 'Samsung/三星 SM-G8508S GALAXY Alpha四核智能手机 新品 闪耀白', '', '', '', '0', '333', '步', '/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', '4', '298', '', '0', '', '', null, '', '', '', '0', '1547452007', '1605432752'), ('4', '1', '-1', 'Huawei/华为 H60-L01 荣耀6 移动4G版智能手机 安卓', '', '', '', '0', '333', '步', '/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', '4', '290', '', '0', '', '', null, '', '', '', '0', '1547452553', '1605432758'), ('5', '2', '-1', 'Meizu/魅族 MX4 Pro移动版 八核大屏智能手机 黑色 16G', '', '', '', '0', '555', '步', '/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', '10', '553', '', '0', null, null, null, '', '', '', '0', '1547452798', '1605432763'), ('6', '1', '-1', 'vivo X5MAX L 移动4G 八核超薄大屏5.5吋双卡手机vivoX5max', '', '', '', '0', '666', '步', '/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', '2', '402', '', '0', '', '', null, '', '', '', '0', '1547453135', '1605432769'), ('7', '1', '-1', '纽芝兰包包女士2018新款潮百搭韩版时尚单肩斜挎包少女小挎包链条', '', '', '', '0', '218', '件', '/static/upload/images/goods/2019/01/15/1547540603500383.jpg', '760.00', '760.00', '760.00', '168.00', '168.00', '168.00', '11', '1', '0', '1', '1', '1', '


    ', '2', '8', '1126', '', '0', null, null, null, '', '', '', '0', '1547453967', '1602428921'), ('8', '1', '-1', 'MARNI Trunk 女士 中号拼色十字纹小牛皮 斜挎风琴包', '', '', '', '0', '3', '件', '/static/upload/images/goods/2019/01/14/1547454145355962.jpg', '0.00', '0.00', '0.00', '356.00', '356.00', '356.00', '8', '1', '6', '1', '1', '1', '



    ', '2', '2', '765', '', '0', '', '', null, '', '', '', '0', '1547454269', '1605345199'), ('9', '2', '2', '睡衣女长袖春秋季纯棉韩版女士大码薄款春夏季全棉家居服两件套装', '', '', '', '0', '1087', '件', '/static/upload/images/goods/2019/01/14/1547454567172116.jpg', '160.00-216.00', '160.00', '216.00', '120.00-158.00', '120.00', '158.00', '2', '1', '0', '1', '1', '1', '


    ', '3', '18', '979', '', '1', '', '', null, '', '', '', '0', '1547454786', '1605345103'), ('10', '0', '1', '夏装女装古力娜扎明星同款一字领露肩蓝色蕾丝修身显瘦连衣裙礼服', '', '', '', '0', '222', '件', '/static/upload/images/goods/2019/01/14/1547455222990904.jpg', '568.00', '568.00', '568.00', '228.00', '228.00', '228.00', '28', '1', '1', '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', '8', '652', '', '0', '', '

    https://pan.baidu.com/s/1XTSM-EJZwEgLmGx3ZyFMGQ   提取码:dcs4

    ', null, '', '', '', '0', '1547455375', '1602428921'), ('11', '0', '3', '夏季复古ins风格网红SP同款 短袖大圆领香槟色蕾丝绣花钉珠连衣裙', '', '', '', '0', '1998', '件', '/static/upload/images/goods/2019/01/14/1547455566118614.jpg', '268.00-422.00', '268.00', '422.00', '160.00-258.00', '160.00', '258.00', '0', '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', '4', '490', '', '1', '', '', null, '', '', '', '0', '1547455700', '1605434325'), ('12', '2', '4', 'ZK星星绣花雪纺连衣裙中长款sukol裙少女心温柔超仙女chic裙子夏', '', '轻奢醋酸面料,高标准的生产要求,品质保证', 'hello', '2', '25', '箱', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '0.00', '0.00', '0.00', '0.01', '0.01', '0.01', '50', '1', '0', '1', '1', '1', '


    112233445566
    qwerty
    asdfgh
    zxcvbn


    \"d-1.jpg\"/

    \"d-2.jpg\"/

    ', '3', '18', '1649', '', '1', '[{\"title\":\"颜色\",\"value\":[\"粉色\",\"白色\"]},{\"title\":\"尺码\",\"value\":[\"S+S\",\"M+M\",\"L+L\"]}]', '', '', 'ZK爆款连衣裙', '连衣裙,裙子', '夏季连衣裙,瘦身裙子', '0', '1547456230', '1606199005'); COMMIT; -- ---------------------------- @@ -486,7 +486,7 @@ CREATE TABLE `s_goods_browse` ( -- Records of `s_goods_browse` -- ---------------------------- BEGIN; -INSERT INTO `s_goods_browse` VALUES ('1', '6', '1', '1604832044', '1605657568'), ('2', '7', '1', '1604832045', '1605958554'), ('3', '8', '1', '1604832046', '1605373518'), ('4', '9', '1', '1604832047', '1605662748'), ('5', '12', '1', '1604839365', '1605958626'), ('6', '10', '1', '1604841381', '1605440096'), ('7', '2', '1', '1605107670', '1605668719'), ('8', '3', '1', '1605188357', '1605657570'), ('9', '4', '1', '1605188359', '1605195043'), ('10', '5', '1', '1605188361', '1605668118'), ('11', '1', '1', '1605188366', '1605668119'), ('12', '2', '2', '1605373852', '1605373858'), ('13', '9', '2', '1605373864', '1605373921'), ('14', '11', '1', '1605432723', '0'), ('15', '7', '3', '1605958837', '1605959317'), ('16', '1', '3', '1605959293', '1605959313'), ('17', '2', '3', '1605960043', '1605960249'); +INSERT INTO `s_goods_browse` VALUES ('1', '6', '1', '1604832044', '1605657568'), ('2', '7', '1', '1604832045', '1605958554'), ('3', '8', '1', '1604832046', '1605373518'), ('4', '9', '1', '1604832047', '1605662748'), ('5', '12', '1', '1604839365', '1606199009'), ('6', '10', '1', '1604841381', '1605440096'), ('7', '2', '1', '1605107670', '1605668719'), ('8', '3', '1', '1605188357', '1605657570'), ('9', '4', '1', '1605188359', '1605195043'), ('10', '5', '1', '1605188361', '1605668118'), ('11', '1', '1', '1605188366', '1605668119'), ('12', '2', '2', '1605373852', '1605373858'), ('13', '9', '2', '1605373864', '1605373921'), ('14', '11', '1', '1605432723', '0'), ('15', '7', '3', '1605958837', '1605959317'), ('16', '1', '3', '1605959293', '1605959313'), ('17', '2', '3', '1605960043', '1605960249'); COMMIT; -- ---------------------------- @@ -536,13 +536,13 @@ CREATE TABLE `s_goods_category_join` ( PRIMARY KEY (`id`), KEY `goods_id` (`goods_id`), KEY `category_id` (`category_id`) -) ENGINE=InnoDB AUTO_INCREMENT=693 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='商品分类关联'; +) ENGINE=InnoDB AUTO_INCREMENT=696 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='商品分类关联'; -- ---------------------------- -- Records of `s_goods_category_join` -- ---------------------------- BEGIN; -INSERT INTO `s_goods_category_join` VALUES ('10', '5', '68', '1547452798'), ('11', '5', '69', '1547452798'), ('79', '7', '58', '1554485498'), ('80', '7', '194', '1554485498'), ('81', '7', '196', '1554485498'), ('299', '1', '68', '1574168666'), ('300', '1', '304', '1574168666'), ('410', '11', '304', '1593703443'), ('411', '11', '318', '1593703443'), ('458', '10', '304', '1594905899'), ('459', '10', '318', '1594905899'), ('460', '10', '446', '1594905899'), ('479', '6', '1', '1594957734'), ('488', '13', '304', '1596114615'), ('489', '13', '318', '1596114615'), ('494', '14', '304', '1597152213'), ('495', '14', '318', '1597152213'), ('499', '2', '68', '1598698299'), ('500', '2', '69', '1598698299'), ('501', '2', '304', '1598698299'), ('581', '9', '363', '1599803472'), ('582', '3', '68', '1600151429'), ('583', '3', '69', '1600151429'), ('584', '3', '305', '1600151429'), ('585', '4', '68', '1600151450'), ('586', '4', '69', '1600151450'), ('587', '4', '318', '1600151450'), ('588', '8', '58', '1600771192'), ('589', '8', '195', '1600771192'), ('590', '8', '198', '1600771192'), ('690', '12', '53', '1602469864'), ('691', '12', '611', '1602469864'), ('692', '12', '612', '1602469864'); +INSERT INTO `s_goods_category_join` VALUES ('10', '5', '68', '1547452798'), ('11', '5', '69', '1547452798'), ('79', '7', '58', '1554485498'), ('80', '7', '194', '1554485498'), ('81', '7', '196', '1554485498'), ('299', '1', '68', '1574168666'), ('300', '1', '304', '1574168666'), ('410', '11', '304', '1593703443'), ('411', '11', '318', '1593703443'), ('458', '10', '304', '1594905899'), ('459', '10', '318', '1594905899'), ('460', '10', '446', '1594905899'), ('479', '6', '1', '1594957734'), ('488', '13', '304', '1596114615'), ('489', '13', '318', '1596114615'), ('494', '14', '304', '1597152213'), ('495', '14', '318', '1597152213'), ('499', '2', '68', '1598698299'), ('500', '2', '69', '1598698299'), ('501', '2', '304', '1598698299'), ('581', '9', '363', '1599803472'), ('582', '3', '68', '1600151429'), ('583', '3', '69', '1600151429'), ('584', '3', '305', '1600151429'), ('585', '4', '68', '1600151450'), ('586', '4', '69', '1600151450'), ('587', '4', '318', '1600151450'), ('588', '8', '58', '1600771192'), ('589', '8', '195', '1600771192'), ('590', '8', '198', '1600771192'), ('693', '12', '53', '1606199005'), ('694', '12', '611', '1606199005'), ('695', '12', '612', '1606199005'); COMMIT; -- ---------------------------- @@ -585,13 +585,13 @@ CREATE TABLE `s_goods_content_app` ( PRIMARY KEY (`id`), KEY `goods_id` (`goods_id`), KEY `sort` (`sort`) -) ENGINE=InnoDB AUTO_INCREMENT=993 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='商品手机详情'; +) ENGINE=InnoDB AUTO_INCREMENT=997 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='商品手机详情'; -- ---------------------------- -- Records of `s_goods_content_app` -- ---------------------------- BEGIN; -INSERT INTO `s_goods_content_app` VALUES ('17', '5', '/static/upload/images/goods/2019/01/14/1547452760417982.jpg', '', '0', '1547452798'), ('18', '5', '/static/upload/images/goods/2019/01/14/1547452760984656.jpg', '', '1', '1547452798'), ('19', '5', '/static/upload/images/goods/2019/01/14/1547452760659259.jpg', '', '2', '1547452798'), ('135', '7', '/static/upload/images/goods/2019/01/14/1547453910353340.jpg', '', '0', '1554485498'), ('136', '7', '/static/upload/images/goods/2019/01/14/1547453910505349.jpg', '', '1', '1554485498'), ('137', '7', '/static/upload/images/goods/2019/01/14/1547453910394886.jpg', '', '2', '1554485498'), ('507', '1', '/static/upload/images/goods/2019/01/14/1547450880620837.png', '', '0', '1574168666'), ('508', '1', '/static/upload/images/goods/2019/01/14/1547450880750687.png', '', '1', '1574168666'), ('509', '1', '/static/upload/images/goods/2019/01/14/1547450880917418.png', '', '2', '1574168666'), ('675', '11', '/static/upload/images/goods/2019/01/14/1547455601314107.jpg', '【品牌】欧单 学媛风 猫咪良品\n\n【吊牌】xueyuanfeng 猫咪良品\n\n【面料质地】网纱绣花钉珠拼接蕾丝 有拉链有内衬(非专业机构鉴定,介意请慎拍)\n\n好的衣服需要好好呵护,务必请冷水手洗(切记别浸泡)拧干就晾晒或则干洗哦~\n\n【商品颜色】实物拍摄 香槟色 颜色很难拍有小色差属正常现象哦\n\n【商品尺寸】XS/S/M/L 小高腰设计 胸那考虑撑开因素哦 微弹的哦\n\n\nXS码尺寸: 衣长82CM.胸围80内合适.腰围63CM.臀围86CM\n\nS码尺寸: 衣长83CM.胸围84内合适.腰围67CM.臀围90CM\n\nM码尺寸: 衣长84CM.胸围88内合适.腰围71CM.臀围94CM\n\nL码尺寸: 衣长85CM.胸围92内合适.腰围75CM.臀围98CM\n\n\n(测量单位是CM,每个人的测量方式不一样,测量的尺寸数据可能会有1~3厘米的差异,请MM们谅解哦)\n\n\nPS:常规码数,可按平时号选择哦。修身版型,如果腰粗可以适当考虑大1号哦~\n\n大圆领,每个人的身材曲线不同,领口不会很平的哦,请谅解~\n\n肩膀那有暗扣哦,可以很好的隐藏了内衣的肩带哦~袖子那略硬哦~', '0', '1593703443'), ('676', '11', '/static/upload/images/goods/2019/01/14/1547455601168384.jpg', '', '1', '1593703443'), ('677', '11', '/static/upload/images/goods/2019/01/14/1547455601898622.jpg', '', '2', '1593703443'), ('678', '11', '/static/upload/images/goods/2019/01/14/1547455601528614.jpg', '', '3', '1593703443'), ('717', '10', '/static/upload/images/goods/2019/01/14/1547455266527628.jpg', '【品牌】欧单 学媛风 猫咪良品\n\n【吊牌】xueyuanfeng 猫咪良品\n\n【面料质地】涤棉拼接蕾丝 后中拉链 有内衬(非专业机构鉴定,介意请慎拍)\n\n好的衣服需要好好呵护,务必请冷水手洗(切记别浸泡)拧干就晾晒或则干洗哦~\n\n【商品颜色】实物拍摄 蓝色 颜色很难拍有小色差属正常现象哦\n\n【商品尺寸】XS/S/M/L 小高腰设计 胸口纽扣是装饰的哦\n\n\nXS码尺寸: 悬挂衣长81CM.胸围80内合适.腰围63CM.臀围86CM\n\nS码尺寸: 悬挂衣长82CM.胸围84内合适.腰围67CM.臀围90CM\n\nM码尺寸: 悬挂衣长83CM.胸围88内合适.腰围71CM.臀围94CM\n\nL码尺寸: 悬挂衣长84CM.胸围92内合适.腰围75CM.臀围98CM\n\n\n(测量单位是CM,每个人的测量方式不一样,测量的尺寸数据可能会有1~3厘米的差异,请MM们谅解哦)\n\n\nPS:常规码数,可按平时号选择哦。修身版型~如果上身偏大可以适当考虑大1号~下摆蕾丝拼接不会很平整的哦~\n\n蕾丝花是手工修剪出来的,每件都有不同和不规则的哦,有小线头和节点是正常现象哦~请亲们谅解哦~', '0', '1594905899'), ('718', '10', '/static/upload/images/goods/2019/01/14/1547455266234658.jpg', '', '1', '1594905899'), ('737', '6', '/static/upload/images/goods/2019/01/14/1547453042405182.jpg', 'X5L/SL/V/M (5.0寸) X5max钢化膜(5.5寸) X5pro钢化膜(5.2寸)', '0', '1594957734'), ('738', '6', '/static/upload/images/goods/2019/01/14/1547453042614480.jpg', '', '1', '1594957734'), ('739', '6', '/static/upload/images/goods/2019/01/14/1547453042816509.jpg', '', '2', '1594957734'), ('768', '2', '/static/upload/images/goods/2019/01/14/1547451595700972.jpg', '', '0', '1598698299'), ('769', '2', '/static/upload/images/goods/2019/01/14/1547451595528800.jpg', '', '1', '1598698299'), ('770', '2', '/static/upload/images/goods/2019/01/14/1547451595616298.jpg', '', '2', '1598698299'), ('843', '9', '/static/upload/images/goods/2019/01/14/1547454712270511.jpg', '', '0', '1599803472'), ('844', '9', '/static/upload/images/goods/2019/01/14/1547454713556301.jpg', '', '1', '1599803472'), ('845', '9', '/static/upload/images/goods/2019/01/14/1547454713800333.jpg', '', '2', '1599803472'), ('846', '9', '/static/upload/images/goods/2019/01/14/1547454713456602.jpg', '', '3', '1599803472'), ('847', '3', '/static/upload/images/goods/2019/01/14/1547451947383902.jpg', '', '0', '1600151429'), ('848', '3', '/static/upload/images/goods/2019/01/14/1547451947686990.jpg', '', '1', '1600151429'), ('849', '3', '/static/upload/images/goods/2019/01/14/1547451947676180.jpg', '', '2', '1600151429'), ('850', '3', '/static/upload/images/goods/2019/01/14/1547451947791154.jpg', '', '3', '1600151429'), ('851', '4', '/static/upload/images/goods/2019/01/14/1547452505568604.jpg', '', '0', '1600151450'), ('852', '4', '/static/upload/images/goods/2019/01/14/1547452505349986.jpg', '', '1', '1600151450'), ('853', '4', '/static/upload/images/goods/2019/01/14/1547452505184884.jpg', '', '2', '1600151450'), ('854', '8', '/static/upload/images/goods/2019/01/14/1547454192301566.jpg', '', '0', '1600771192'), ('855', '8', '/static/upload/images/goods/2019/01/14/1547454192448116.jpg', '', '1', '1600771192'), ('856', '8', '/static/upload/images/goods/2019/01/14/1547454192474638.jpg', '', '2', '1600771192'), ('989', '12', '/static/upload/images/goods/2019/01/14/1547456214155362.jpg', '每个人都有一个死角, 自己走不出来,别人也闯不进去。\n我把最深沉的秘密放在那里。\n你不懂我,我不怪你。\n每个人都有一道伤口, 或深或浅,盖上布,以为不存在。', '0', '1602469864'), ('990', '12', '/static/upload/images/goods/2019/01/14/1547455907486857.jpg', '', '1', '1602469864'), ('991', '12', '/static/upload/images/goods/2019/01/14/1547455907256518.jpg', '', '2', '1602469864'), ('992', '12', '/static/upload/images/goods/2019/01/14/1547456228913731.jpg', '', '3', '1602469864'); +INSERT INTO `s_goods_content_app` VALUES ('17', '5', '/static/upload/images/goods/2019/01/14/1547452760417982.jpg', '', '0', '1547452798'), ('18', '5', '/static/upload/images/goods/2019/01/14/1547452760984656.jpg', '', '1', '1547452798'), ('19', '5', '/static/upload/images/goods/2019/01/14/1547452760659259.jpg', '', '2', '1547452798'), ('135', '7', '/static/upload/images/goods/2019/01/14/1547453910353340.jpg', '', '0', '1554485498'), ('136', '7', '/static/upload/images/goods/2019/01/14/1547453910505349.jpg', '', '1', '1554485498'), ('137', '7', '/static/upload/images/goods/2019/01/14/1547453910394886.jpg', '', '2', '1554485498'), ('507', '1', '/static/upload/images/goods/2019/01/14/1547450880620837.png', '', '0', '1574168666'), ('508', '1', '/static/upload/images/goods/2019/01/14/1547450880750687.png', '', '1', '1574168666'), ('509', '1', '/static/upload/images/goods/2019/01/14/1547450880917418.png', '', '2', '1574168666'), ('675', '11', '/static/upload/images/goods/2019/01/14/1547455601314107.jpg', '【品牌】欧单 学媛风 猫咪良品\n\n【吊牌】xueyuanfeng 猫咪良品\n\n【面料质地】网纱绣花钉珠拼接蕾丝 有拉链有内衬(非专业机构鉴定,介意请慎拍)\n\n好的衣服需要好好呵护,务必请冷水手洗(切记别浸泡)拧干就晾晒或则干洗哦~\n\n【商品颜色】实物拍摄 香槟色 颜色很难拍有小色差属正常现象哦\n\n【商品尺寸】XS/S/M/L 小高腰设计 胸那考虑撑开因素哦 微弹的哦\n\n\nXS码尺寸: 衣长82CM.胸围80内合适.腰围63CM.臀围86CM\n\nS码尺寸: 衣长83CM.胸围84内合适.腰围67CM.臀围90CM\n\nM码尺寸: 衣长84CM.胸围88内合适.腰围71CM.臀围94CM\n\nL码尺寸: 衣长85CM.胸围92内合适.腰围75CM.臀围98CM\n\n\n(测量单位是CM,每个人的测量方式不一样,测量的尺寸数据可能会有1~3厘米的差异,请MM们谅解哦)\n\n\nPS:常规码数,可按平时号选择哦。修身版型,如果腰粗可以适当考虑大1号哦~\n\n大圆领,每个人的身材曲线不同,领口不会很平的哦,请谅解~\n\n肩膀那有暗扣哦,可以很好的隐藏了内衣的肩带哦~袖子那略硬哦~', '0', '1593703443'), ('676', '11', '/static/upload/images/goods/2019/01/14/1547455601168384.jpg', '', '1', '1593703443'), ('677', '11', '/static/upload/images/goods/2019/01/14/1547455601898622.jpg', '', '2', '1593703443'), ('678', '11', '/static/upload/images/goods/2019/01/14/1547455601528614.jpg', '', '3', '1593703443'), ('717', '10', '/static/upload/images/goods/2019/01/14/1547455266527628.jpg', '【品牌】欧单 学媛风 猫咪良品\n\n【吊牌】xueyuanfeng 猫咪良品\n\n【面料质地】涤棉拼接蕾丝 后中拉链 有内衬(非专业机构鉴定,介意请慎拍)\n\n好的衣服需要好好呵护,务必请冷水手洗(切记别浸泡)拧干就晾晒或则干洗哦~\n\n【商品颜色】实物拍摄 蓝色 颜色很难拍有小色差属正常现象哦\n\n【商品尺寸】XS/S/M/L 小高腰设计 胸口纽扣是装饰的哦\n\n\nXS码尺寸: 悬挂衣长81CM.胸围80内合适.腰围63CM.臀围86CM\n\nS码尺寸: 悬挂衣长82CM.胸围84内合适.腰围67CM.臀围90CM\n\nM码尺寸: 悬挂衣长83CM.胸围88内合适.腰围71CM.臀围94CM\n\nL码尺寸: 悬挂衣长84CM.胸围92内合适.腰围75CM.臀围98CM\n\n\n(测量单位是CM,每个人的测量方式不一样,测量的尺寸数据可能会有1~3厘米的差异,请MM们谅解哦)\n\n\nPS:常规码数,可按平时号选择哦。修身版型~如果上身偏大可以适当考虑大1号~下摆蕾丝拼接不会很平整的哦~\n\n蕾丝花是手工修剪出来的,每件都有不同和不规则的哦,有小线头和节点是正常现象哦~请亲们谅解哦~', '0', '1594905899'), ('718', '10', '/static/upload/images/goods/2019/01/14/1547455266234658.jpg', '', '1', '1594905899'), ('737', '6', '/static/upload/images/goods/2019/01/14/1547453042405182.jpg', 'X5L/SL/V/M (5.0寸) X5max钢化膜(5.5寸) X5pro钢化膜(5.2寸)', '0', '1594957734'), ('738', '6', '/static/upload/images/goods/2019/01/14/1547453042614480.jpg', '', '1', '1594957734'), ('739', '6', '/static/upload/images/goods/2019/01/14/1547453042816509.jpg', '', '2', '1594957734'), ('768', '2', '/static/upload/images/goods/2019/01/14/1547451595700972.jpg', '', '0', '1598698299'), ('769', '2', '/static/upload/images/goods/2019/01/14/1547451595528800.jpg', '', '1', '1598698299'), ('770', '2', '/static/upload/images/goods/2019/01/14/1547451595616298.jpg', '', '2', '1598698299'), ('843', '9', '/static/upload/images/goods/2019/01/14/1547454712270511.jpg', '', '0', '1599803472'), ('844', '9', '/static/upload/images/goods/2019/01/14/1547454713556301.jpg', '', '1', '1599803472'), ('845', '9', '/static/upload/images/goods/2019/01/14/1547454713800333.jpg', '', '2', '1599803472'), ('846', '9', '/static/upload/images/goods/2019/01/14/1547454713456602.jpg', '', '3', '1599803472'), ('847', '3', '/static/upload/images/goods/2019/01/14/1547451947383902.jpg', '', '0', '1600151429'), ('848', '3', '/static/upload/images/goods/2019/01/14/1547451947686990.jpg', '', '1', '1600151429'), ('849', '3', '/static/upload/images/goods/2019/01/14/1547451947676180.jpg', '', '2', '1600151429'), ('850', '3', '/static/upload/images/goods/2019/01/14/1547451947791154.jpg', '', '3', '1600151429'), ('851', '4', '/static/upload/images/goods/2019/01/14/1547452505568604.jpg', '', '0', '1600151450'), ('852', '4', '/static/upload/images/goods/2019/01/14/1547452505349986.jpg', '', '1', '1600151450'), ('853', '4', '/static/upload/images/goods/2019/01/14/1547452505184884.jpg', '', '2', '1600151450'), ('854', '8', '/static/upload/images/goods/2019/01/14/1547454192301566.jpg', '', '0', '1600771192'), ('855', '8', '/static/upload/images/goods/2019/01/14/1547454192448116.jpg', '', '1', '1600771192'), ('856', '8', '/static/upload/images/goods/2019/01/14/1547454192474638.jpg', '', '2', '1600771192'), ('993', '12', '/static/upload/images/goods/2019/01/14/1547456214155362.jpg', '每个人都有一个死角, 自己走不出来,别人也闯不进去。\n我把最深沉的秘密放在那里。\n你不懂我,我不怪你。\n每个人都有一道伤口, 或深或浅,盖上布,以为不存在。', '0', '1606199005'), ('994', '12', '/static/upload/images/goods/2019/01/14/1547455907486857.jpg', '', '1', '1606199005'), ('995', '12', '/static/upload/images/goods/2019/01/14/1547455907256518.jpg', '', '2', '1606199005'), ('996', '12', '/static/upload/images/goods/2019/01/14/1547456228913731.jpg', '', '3', '1606199005'); COMMIT; -- ---------------------------- @@ -627,13 +627,13 @@ CREATE TABLE `s_goods_params` ( PRIMARY KEY (`id`), KEY `goods_id` (`goods_id`), KEY `type` (`type`) -) ENGINE=InnoDB AUTO_INCREMENT=453 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='商品参数'; +) ENGINE=InnoDB AUTO_INCREMENT=463 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='商品参数'; -- ---------------------------- -- Records of `s_goods_params` -- ---------------------------- BEGIN; -INSERT INTO `s_goods_params` VALUES ('443', '12', '0', '流行元素/工艺', '树脂固色', '1602469864'), ('444', '12', '2', '款式', '长款连衣裙', '1602469864'), ('445', '12', '2', '适用年龄', '30-34周岁', '1602469864'), ('446', '12', '1', '图案', '纯色', '1602469864'), ('447', '12', '1', '袖长', '短袖', '1602469864'), ('448', '12', '1', '风格', '复古风', '1602469864'), ('449', '12', '1', '衣门襟', '套头', '1602469864'), ('450', '12', '1', '裙型', '大摆型', '1602469864'), ('451', '12', '1', '组合形式', '单件', '1602469864'), ('452', '12', '0', '款式类别', '图案花纹', '1602469864'); +INSERT INTO `s_goods_params` VALUES ('453', '12', '0', '流行元素/工艺', '树脂固色', '1606199005'), ('454', '12', '2', '款式', '长款连衣裙', '1606199005'), ('455', '12', '2', '适用年龄', '30-34周岁', '1606199005'), ('456', '12', '1', '图案', '纯色', '1606199005'), ('457', '12', '1', '袖长', '短袖', '1606199005'), ('458', '12', '1', '风格', '复古风', '1606199005'), ('459', '12', '1', '衣门襟', '套头', '1606199005'), ('460', '12', '1', '裙型', '大摆型', '1606199005'), ('461', '12', '1', '组合形式', '单件', '1606199005'), ('462', '12', '0', '款式类别', '图案花纹', '1606199005'); COMMIT; -- ---------------------------- @@ -651,13 +651,13 @@ CREATE TABLE `s_goods_photo` ( KEY `goods_id` (`goods_id`), KEY `is_show` (`is_show`), KEY `sort` (`sort`) -) ENGINE=InnoDB AUTO_INCREMENT=771 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='商品相册图片'; +) ENGINE=InnoDB AUTO_INCREMENT=774 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='商品相册图片'; -- ---------------------------- -- Records of `s_goods_photo` -- ---------------------------- BEGIN; -INSERT INTO `s_goods_photo` VALUES ('11', '5', '/static/upload/images/goods/2019/01/14/1547452714324599.jpg', '1', '0', '1547452798'), ('12', '5', '/static/upload/images/goods/2019/01/14/1547452752648264.jpg', '1', '1', '1547452798'), ('105', '7', '/static/upload/images/goods/2019/01/14/1547453895416529.jpg', '1', '0', '1554485498'), ('106', '7', '/static/upload/images/goods/2019/01/14/1547453895864876.jpg', '1', '1', '1554485498'), ('399', '1', '/static/upload/images/goods/2019/01/14/1547450781101144.jpg', '1', '0', '1574168666'), ('400', '1', '/static/upload/images/goods/2019/01/14/1547450818141662.jpg', '1', '1', '1574168666'), ('529', '11', '/static/upload/images/goods/2019/01/14/1547455601314107.jpg', '1', '0', '1593703443'), ('530', '11', '/static/upload/images/goods/2019/01/14/1547455601168384.jpg', '1', '1', '1593703443'), ('531', '11', '/static/upload/images/goods/2019/01/14/1547455601898622.jpg', '1', '2', '1593703443'), ('532', '11', '/static/upload/images/goods/2019/01/14/1547455601528614.jpg', '1', '3', '1593703443'), ('567', '10', '/static/upload/images/goods/2019/01/14/1547455240794230.jpg', '1', '0', '1594905899'), ('568', '10', '/static/upload/images/goods/2019/01/14/1547455240700820.jpg', '1', '1', '1594905899'), ('581', '6', '/static/upload/images/goods/2019/01/14/1547453000703308.jpg', '1', '0', '1594957734'), ('582', '6', '/static/upload/images/goods/2019/01/14/1547453032949003.jpg', '1', '1', '1594957734'), ('604', '2', '/static/upload/images/goods/2019/01/14/1547451274847894.jpg', '1', '0', '1598698299'), ('605', '2', '/static/upload/images/goods/2019/01/14/1547451576558478.jpg', '1', '1', '1598698299'), ('660', '9', '/static/upload/images/goods/2019/01/14/1547454702543219.jpg', '1', '0', '1599803472'), ('661', '9', '/static/upload/images/goods/2019/01/14/1547454702272215.jpg', '1', '1', '1599803472'), ('662', '9', '/static/upload/images/goods/2019/01/14/1547454702814719.jpg', '1', '2', '1599803472'), ('663', '3', '/static/upload/images/goods/2019/01/14/1547451909951171.jpg', '1', '0', '1600151429'), ('664', '3', '/static/upload/images/goods/2019/01/14/1547451936230948.jpg', '1', '1', '1600151429'), ('665', '4', '/static/upload/images/goods/2019/01/14/1547452474332334.jpg', '1', '0', '1600151450'), ('666', '4', '/static/upload/images/goods/2019/01/14/1547452496713777.jpg', '1', '1', '1600151450'), ('667', '8', '/static/upload/images/goods/2019/01/14/1547454145355962.jpg', '1', '0', '1600771192'), ('668', '8', '/static/upload/images/goods/2019/01/14/1547454172213779.jpg', '1', '1', '1600771192'), ('768', '12', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '1', '0', '1602469864'), ('769', '12', '/static/upload/images/goods/2019/01/14/1547455907256518.jpg', '1', '1', '1602469864'), ('770', '12', '/static/upload/images/goods/2019/01/14/1547455907486857.jpg', '1', '2', '1602469864'); +INSERT INTO `s_goods_photo` VALUES ('11', '5', '/static/upload/images/goods/2019/01/14/1547452714324599.jpg', '1', '0', '1547452798'), ('12', '5', '/static/upload/images/goods/2019/01/14/1547452752648264.jpg', '1', '1', '1547452798'), ('105', '7', '/static/upload/images/goods/2019/01/14/1547453895416529.jpg', '1', '0', '1554485498'), ('106', '7', '/static/upload/images/goods/2019/01/14/1547453895864876.jpg', '1', '1', '1554485498'), ('399', '1', '/static/upload/images/goods/2019/01/14/1547450781101144.jpg', '1', '0', '1574168666'), ('400', '1', '/static/upload/images/goods/2019/01/14/1547450818141662.jpg', '1', '1', '1574168666'), ('529', '11', '/static/upload/images/goods/2019/01/14/1547455601314107.jpg', '1', '0', '1593703443'), ('530', '11', '/static/upload/images/goods/2019/01/14/1547455601168384.jpg', '1', '1', '1593703443'), ('531', '11', '/static/upload/images/goods/2019/01/14/1547455601898622.jpg', '1', '2', '1593703443'), ('532', '11', '/static/upload/images/goods/2019/01/14/1547455601528614.jpg', '1', '3', '1593703443'), ('567', '10', '/static/upload/images/goods/2019/01/14/1547455240794230.jpg', '1', '0', '1594905899'), ('568', '10', '/static/upload/images/goods/2019/01/14/1547455240700820.jpg', '1', '1', '1594905899'), ('581', '6', '/static/upload/images/goods/2019/01/14/1547453000703308.jpg', '1', '0', '1594957734'), ('582', '6', '/static/upload/images/goods/2019/01/14/1547453032949003.jpg', '1', '1', '1594957734'), ('604', '2', '/static/upload/images/goods/2019/01/14/1547451274847894.jpg', '1', '0', '1598698299'), ('605', '2', '/static/upload/images/goods/2019/01/14/1547451576558478.jpg', '1', '1', '1598698299'), ('660', '9', '/static/upload/images/goods/2019/01/14/1547454702543219.jpg', '1', '0', '1599803472'), ('661', '9', '/static/upload/images/goods/2019/01/14/1547454702272215.jpg', '1', '1', '1599803472'), ('662', '9', '/static/upload/images/goods/2019/01/14/1547454702814719.jpg', '1', '2', '1599803472'), ('663', '3', '/static/upload/images/goods/2019/01/14/1547451909951171.jpg', '1', '0', '1600151429'), ('664', '3', '/static/upload/images/goods/2019/01/14/1547451936230948.jpg', '1', '1', '1600151429'), ('665', '4', '/static/upload/images/goods/2019/01/14/1547452474332334.jpg', '1', '0', '1600151450'), ('666', '4', '/static/upload/images/goods/2019/01/14/1547452496713777.jpg', '1', '1', '1600151450'), ('667', '8', '/static/upload/images/goods/2019/01/14/1547454145355962.jpg', '1', '0', '1600771192'), ('668', '8', '/static/upload/images/goods/2019/01/14/1547454172213779.jpg', '1', '1', '1600771192'), ('771', '12', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '1', '0', '1606199005'), ('772', '12', '/static/upload/images/goods/2019/01/14/1547455907256518.jpg', '1', '1', '1606199005'), ('773', '12', '/static/upload/images/goods/2019/01/14/1547455907486857.jpg', '1', '2', '1606199005'); COMMIT; -- ---------------------------- @@ -677,13 +677,13 @@ CREATE TABLE `s_goods_spec_base` ( `add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间', PRIMARY KEY (`id`), KEY `goods_id` (`goods_id`) -) ENGINE=InnoDB AUTO_INCREMENT=1289 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='商品规格基础'; +) ENGINE=InnoDB AUTO_INCREMENT=1295 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='商品规格基础'; -- ---------------------------- -- Records of `s_goods_spec_base` -- ---------------------------- BEGIN; -INSERT INTO `s_goods_spec_base` VALUES ('23', '5', '2499.00', '555', '0.00', '', '', '3200.00', null, '1547452798'), ('155', '7', '168.00', '218', '0.00', '', '', '760.00', null, '1554485498'), ('626', '1', '2100.00', '8', '0.00', '', '', '3200.00', null, '1574168666'), ('813', '11', '258.00', '666', '0.00', '', '', '268.00', '{\"plugins_distribution_rules_1\":\"r|5\\nr|3\\ns|2\",\"plugins_distribution_down_rules_1\":\"r|10\"}', '1593703443'), ('814', '11', '238.00', '666', '0.00', '', '', '343.00', '{\"plugins_distribution_rules_1\":\"r|5\\nr|3\\ns|2\",\"plugins_distribution_down_rules_1\":\"r|1\"}', '1593703443'), ('815', '11', '160.00', '666', '0.00', '', '', '422.00', '{\"plugins_distribution_rules_20191202164330784159\":\"r|8\",\"plugins_distribution_rules_20191204113948916981\":\"\"}', '1593703443'), ('854', '10', '228.00', '222', '0.00', '', '', '568.00', null, '1594905899'), ('909', '6', '2998.90', '666', '0.00', '', '', '3200.00', '{\"plugins_distribution_rules_1\":\"r|10\\nr|10\\nr|10\",\"plugins_distribution_down_rules_1\":\"\"}', '1594957734'), ('955', '2', '6050.00', '221', '12.00', '', '', '6800.00', '{\"plugins_distribution_rules_1\":\"r|5\",\"plugins_distribution_down_rules_1\":\"\"}', '1598698299'), ('956', '2', '6600.00', '222', '21.00', '', '', '7200.00', null, '1598698299'), ('957', '2', '6800.00', '222', '22.00', '', '', '7600.00', null, '1598698299'), ('958', '2', '6050.00', '222', '23.00', '', '', '6800.00', null, '1598698299'), ('959', '2', '6600.00', '222', '12.00', '', '', '7200.00', null, '1598698299'), ('960', '2', '6800.00', '222', '32.00', '', '', '7600.00', null, '1598698299'), ('961', '2', '4500.00', '222', '23.00', '', '', '6800.00', null, '1598698299'), ('962', '2', '4800.00', '222', '32.00', '', '', '6600.00', null, '1598698299'), ('963', '2', '5500.00', '222', '11.00', '', '', '6000.00', null, '1598698299'), ('1072', '9', '120.00', '162', '17.00', '', '', '160.00', '{\"plugins_distribution_rules_1\":\"r|5\",\"plugins_distribution_down_rules_1\":\"\"}', '1599803472'), ('1073', '9', '120.00', '116', '17.00', '', '', '160.00', null, '1599803472'), ('1074', '9', '120.00', '115', '17.00', '', '', '160.00', null, '1599803472'), ('1075', '9', '120.00', '116', '17.00', '', '', '160.00', null, '1599803472'), ('1076', '9', '136.00', '116', '17.00', '', '', '188.00', null, '1599803472'), ('1077', '9', '136.00', '116', '17.00', '', '', '188.00', null, '1599803472'), ('1078', '9', '136.00', '115', '17.00', '', '', '188.00', null, '1599803472'), ('1079', '9', '158.00', '116', '17.00', '', '', '216.00', null, '1599803472'), ('1080', '9', '158.00', '115', '17.00', '', '', '216.00', null, '1599803472'), ('1081', '3', '3888.00', '333', '0.00', '', '', '6866.00', null, '1600151429'), ('1082', '4', '1999.00', '333', '0.00', '', '', '2300.00', null, '1600151450'), ('1083', '8', '356.00', '3', '0.00', '', '', '0.00', null, '1600771192'), ('1283', '12', '0.01', '1', '0.00', '', '', '0.00', null, '1602469864'), ('1284', '12', '0.01', '4', '0.00', '', '', '0.00', null, '1602469864'), ('1285', '12', '0.01', '5', '0.00', '', '', '0.00', null, '1602469864'), ('1286', '12', '0.01', '5', '0.00', '', '', '0.00', null, '1602469864'), ('1287', '12', '0.01', '5', '0.00', '', '', '0.00', null, '1602469864'), ('1288', '12', '0.01', '5', '0.00', '', '', '0.00', null, '1602469864'); +INSERT INTO `s_goods_spec_base` VALUES ('23', '5', '2499.00', '555', '0.00', '', '', '3200.00', null, '1547452798'), ('155', '7', '168.00', '218', '0.00', '', '', '760.00', null, '1554485498'), ('626', '1', '2100.00', '8', '0.00', '', '', '3200.00', null, '1574168666'), ('813', '11', '258.00', '666', '0.00', '', '', '268.00', '{\"plugins_distribution_rules_1\":\"r|5\\nr|3\\ns|2\",\"plugins_distribution_down_rules_1\":\"r|10\"}', '1593703443'), ('814', '11', '238.00', '666', '0.00', '', '', '343.00', '{\"plugins_distribution_rules_1\":\"r|5\\nr|3\\ns|2\",\"plugins_distribution_down_rules_1\":\"r|1\"}', '1593703443'), ('815', '11', '160.00', '666', '0.00', '', '', '422.00', '{\"plugins_distribution_rules_20191202164330784159\":\"r|8\",\"plugins_distribution_rules_20191204113948916981\":\"\"}', '1593703443'), ('854', '10', '228.00', '222', '0.00', '', '', '568.00', null, '1594905899'), ('909', '6', '2998.90', '666', '0.00', '', '', '3200.00', '{\"plugins_distribution_rules_1\":\"r|10\\nr|10\\nr|10\",\"plugins_distribution_down_rules_1\":\"\"}', '1594957734'), ('955', '2', '6050.00', '221', '12.00', '', '', '6800.00', '{\"plugins_distribution_rules_1\":\"r|5\",\"plugins_distribution_down_rules_1\":\"\"}', '1598698299'), ('956', '2', '6600.00', '222', '21.00', '', '', '7200.00', null, '1598698299'), ('957', '2', '6800.00', '222', '22.00', '', '', '7600.00', null, '1598698299'), ('958', '2', '6050.00', '222', '23.00', '', '', '6800.00', null, '1598698299'), ('959', '2', '6600.00', '222', '12.00', '', '', '7200.00', null, '1598698299'), ('960', '2', '6800.00', '222', '32.00', '', '', '7600.00', null, '1598698299'), ('961', '2', '4500.00', '222', '23.00', '', '', '6800.00', null, '1598698299'), ('962', '2', '4800.00', '222', '32.00', '', '', '6600.00', null, '1598698299'), ('963', '2', '5500.00', '222', '11.00', '', '', '6000.00', null, '1598698299'), ('1072', '9', '120.00', '162', '17.00', '', '', '160.00', '{\"plugins_distribution_rules_1\":\"r|5\",\"plugins_distribution_down_rules_1\":\"\"}', '1599803472'), ('1073', '9', '120.00', '116', '17.00', '', '', '160.00', null, '1599803472'), ('1074', '9', '120.00', '115', '17.00', '', '', '160.00', null, '1599803472'), ('1075', '9', '120.00', '116', '17.00', '', '', '160.00', null, '1599803472'), ('1076', '9', '136.00', '116', '17.00', '', '', '188.00', null, '1599803472'), ('1077', '9', '136.00', '116', '17.00', '', '', '188.00', null, '1599803472'), ('1078', '9', '136.00', '115', '17.00', '', '', '188.00', null, '1599803472'), ('1079', '9', '158.00', '116', '17.00', '', '', '216.00', null, '1599803472'), ('1080', '9', '158.00', '115', '17.00', '', '', '216.00', null, '1599803472'), ('1081', '3', '3888.00', '333', '0.00', '', '', '6866.00', null, '1600151429'), ('1082', '4', '1999.00', '333', '0.00', '', '', '2300.00', null, '1600151450'), ('1083', '8', '356.00', '3', '0.00', '', '', '0.00', null, '1600771192'), ('1289', '12', '0.01', '1', '0.00', '', '', '0.00', null, '1606199005'), ('1290', '12', '0.01', '4', '0.00', '', '', '0.00', null, '1606199005'), ('1291', '12', '0.01', '5', '0.00', '', '', '0.00', null, '1606199005'), ('1292', '12', '0.01', '5', '0.00', '', '', '0.00', null, '1606199005'), ('1293', '12', '0.01', '5', '0.00', '', '', '0.00', null, '1606199005'), ('1294', '12', '0.01', '5', '0.00', '', '', '0.00', null, '1606199005'); COMMIT; -- ---------------------------- @@ -698,13 +698,13 @@ CREATE TABLE `s_goods_spec_type` ( `add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间', PRIMARY KEY (`id`), KEY `goods_id` (`goods_id`) -) ENGINE=InnoDB AUTO_INCREMENT=420 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='商品规格类型'; +) ENGINE=InnoDB AUTO_INCREMENT=422 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='商品规格类型'; -- ---------------------------- -- Records of `s_goods_spec_type` -- ---------------------------- BEGIN; -INSERT INTO `s_goods_spec_type` VALUES ('262', '11', '[{\"name\":\"M\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547455907486857.jpg\"},{\"name\":\"L\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547455907256518.jpg\"},{\"name\":\"XL\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547455601528614.jpg\"}]', '尺码', '1593703443'), ('315', '2', '[{\"name\":\"套餐一\",\"images\":\"\"},{\"name\":\"套餐二\",\"images\":\"\"}]', '套餐', '1598698299'), ('316', '2', '[{\"name\":\"金色\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547451274847894.jpg\"},{\"name\":\"银色\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547451576558478.jpg\"}]', '颜色', '1598698299'), ('317', '2', '[{\"name\":\"32G\",\"images\":\"\"},{\"name\":\"64G\",\"images\":\"\"},{\"name\":\"128G\",\"images\":\"\"}]', '容量', '1598698299'), ('354', '9', '[{\"name\":\"白色\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547454702543219.jpg\"},{\"name\":\"粉色\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547454702272215.jpg\"},{\"name\":\"黑色\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547454702814719.jpg\"}]', '颜色', '1599803472'), ('355', '9', '[{\"name\":\"S\",\"images\":\"\"},{\"name\":\"M\",\"images\":\"\"},{\"name\":\"L\",\"images\":\"\"},{\"name\":\"XL\",\"images\":\"\"}]', '尺码', '1599803472'), ('418', '12', '[{\"name\":\"粉色\",\"images\":\"\"},{\"name\":\"白色\",\"images\":\"\"}]', '颜色', '1602469864'), ('419', '12', '[{\"name\":\"S+Sad,f\",\"images\":\"\"},{\"name\":\"M+M\",\"images\":\"\"},{\"name\":\"L+L\",\"images\":\"\"},{\"name\":\"S+S\",\"images\":\"\"}]', '尺,码', '1602469864'); +INSERT INTO `s_goods_spec_type` VALUES ('262', '11', '[{\"name\":\"M\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547455907486857.jpg\"},{\"name\":\"L\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547455907256518.jpg\"},{\"name\":\"XL\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547455601528614.jpg\"}]', '尺码', '1593703443'), ('315', '2', '[{\"name\":\"套餐一\",\"images\":\"\"},{\"name\":\"套餐二\",\"images\":\"\"}]', '套餐', '1598698299'), ('316', '2', '[{\"name\":\"金色\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547451274847894.jpg\"},{\"name\":\"银色\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547451576558478.jpg\"}]', '颜色', '1598698299'), ('317', '2', '[{\"name\":\"32G\",\"images\":\"\"},{\"name\":\"64G\",\"images\":\"\"},{\"name\":\"128G\",\"images\":\"\"}]', '容量', '1598698299'), ('354', '9', '[{\"name\":\"白色\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547454702543219.jpg\"},{\"name\":\"粉色\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547454702272215.jpg\"},{\"name\":\"黑色\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547454702814719.jpg\"}]', '颜色', '1599803472'), ('355', '9', '[{\"name\":\"S\",\"images\":\"\"},{\"name\":\"M\",\"images\":\"\"},{\"name\":\"L\",\"images\":\"\"},{\"name\":\"XL\",\"images\":\"\"}]', '尺码', '1599803472'), ('420', '12', '[{\"name\":\"粉色\",\"images\":\"\"},{\"name\":\"白色\",\"images\":\"\"}]', '颜色', '1606199005'), ('421', '12', '[{\"name\":\"S+Sad,f\",\"images\":\"\"},{\"name\":\"M+M\",\"images\":\"\"},{\"name\":\"L+L\",\"images\":\"\"},{\"name\":\"S+S\",\"images\":\"\"}]', '尺,码', '1606199005'); COMMIT; -- ---------------------------- @@ -720,13 +720,13 @@ CREATE TABLE `s_goods_spec_value` ( PRIMARY KEY (`id`), KEY `goods_id` (`goods_id`), KEY `goods_spec_base_id` (`goods_spec_base_id`) -) ENGINE=InnoDB AUTO_INCREMENT=2531 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='商品规格值'; +) ENGINE=InnoDB AUTO_INCREMENT=2543 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='商品规格值'; -- ---------------------------- -- Records of `s_goods_spec_value` -- ---------------------------- BEGIN; -INSERT INTO `s_goods_spec_value` VALUES ('1559', '11', '813', 'M', '1593703443'), ('1560', '11', '814', 'L', '1593703443'), ('1561', '11', '815', 'XL', '1593703443'), ('1862', '2', '955', '套餐一', '1598698299'), ('1863', '2', '955', '金色', '1598698299'), ('1864', '2', '955', '32G', '1598698299'), ('1865', '2', '956', '套餐一', '1598698299'), ('1866', '2', '956', '金色', '1598698299'), ('1867', '2', '956', '64G', '1598698299'), ('1868', '2', '957', '套餐一', '1598698299'), ('1869', '2', '957', '金色', '1598698299'), ('1870', '2', '957', '128G', '1598698299'), ('1871', '2', '958', '套餐一', '1598698299'), ('1872', '2', '958', '银色', '1598698299'), ('1873', '2', '958', '32G', '1598698299'), ('1874', '2', '959', '套餐一', '1598698299'), ('1875', '2', '959', '银色', '1598698299'), ('1876', '2', '959', '64G', '1598698299'), ('1877', '2', '960', '套餐一', '1598698299'), ('1878', '2', '960', '银色', '1598698299'), ('1879', '2', '960', '128G', '1598698299'), ('1880', '2', '961', '套餐二', '1598698299'), ('1881', '2', '961', '金色', '1598698299'), ('1882', '2', '961', '32G', '1598698299'), ('1883', '2', '962', '套餐二', '1598698299'), ('1884', '2', '962', '金色', '1598698299'), ('1885', '2', '962', '128G', '1598698299'), ('1886', '2', '963', '套餐二', '1598698299'), ('1887', '2', '963', '银色', '1598698299'), ('1888', '2', '963', '64G', '1598698299'), ('2105', '9', '1072', '白色', '1599803472'), ('2106', '9', '1072', 'S', '1599803472'), ('2107', '9', '1073', '白色', '1599803472'), ('2108', '9', '1073', 'M', '1599803472'), ('2109', '9', '1074', '白色', '1599803472'), ('2110', '9', '1074', 'L', '1599803472'), ('2111', '9', '1075', '白色', '1599803472'), ('2112', '9', '1075', 'XL', '1599803472'), ('2113', '9', '1076', '粉色', '1599803472'), ('2114', '9', '1076', 'S', '1599803472'), ('2115', '9', '1077', '粉色', '1599803472'), ('2116', '9', '1077', 'M', '1599803472'), ('2117', '9', '1078', '粉色', '1599803472'), ('2118', '9', '1078', 'L', '1599803472'), ('2119', '9', '1079', '黑色', '1599803472'), ('2120', '9', '1079', 'S', '1599803472'), ('2121', '9', '1080', '黑色', '1599803472'), ('2122', '9', '1080', 'XL', '1599803472'), ('2519', '12', '1283', '粉色', '1602469864'), ('2520', '12', '1283', 'S+Sad,f', '1602469864'), ('2521', '12', '1284', '粉色', '1602469864'), ('2522', '12', '1284', 'M+M', '1602469864'), ('2523', '12', '1285', '粉色', '1602469864'), ('2524', '12', '1285', 'L+L', '1602469864'), ('2525', '12', '1286', '白色', '1602469864'), ('2526', '12', '1286', 'S+S', '1602469864'), ('2527', '12', '1287', '白色', '1602469864'), ('2528', '12', '1287', 'M+M', '1602469864'), ('2529', '12', '1288', '白色', '1602469864'), ('2530', '12', '1288', 'L+L', '1602469864'); +INSERT INTO `s_goods_spec_value` VALUES ('1559', '11', '813', 'M', '1593703443'), ('1560', '11', '814', 'L', '1593703443'), ('1561', '11', '815', 'XL', '1593703443'), ('1862', '2', '955', '套餐一', '1598698299'), ('1863', '2', '955', '金色', '1598698299'), ('1864', '2', '955', '32G', '1598698299'), ('1865', '2', '956', '套餐一', '1598698299'), ('1866', '2', '956', '金色', '1598698299'), ('1867', '2', '956', '64G', '1598698299'), ('1868', '2', '957', '套餐一', '1598698299'), ('1869', '2', '957', '金色', '1598698299'), ('1870', '2', '957', '128G', '1598698299'), ('1871', '2', '958', '套餐一', '1598698299'), ('1872', '2', '958', '银色', '1598698299'), ('1873', '2', '958', '32G', '1598698299'), ('1874', '2', '959', '套餐一', '1598698299'), ('1875', '2', '959', '银色', '1598698299'), ('1876', '2', '959', '64G', '1598698299'), ('1877', '2', '960', '套餐一', '1598698299'), ('1878', '2', '960', '银色', '1598698299'), ('1879', '2', '960', '128G', '1598698299'), ('1880', '2', '961', '套餐二', '1598698299'), ('1881', '2', '961', '金色', '1598698299'), ('1882', '2', '961', '32G', '1598698299'), ('1883', '2', '962', '套餐二', '1598698299'), ('1884', '2', '962', '金色', '1598698299'), ('1885', '2', '962', '128G', '1598698299'), ('1886', '2', '963', '套餐二', '1598698299'), ('1887', '2', '963', '银色', '1598698299'), ('1888', '2', '963', '64G', '1598698299'), ('2105', '9', '1072', '白色', '1599803472'), ('2106', '9', '1072', 'S', '1599803472'), ('2107', '9', '1073', '白色', '1599803472'), ('2108', '9', '1073', 'M', '1599803472'), ('2109', '9', '1074', '白色', '1599803472'), ('2110', '9', '1074', 'L', '1599803472'), ('2111', '9', '1075', '白色', '1599803472'), ('2112', '9', '1075', 'XL', '1599803472'), ('2113', '9', '1076', '粉色', '1599803472'), ('2114', '9', '1076', 'S', '1599803472'), ('2115', '9', '1077', '粉色', '1599803472'), ('2116', '9', '1077', 'M', '1599803472'), ('2117', '9', '1078', '粉色', '1599803472'), ('2118', '9', '1078', 'L', '1599803472'), ('2119', '9', '1079', '黑色', '1599803472'), ('2120', '9', '1079', 'S', '1599803472'), ('2121', '9', '1080', '黑色', '1599803472'), ('2122', '9', '1080', 'XL', '1599803472'), ('2531', '12', '1289', '粉色', '1606199005'), ('2532', '12', '1289', 'S+Sad,f', '1606199005'), ('2533', '12', '1290', '粉色', '1606199005'), ('2534', '12', '1290', 'M+M', '1606199005'), ('2535', '12', '1291', '粉色', '1606199005'), ('2536', '12', '1291', 'L+L', '1606199005'), ('2537', '12', '1292', '白色', '1606199005'), ('2538', '12', '1292', 'S+S', '1606199005'), ('2539', '12', '1293', '白色', '1606199005'), ('2540', '12', '1293', 'M+M', '1606199005'), ('2541', '12', '1294', '白色', '1606199005'), ('2542', '12', '1294', 'L+L', '1606199005'); COMMIT; -- ---------------------------- @@ -773,13 +773,13 @@ CREATE TABLE `s_message` ( `add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间', PRIMARY KEY (`id`), KEY `user_id` (`user_id`) -) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='消息'; +) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='消息'; -- ---------------------------- -- Records of `s_message` -- ---------------------------- BEGIN; -INSERT INTO `s_message` VALUES ('1', '1', '订单支付', '订单支付成功,金额0元', '18', '订单', '0', '0', '0', '0', '1605958701'), ('2', '3', '订单支付', '订单支付成功,金额0元', '19', '订单', '0', '0', '0', '0', '1605958867'), ('3', '3', '订单支付', '订单支付成功,金额0元', '20', '订单', '0', '0', '0', '0', '1605959238'), ('4', '3', '订单支付', '订单支付成功,金额0元', '22', '订单', '0', '0', '0', '0', '1605959335'); +INSERT INTO `s_message` VALUES ('1', '1', '订单支付', '订单支付成功,金额0元', '18', '订单', '0', '0', '0', '0', '1605958701'), ('2', '3', '订单支付', '订单支付成功,金额0元', '19', '订单', '0', '0', '0', '0', '1605958867'), ('3', '3', '订单支付', '订单支付成功,金额0元', '20', '订单', '0', '0', '0', '0', '1605959238'), ('4', '3', '订单支付', '订单支付成功,金额0元', '22', '订单', '0', '0', '0', '0', '1605959335'), ('5', '1', '订单发货', '订单已发货', '18', '订单', '0', '0', '0', '0', '1606122808'), ('6', '1', '订单收货', '订单收货成功', '18', '订单', '0', '0', '0', '0', '1606122813'); COMMIT; -- ---------------------------- @@ -865,7 +865,7 @@ CREATE TABLE `s_order` ( -- Records of `s_order` -- ---------------------------- BEGIN; -INSERT INTO `s_order` VALUES ('4', '20201114222700429297', '1', '2', '', '0', '', '2', '1', '0', '', '4', '0.00', '0.00', '984.00', '984.00', '0.00', '0.00', '0', 'pc', '2', '1', '0', '1605364020', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1605364020', '0'), ('5', '20201114222700857068', '1', '4', '', '0', '', '2', '1', '0', '', '1', '0.00', '0.00', '356.00', '356.00', '0.00', '0.00', '0', 'pc', '2', '1', '0', '1605364020', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1605364020', '0'), ('7', '20201114223017916181', '1', '2', '', '0', '', '2', '1', '0', '', '3', '0.00', '0.00', '848.00', '848.00', '0.00', '0.00', '0', 'pc', '2', '1', '0', '1605364217', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1605364217', '0'), ('8', '20201114223017135718', '1', '4', '', '0', '', '2', '1', '0', '', '1', '0.00', '0.00', '356.00', '356.00', '0.00', '0.00', '0', 'pc', '2', '1', '0', '1605364217', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1605364217', '0'), ('9', '20201115010644930420', '1', '2', '', '0', '', '2', '1', '0', '', '1', '0.00', '0.00', '356.00', '356.00', '0.00', '0.00', '0', 'pc', '2', '1', '0', '1605373604', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1605373604', '0'), ('10', '20201115010839105711', '1', '2', '', '0', '', '2', '1', '0', '', '2', '0.00', '0.00', '294.00', '294.00', '0.00', '0.00', '0', 'pc', '2', '1', '0', '1605373719', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1605373719', '0'), ('11', '20201115011714611469', '1', '2', '', '0', '', '2', '1', '0', '', '1', '0.00', '0.00', '120.00', '120.00', '0.00', '0.00', '0', 'pc', '2', '1', '0', '1605374234', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1605374234', '0'), ('12', '20201115011730831310', '2', '2', '', '0', '', '2', '1', '0', '', '1', '0.00', '0.00', '136.00', '136.00', '0.00', '0.00', '0', 'pc', '2', '1', '0', '1605374250', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1605374250', '0'), ('13', '20201115011842929762', '1', '2', '', '0', '', '2', '1', '0', '', '1', '0.00', '0.00', '120.00', '120.00', '0.00', '0.00', '0', 'pc', '2', '1', '0', '1605374322', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1605374322', '0'), ('14', '20201115011852402538', '2', '2', '', '0', '', '2', '1', '0', '', '1', '0.00', '0.00', '136.00', '136.00', '0.00', '0.00', '0', 'pc', '2', '1', '0', '1605374332', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1605374332', '0'), ('15', '20201115011949499097', '1', '2', '', '0', '', '2', '1', '0', '', '3', '0.00', '0.00', '392.00', '392.00', '0.00', '0.00', '0', 'pc', '2', '1', '0', '1605374389', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1605374389', '0'), ('16', '20201115180121989194', '1', '2', '', '0', '', '2', '1', '0', '', '6', '0.00', '0.00', '15296.00', '15296.00', '0.00', '0.00', '0', 'pc', '2', '1', '0', '1605434481', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1605434481', '0'), ('17', '20201118092601505931', '1', '2', '', '0', '', '2', '1', '0', '', '1', '0.00', '0.00', '158.00', '158.00', '0.00', '0.00', '0', 'pc', '2', '1', '0', '1605662761', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1605662761', '0'), ('18', '20201121193819245541', '1', '2', '', '0', '', '1', '2', '1', '[{\"name\":\"优惠券-满0.01减300\",\"price\":\"200.00\",\"type\":0,\"tips\":\"-¥200.00元\",\"business\":\"plugins-coupon\",\"ext\":{\"id\":\"8\",\"coupon_id\":\"2\",\"user_id\":\"1\",\"time_start\":\"1605958686\",\"time_end\":\"1606235886\",\"is_valid\":\"1\",\"is_expire\":\"0\",\"is_use\":\"0\",\"use_order_id\":\"0\",\"use_time\":\"0\",\"add_time\":\"1605958686\",\"upd_time\":\"0\",\"coupon\":{\"name\":\"满0.01减300\",\"desc\":\"满0.01减300\",\"type\":\"0\",\"bg_color\":\"4\",\"expire_type\":\"0\",\"discount_value\":\"200\",\"use_limit_type\":\"0\",\"use_value_ids\":\"\",\"where_order_price\":\"0.01\",\"type_name\":\"满减劵\",\"type_unit\":\"元\",\"bg_color_name\":\"橙色\",\"bg_color_value\":\"#F44336\",\"expire_type_name\":\"领取生效\",\"use_limit_type_name\":\"全场适用\",\"use_value_ids_all\":[]},\"is_use_name\":\"否\",\"is_expire_name\":\"否\",\"is_valid_name\":\"是\",\"use_time_time\":\"\",\"time_start_text\":\"2020-11-21 19:38\",\"time_end_text\":\"2020-11-25 00:38\",\"add_time_time\":\"2020-11-21 19:38:06\",\"upd_time_time\":\"\",\"buy_goods_ids\":[\"12\"]}}]', '1', '0.00', '200.00', '0.01', '0.00', '0.00', '0.00', '0', 'pc', '2', '0', '1605958701', '1605958699', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1605958699', '1605958701'), ('19', '20201121194106646540', '3', '2', '', '0', '', '1', '2', '1', '[{\"name\":\"优惠券-满0.01减300\",\"price\":\"200.00\",\"type\":0,\"tips\":\"-¥200.00元\",\"business\":\"plugins-coupon\",\"ext\":{\"id\":\"11\",\"coupon_id\":\"2\",\"user_id\":\"3\",\"time_start\":\"1605958830\",\"time_end\":\"1606236030\",\"is_valid\":\"1\",\"is_expire\":\"0\",\"is_use\":\"0\",\"use_order_id\":\"0\",\"use_time\":\"0\",\"add_time\":\"1605958830\",\"upd_time\":\"0\",\"coupon\":{\"name\":\"满0.01减300\",\"desc\":\"满0.01减300\",\"type\":\"0\",\"bg_color\":\"4\",\"expire_type\":\"0\",\"discount_value\":\"200\",\"use_limit_type\":\"0\",\"use_value_ids\":\"\",\"where_order_price\":\"0.01\",\"type_name\":\"满减劵\",\"type_unit\":\"元\",\"bg_color_name\":\"橙色\",\"bg_color_value\":\"#F44336\",\"expire_type_name\":\"领取生效\",\"use_limit_type_name\":\"全场适用\",\"use_value_ids_all\":[]},\"is_use_name\":\"否\",\"is_expire_name\":\"否\",\"is_valid_name\":\"是\",\"use_time_time\":\"\",\"time_start_text\":\"2020-11-21 19:40\",\"time_end_text\":\"2020-11-25 00:40\",\"add_time_time\":\"2020-11-21 19:40:30\",\"upd_time_time\":\"\",\"buy_goods_ids\":[\"7\"]}}]', '1', '0.00', '200.00', '168.00', '0.00', '0.00', '0.00', '0', 'weixin', '2', '0', '1605958867', '1605958866', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1605958866', '1605958867'), ('20', '20201121194717189322', '3', '2', 'nnn', '0', '', '1', '2', '1', '[{\"name\":\"优惠券-满0.01减300\",\"price\":\"200.00\",\"type\":0,\"tips\":\"-¥200.00元\",\"business\":\"plugins-coupon\",\"ext\":{\"id\":\"13\",\"coupon_id\":\"2\",\"user_id\":\"3\",\"time_start\":\"1605958833\",\"time_end\":\"1606236033\",\"is_valid\":\"1\",\"is_expire\":\"0\",\"is_use\":\"0\",\"use_order_id\":\"0\",\"use_time\":\"0\",\"add_time\":\"1605958833\",\"upd_time\":\"0\",\"coupon\":{\"name\":\"满0.01减300\",\"desc\":\"满0.01减300\",\"type\":\"0\",\"bg_color\":\"4\",\"expire_type\":\"0\",\"discount_value\":\"200\",\"use_limit_type\":\"0\",\"use_value_ids\":\"\",\"where_order_price\":\"0.01\",\"type_name\":\"满减劵\",\"type_unit\":\"元\",\"bg_color_name\":\"橙色\",\"bg_color_value\":\"#F44336\",\"expire_type_name\":\"领取生效\",\"use_limit_type_name\":\"全场适用\",\"use_value_ids_all\":[]},\"is_use_name\":\"否\",\"is_expire_name\":\"否\",\"is_valid_name\":\"是\",\"use_time_time\":\"\",\"time_start_text\":\"2020-11-21 19:40\",\"time_end_text\":\"2020-11-25 00:40\",\"add_time_time\":\"2020-11-21 19:40:33\",\"upd_time_time\":\"\",\"buy_goods_ids\":[\"7\"]}}]', '1', '0.00', '200.00', '168.00', '0.00', '0.00', '0.00', '0', 'weixin', '2', '0', '1605959238', '1605959237', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1605959237', '1605959238'), ('21', '20201121194733503564', '3', '2', '', '0', '', '2', '1', '0', '', '1', '0.00', '0.00', '168.00', '168.00', '0.00', '0.00', '0', 'weixin', '2', '1', '0', '1605959253', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1605959253', '0'), ('22', '20201121194855461015', '3', '2', '', '0', '', '1', '2', '1', '[{\"name\":\"优惠券-满0.01减300\",\"price\":\"200.00\",\"type\":0,\"tips\":\"-¥200.00元\",\"business\":\"plugins-coupon\",\"ext\":{\"id\":\"15\",\"coupon_id\":\"2\",\"user_id\":\"3\",\"time_start\":\"1605959296\",\"time_end\":\"1606236496\",\"is_valid\":\"1\",\"is_expire\":\"0\",\"is_use\":\"0\",\"use_order_id\":\"0\",\"use_time\":\"0\",\"add_time\":\"1605959296\",\"upd_time\":\"0\",\"coupon\":{\"name\":\"满0.01减300\",\"desc\":\"满0.01减300\",\"type\":\"0\",\"bg_color\":\"4\",\"expire_type\":\"0\",\"discount_value\":\"200\",\"use_limit_type\":\"0\",\"use_value_ids\":\"\",\"where_order_price\":\"0.01\",\"type_name\":\"满减劵\",\"type_unit\":\"元\",\"bg_color_name\":\"橙色\",\"bg_color_value\":\"#F44336\",\"expire_type_name\":\"领取生效\",\"use_limit_type_name\":\"全场适用\",\"use_value_ids_all\":[]},\"is_use_name\":\"否\",\"is_expire_name\":\"否\",\"is_valid_name\":\"是\",\"use_time_time\":\"\",\"time_start_text\":\"2020-11-21 19:48\",\"time_end_text\":\"2020-11-25 00:48\",\"add_time_time\":\"2020-11-21 19:48:16\",\"upd_time_time\":\"\",\"buy_goods_ids\":[\"7\"]}}]', '1', '0.00', '200.00', '168.00', '0.00', '0.00', '0.00', '0', 'weixin', '2', '0', '1605959335', '1605959335', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1605959335', '1605959335'); +INSERT INTO `s_order` VALUES ('4', '20201114222700429297', '1', '2', '', '0', '', '2', '1', '0', '', '4', '0.00', '0.00', '984.00', '984.00', '0.00', '0.00', '0', 'pc', '2', '1', '0', '1605364020', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1605364020', '0'), ('5', '20201114222700857068', '1', '4', '', '0', '', '2', '1', '0', '', '1', '0.00', '0.00', '356.00', '356.00', '0.00', '0.00', '0', 'pc', '2', '1', '0', '1605364020', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1605364020', '0'), ('7', '20201114223017916181', '1', '2', '', '0', '', '2', '1', '0', '', '3', '0.00', '0.00', '848.00', '848.00', '0.00', '0.00', '0', 'pc', '2', '1', '0', '1605364217', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1605364217', '0'), ('8', '20201114223017135718', '1', '4', '', '0', '', '2', '1', '0', '', '1', '0.00', '0.00', '356.00', '356.00', '0.00', '0.00', '0', 'pc', '2', '1', '0', '1605364217', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1605364217', '0'), ('9', '20201115010644930420', '1', '2', '', '0', '', '2', '1', '0', '', '1', '0.00', '0.00', '356.00', '356.00', '0.00', '0.00', '0', 'pc', '2', '1', '0', '1605373604', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1605373604', '0'), ('10', '20201115010839105711', '1', '2', '', '0', '', '2', '1', '0', '', '2', '0.00', '0.00', '294.00', '294.00', '0.00', '0.00', '0', 'pc', '2', '1', '0', '1605373719', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1605373719', '0'), ('11', '20201115011714611469', '1', '2', '', '0', '', '2', '1', '0', '', '1', '0.00', '0.00', '120.00', '120.00', '0.00', '0.00', '0', 'pc', '2', '1', '0', '1605374234', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1605374234', '0'), ('12', '20201115011730831310', '2', '2', '', '0', '', '2', '1', '0', '', '1', '0.00', '0.00', '136.00', '136.00', '0.00', '0.00', '0', 'pc', '2', '1', '0', '1605374250', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1605374250', '0'), ('13', '20201115011842929762', '1', '2', '', '0', '', '2', '1', '0', '', '1', '0.00', '0.00', '120.00', '120.00', '0.00', '0.00', '0', 'pc', '2', '1', '0', '1605374322', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1605374322', '0'), ('14', '20201115011852402538', '2', '2', '', '0', '', '2', '1', '0', '', '1', '0.00', '0.00', '136.00', '136.00', '0.00', '0.00', '0', 'pc', '2', '1', '0', '1605374332', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1605374332', '0'), ('15', '20201115011949499097', '1', '2', '', '0', '', '2', '1', '0', '', '3', '0.00', '0.00', '392.00', '392.00', '0.00', '0.00', '0', 'pc', '2', '1', '0', '1605374389', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1605374389', '0'), ('16', '20201115180121989194', '1', '2', '', '0', '', '2', '1', '0', '', '6', '0.00', '0.00', '15296.00', '15296.00', '0.00', '0.00', '0', 'pc', '2', '1', '0', '1605434481', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1605434481', '0'), ('17', '20201118092601505931', '1', '2', '', '0', '', '2', '1', '0', '', '1', '0.00', '0.00', '158.00', '158.00', '0.00', '0.00', '0', 'pc', '2', '1', '0', '1605662761', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1605662761', '0'), ('18', '20201121193819245541', '1', '2', '', '0', '', '1', '4', '1', '[{\"name\":\"优惠券-满0.01减300\",\"price\":\"200.00\",\"type\":0,\"tips\":\"-¥200.00元\",\"business\":\"plugins-coupon\",\"ext\":{\"id\":\"8\",\"coupon_id\":\"2\",\"user_id\":\"1\",\"time_start\":\"1605958686\",\"time_end\":\"1606235886\",\"is_valid\":\"1\",\"is_expire\":\"0\",\"is_use\":\"0\",\"use_order_id\":\"0\",\"use_time\":\"0\",\"add_time\":\"1605958686\",\"upd_time\":\"0\",\"coupon\":{\"name\":\"满0.01减300\",\"desc\":\"满0.01减300\",\"type\":\"0\",\"bg_color\":\"4\",\"expire_type\":\"0\",\"discount_value\":\"200\",\"use_limit_type\":\"0\",\"use_value_ids\":\"\",\"where_order_price\":\"0.01\",\"type_name\":\"满减劵\",\"type_unit\":\"元\",\"bg_color_name\":\"橙色\",\"bg_color_value\":\"#F44336\",\"expire_type_name\":\"领取生效\",\"use_limit_type_name\":\"全场适用\",\"use_value_ids_all\":[]},\"is_use_name\":\"否\",\"is_expire_name\":\"否\",\"is_valid_name\":\"是\",\"use_time_time\":\"\",\"time_start_text\":\"2020-11-21 19:38\",\"time_end_text\":\"2020-11-25 00:38\",\"add_time_time\":\"2020-11-21 19:38:06\",\"upd_time_time\":\"\",\"buy_goods_ids\":[\"12\"]}}]', '1', '0.00', '200.00', '0.01', '0.00', '0.00', '0.00', '0', 'pc', '2', '0', '1605958701', '1605958699', '1606122808', '0', '1606122813', '0', '0', '0', '0', '0', '0', '1605958699', '1606122813'), ('19', '20201121194106646540', '3', '2', '', '0', '', '1', '2', '1', '[{\"name\":\"优惠券-满0.01减300\",\"price\":\"200.00\",\"type\":0,\"tips\":\"-¥200.00元\",\"business\":\"plugins-coupon\",\"ext\":{\"id\":\"11\",\"coupon_id\":\"2\",\"user_id\":\"3\",\"time_start\":\"1605958830\",\"time_end\":\"1606236030\",\"is_valid\":\"1\",\"is_expire\":\"0\",\"is_use\":\"0\",\"use_order_id\":\"0\",\"use_time\":\"0\",\"add_time\":\"1605958830\",\"upd_time\":\"0\",\"coupon\":{\"name\":\"满0.01减300\",\"desc\":\"满0.01减300\",\"type\":\"0\",\"bg_color\":\"4\",\"expire_type\":\"0\",\"discount_value\":\"200\",\"use_limit_type\":\"0\",\"use_value_ids\":\"\",\"where_order_price\":\"0.01\",\"type_name\":\"满减劵\",\"type_unit\":\"元\",\"bg_color_name\":\"橙色\",\"bg_color_value\":\"#F44336\",\"expire_type_name\":\"领取生效\",\"use_limit_type_name\":\"全场适用\",\"use_value_ids_all\":[]},\"is_use_name\":\"否\",\"is_expire_name\":\"否\",\"is_valid_name\":\"是\",\"use_time_time\":\"\",\"time_start_text\":\"2020-11-21 19:40\",\"time_end_text\":\"2020-11-25 00:40\",\"add_time_time\":\"2020-11-21 19:40:30\",\"upd_time_time\":\"\",\"buy_goods_ids\":[\"7\"]}}]', '1', '0.00', '200.00', '168.00', '0.00', '0.00', '0.00', '0', 'weixin', '2', '0', '1605958867', '1605958866', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1605958866', '1605958867'), ('20', '20201121194717189322', '3', '2', 'nnn', '0', '', '1', '2', '1', '[{\"name\":\"优惠券-满0.01减300\",\"price\":\"200.00\",\"type\":0,\"tips\":\"-¥200.00元\",\"business\":\"plugins-coupon\",\"ext\":{\"id\":\"13\",\"coupon_id\":\"2\",\"user_id\":\"3\",\"time_start\":\"1605958833\",\"time_end\":\"1606236033\",\"is_valid\":\"1\",\"is_expire\":\"0\",\"is_use\":\"0\",\"use_order_id\":\"0\",\"use_time\":\"0\",\"add_time\":\"1605958833\",\"upd_time\":\"0\",\"coupon\":{\"name\":\"满0.01减300\",\"desc\":\"满0.01减300\",\"type\":\"0\",\"bg_color\":\"4\",\"expire_type\":\"0\",\"discount_value\":\"200\",\"use_limit_type\":\"0\",\"use_value_ids\":\"\",\"where_order_price\":\"0.01\",\"type_name\":\"满减劵\",\"type_unit\":\"元\",\"bg_color_name\":\"橙色\",\"bg_color_value\":\"#F44336\",\"expire_type_name\":\"领取生效\",\"use_limit_type_name\":\"全场适用\",\"use_value_ids_all\":[]},\"is_use_name\":\"否\",\"is_expire_name\":\"否\",\"is_valid_name\":\"是\",\"use_time_time\":\"\",\"time_start_text\":\"2020-11-21 19:40\",\"time_end_text\":\"2020-11-25 00:40\",\"add_time_time\":\"2020-11-21 19:40:33\",\"upd_time_time\":\"\",\"buy_goods_ids\":[\"7\"]}}]', '1', '0.00', '200.00', '168.00', '0.00', '0.00', '0.00', '0', 'weixin', '2', '0', '1605959238', '1605959237', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1605959237', '1605959238'), ('21', '20201121194733503564', '3', '2', '', '0', '', '2', '1', '0', '', '1', '0.00', '0.00', '168.00', '168.00', '0.00', '0.00', '0', 'weixin', '2', '1', '0', '1605959253', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1605959253', '0'), ('22', '20201121194855461015', '3', '2', '', '0', '', '1', '2', '1', '[{\"name\":\"优惠券-满0.01减300\",\"price\":\"200.00\",\"type\":0,\"tips\":\"-¥200.00元\",\"business\":\"plugins-coupon\",\"ext\":{\"id\":\"15\",\"coupon_id\":\"2\",\"user_id\":\"3\",\"time_start\":\"1605959296\",\"time_end\":\"1606236496\",\"is_valid\":\"1\",\"is_expire\":\"0\",\"is_use\":\"0\",\"use_order_id\":\"0\",\"use_time\":\"0\",\"add_time\":\"1605959296\",\"upd_time\":\"0\",\"coupon\":{\"name\":\"满0.01减300\",\"desc\":\"满0.01减300\",\"type\":\"0\",\"bg_color\":\"4\",\"expire_type\":\"0\",\"discount_value\":\"200\",\"use_limit_type\":\"0\",\"use_value_ids\":\"\",\"where_order_price\":\"0.01\",\"type_name\":\"满减劵\",\"type_unit\":\"元\",\"bg_color_name\":\"橙色\",\"bg_color_value\":\"#F44336\",\"expire_type_name\":\"领取生效\",\"use_limit_type_name\":\"全场适用\",\"use_value_ids_all\":[]},\"is_use_name\":\"否\",\"is_expire_name\":\"否\",\"is_valid_name\":\"是\",\"use_time_time\":\"\",\"time_start_text\":\"2020-11-21 19:48\",\"time_end_text\":\"2020-11-25 00:48\",\"add_time_time\":\"2020-11-21 19:48:16\",\"upd_time_time\":\"\",\"buy_goods_ids\":[\"7\"]}}]', '1', '0.00', '200.00', '168.00', '0.00', '0.00', '0.00', '0', 'weixin', '2', '0', '1605959335', '1605959335', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1605959335', '1605959335'); COMMIT; -- ---------------------------- @@ -1102,13 +1102,13 @@ CREATE TABLE `s_order_status_history` ( KEY `order_id` (`order_id`), KEY `original_status` (`original_status`), KEY `new_status` (`new_status`) -) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='订单状态历史纪录'; +) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='订单状态历史纪录'; -- ---------------------------- -- Records of `s_order_status_history` -- ---------------------------- BEGIN; -INSERT INTO `s_order_status_history` VALUES ('1', '18', '1', '2', '支付[待付款-待发货]', '0', '系统', '1605958701'), ('2', '19', '1', '2', '支付[待付款-待发货]', '0', '系统', '1605958867'), ('3', '20', '1', '2', '支付[待付款-待发货]', '0', '系统', '1605959238'), ('4', '22', '1', '2', '支付[待付款-待发货]', '0', '系统', '1605959335'); +INSERT INTO `s_order_status_history` VALUES ('1', '18', '1', '2', '支付[待付款-待发货]', '0', '系统', '1605958701'), ('2', '19', '1', '2', '支付[待付款-待发货]', '0', '系统', '1605958867'), ('3', '20', '1', '2', '支付[待付款-待发货]', '0', '系统', '1605959238'), ('4', '22', '1', '2', '支付[待付款-待发货]', '0', '系统', '1605959335'), ('5', '18', '2', '3', '收货[待发货-待收货]', '1', 'admin', '1606122808'), ('6', '18', '3', '4', '收货[待收货-已完成]', '1', 'admin', '1606122813'); COMMIT; -- ---------------------------- @@ -1248,13 +1248,13 @@ CREATE TABLE `s_plugins` ( PRIMARY KEY (`id`), UNIQUE KEY `plugins` (`plugins`), KEY `is_enable` (`is_enable`) -) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='应用'; +) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='应用'; -- ---------------------------- -- Records of `s_plugins` -- ---------------------------- BEGIN; -INSERT INTO `s_plugins` VALUES ('1', 'ordergoodsform', '{\"is_goods_detail_form\":\"1\",\"is_buy_show\":\"1\",\"is_index_order_list_operate\":\"1\"}', '1', '1604585586', '1605439217'), ('2', 'membershiplevelvip', '{\"application_name\":\"\\u4f1a\\u5458\\u4ff1\\u4e50\\u90e8\",\"level_rules\":\"0\",\"order_close_time\":\"30\",\"profit_order_create_time\":\"5\",\"profit_order_settlement_time\":\"10800\",\"user_poster_share_title\":\"\",\"user_poster_share_desc\":\"\",\"banner_top_title\":\"\",\"banner_middle_name\":\"\",\"banner_bottom_content\":\"\",\"not_opening_vip_desc\":\"\",\"user_vip_center_notice\":\"\",\"is_user_buy\":\"1\"}', '1', '1604644376', '1605662741'), ('3', 'multilingual', '{\"real_time_monitoring\":\"\",\"stop_page_request_number\":\"\",\"appid\":\"\",\"appkey\":\"\",\"is_user_quick_select\":\"1\",\"is_user_header_top_right_select\":\"1\"}', '1', '1605152387', '1605152451'), ('4', 'blog', '{\"application_name\":\"\\u535a\\u5ba2\",\"home_data_list_number\":\"\",\"home_multigraph_number\":\"\",\"home_bottom_goods_page_size\":\"\",\"search_page_size\":\"\",\"search_right_goods_number\":\"\",\"right_recommended_number\":\"\",\"seo_title\":\"\",\"seo_keywords\":\"\",\"seo_desc\":\"\",\"home_bottom_goods_order_by_type\":\"0\",\"home_bottom_goods_order_by_rule\":\"0\"}', '1', '1605663189', '1605663199'), ('5', 'coupon', '{\"application_name\":\"\\u9886\\u52b5\\u4e2d\\u5fc3\",\"banner_bg_color\":\"\",\"banner_url\":\"\",\"is_repeat_receive\":\"1\",\"banner_images\":\"\"}', '1', '1605958425', '1605958576'); +INSERT INTO `s_plugins` VALUES ('1', 'ordergoodsform', '{\"is_goods_detail_form\":\"1\",\"is_buy_show\":\"1\",\"is_index_order_list_operate\":\"1\"}', '1', '1604585586', '1605439217'), ('2', 'membershiplevelvip', '{\"application_name\":\"\\u4f1a\\u5458\\u4ff1\\u4e50\\u90e8\",\"level_rules\":\"0\",\"order_close_time\":\"30\",\"profit_order_create_time\":\"5\",\"profit_order_settlement_time\":\"10800\",\"user_poster_share_title\":\"\",\"user_poster_share_desc\":\"\",\"banner_top_title\":\"\",\"banner_middle_name\":\"\",\"banner_bottom_content\":\"\",\"not_opening_vip_desc\":\"\",\"user_vip_center_notice\":\"\",\"is_user_buy\":\"1\"}', '1', '1604644376', '1605662741'), ('3', 'multilingual', '{\"real_time_monitoring\":\"\",\"stop_page_request_number\":\"\",\"appid\":\"\",\"appkey\":\"\",\"is_user_quick_select\":\"1\",\"is_user_header_top_right_select\":\"1\"}', '1', '1605152387', '1605152451'), ('4', 'blog', '{\"application_name\":\"\\u535a\\u5ba2\",\"home_data_list_number\":\"\",\"home_multigraph_number\":\"\",\"home_bottom_goods_page_size\":\"\",\"search_page_size\":\"\",\"search_right_goods_number\":\"\",\"right_recommended_number\":\"\",\"seo_title\":\"\",\"seo_keywords\":\"\",\"seo_desc\":\"\",\"home_bottom_goods_order_by_type\":\"0\",\"home_bottom_goods_order_by_rule\":\"0\"}', '1', '1605663189', '1605663199'), ('5', 'coupon', '{\"application_name\":\"\\u9886\\u52b5\\u4e2d\\u5fc3\",\"banner_bg_color\":\"\",\"banner_url\":\"\",\"is_repeat_receive\":\"1\",\"banner_images\":\"\"}', '1', '1605958425', '1605958576'), ('6', 'distribution', '{\"user_poster_top_desc\":\"\",\"user_poster_share_title\":\"\",\"user_poster_share_desc\":\"\",\"is_upper_return\":\"0\",\"level\":\"2\",\"self_buy\":\"0\",\"auto_level_type\":\"0\",\"is_down_return\":\"0\",\"down_return_number\":\"\",\"is_upper_return_integral\":\"0\",\"upper_return_integral\":\"\",\"is_down_return_integral\":\"0\",\"down_return_integral\":\"\",\"down_return_integral_people\":\"\",\"is_appoint_goods\":\"0\",\"appoint_goods_profit_number\":\"\",\"appoint_profit_goods_ids\":[\"5\",\"7\"],\"appoint_goods_sale_number\":\"\",\"appoint_goods_sale_rate\":\"\",\"appoint_goods_repurchase_discount\":\"\",\"goods_detail_icon\":\"\",\"is_enable_self_extraction\":\"0\",\"is_buy_default_extraction_address\":\"0\",\"is_force_current_user\":\"0\",\"extraction_profit_level\":\"0\",\"self_extraction_apply_desc\":\"\",\"self_extraction_common_notice\":\"\",\"profit_type\":\"0\",\"profit_settlement_limit_time\":\"43200\",\"is_show_introduce\":\"1\",\"user_center_level_desc\":\"\",\"non_conformity_desc\":\"\",\"user_center_notice\":\"\",\"poster_data\":[],\"default_level_images\":\"\",\"default_qrcode_logo\":\"\"}', '1', '1606292133', '1606292413'); COMMIT; -- ---------------------------- @@ -1438,6 +1438,121 @@ BEGIN; INSERT INTO `s_plugins_coupon_user` VALUES ('1', '1', '1', '1605958580', '1609554980', '1', '0', '0', '0', '0', '1605958580', '0'), ('2', '1', '1', '1605958581', '1609554981', '1', '0', '0', '0', '0', '1605958581', '0'), ('3', '1', '1', '1605958581', '1609554981', '1', '0', '0', '0', '0', '1605958581', '0'), ('4', '1', '1', '1605958581', '1609554981', '1', '0', '0', '0', '0', '1605958581', '0'), ('5', '1', '1', '1605958581', '1609554981', '1', '0', '0', '0', '0', '1605958581', '0'), ('6', '1', '1', '1605958581', '1609554981', '1', '0', '0', '0', '0', '1605958581', '0'), ('7', '1', '1', '1605958582', '1609554982', '1', '0', '0', '0', '0', '1605958582', '0'), ('8', '2', '1', '1605958686', '1606235886', '1', '0', '1', '18', '1605958699', '1605958686', '1605958699'), ('9', '2', '1', '1605958686', '1606235886', '1', '0', '0', '0', '0', '1605958686', '0'), ('10', '2', '1', '1605958686', '1606235886', '1', '0', '0', '0', '0', '1605958686', '0'), ('11', '2', '3', '1605958830', '1606236030', '1', '0', '1', '19', '1605958866', '1605958830', '1605958866'), ('12', '1', '3', '1605958831', '1609555231', '1', '0', '0', '0', '0', '1605958831', '0'), ('13', '2', '3', '1605958833', '1606236033', '1', '0', '1', '20', '1605959237', '1605958833', '1605959237'), ('14', '1', '3', '1605958833', '1609555233', '1', '0', '0', '0', '0', '1605958833', '0'), ('15', '2', '3', '1605959296', '1606236496', '1', '0', '1', '22', '1605959335', '1605959296', '1605959335'), ('16', '2', '3', '1605959297', '1606236497', '1', '0', '0', '0', '0', '1605959297', '0'), ('17', '2', '3', '1605959297', '1606236497', '1', '0', '0', '0', '0', '1605959297', '0'), ('18', '2', '3', '1605959297', '1606236497', '1', '0', '0', '0', '0', '1605959297', '0'), ('19', '2', '3', '1605959297', '1606236497', '1', '0', '0', '0', '0', '1605959297', '0'), ('20', '2', '3', '1605959297', '1606236497', '1', '0', '0', '0', '0', '1605959297', '0'), ('21', '2', '3', '1605959297', '1606236497', '1', '0', '0', '0', '0', '1605959297', '0'); COMMIT; +-- ---------------------------- +-- Table structure for `s_plugins_distribution_integral_log` +-- ---------------------------- +DROP TABLE IF EXISTS `s_plugins_distribution_integral_log`; +CREATE TABLE `s_plugins_distribution_integral_log` ( + `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增id', + `order_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '订单id', + `user_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '用户id', + `integral` int(11) unsigned NOT NULL COMMENT '积分', + `status` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '状态(0待发放, 1已发放, 2已退回)', + `msg` char(255) NOT NULL DEFAULT '' 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`), + KEY `status` (`status`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='分销积分明细 - 应用'; + +-- ---------------------------- +-- Table structure for `s_plugins_distribution_level` +-- ---------------------------- +DROP TABLE IF EXISTS `s_plugins_distribution_level`; +CREATE TABLE `s_plugins_distribution_level` ( + `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增id', + `name` char(30) NOT NULL DEFAULT '' COMMENT '名称', + `images_url` char(255) NOT NULL DEFAULT '' COMMENT '图标', + `rules_min` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '消费最小金额', + `rules_max` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '消费最大金额', + `level_rate_one` decimal(6,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '一级返佣比例', + `level_rate_two` decimal(6,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '二级返佣比例', + `level_rate_three` decimal(6,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '三级返佣比例', + `down_return_rate` decimal(6,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '向下返佣比例', + `self_buy_rate` decimal(6,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '内购返佣比例', + `force_current_user_rate_one` decimal(6,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '强制返佣至取货点返佣比例(一级)', + `force_current_user_rate_two` decimal(6,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '强制返佣至取货点返佣比例(二级)', + `force_current_user_rate_three` decimal(6,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '强制返佣至取货点返佣比例(三级)', + `is_level_auto` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '是否自动分配等级(0否, 1是)', + `is_enable` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否启用(0否, 1是)', + `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`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='分销等级 - 应用'; + +-- ---------------------------- +-- Table structure for `s_plugins_distribution_profit_log` +-- ---------------------------- +DROP TABLE IF EXISTS `s_plugins_distribution_profit_log`; +CREATE TABLE `s_plugins_distribution_profit_log` ( + `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增id', + `user_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '用户id', + `order_id` int(11) unsigned NOT NULL COMMENT '订单id', + `order_user_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '订单用户id', + `total_price` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '订单金额', + `profit_price` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '收益金额', + `rate` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '等级返佣比例 0~100 的数字(创建时写入,防止发生退款重新计算时用户等级变更)', + `spec_extends` mediumtext COMMENT '订单中所购买的商品对应规格的扩展数据(用于重新计算时候使用)', + `level` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '当前级别(1~3)0则是向下返佣', + `user_level_id` char(60) NOT NULL DEFAULT '' COMMENT '用户等级id', + `status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '结算状态(0待生效, 1待结算, 2已结算, 3已失效)', + `msg` char(255) NOT NULL DEFAULT '' 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`), + KEY `status` (`status`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='分销佣金明细 - 应用'; + +-- ---------------------------- +-- Table structure for `s_plugins_distribution_user_self_extraction` +-- ---------------------------- +DROP TABLE IF EXISTS `s_plugins_distribution_user_self_extraction`; +CREATE TABLE `s_plugins_distribution_user_self_extraction` ( + `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '站点id', + `user_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '站点所属用户id', + `alias` char(60) NOT NULL DEFAULT '' COMMENT '别名', + `name` char(60) NOT NULL DEFAULT '' COMMENT '姓名', + `tel` char(15) NOT NULL DEFAULT '' COMMENT '电话', + `province` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '所在省', + `city` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '所在市', + `county` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '所在县/区', + `address` char(80) NOT NULL DEFAULT '' COMMENT '详细地址', + `lng` decimal(13,10) unsigned NOT NULL DEFAULT '0.0000000000' COMMENT '经度', + `lat` decimal(13,10) unsigned NOT NULL DEFAULT '0.0000000000' COMMENT '纬度', + `status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '状态(0待审核, 1已通过, 2已拒绝, 3已解约)', + `fail_reason` char(200) NOT NULL DEFAULT '' 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 `status` (`status`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='分销商取货点 - 应用'; + +-- ---------------------------- +-- Table structure for `s_plugins_distribution_user_self_extraction_order` +-- ---------------------------- +DROP TABLE IF EXISTS `s_plugins_distribution_user_self_extraction_order`; +CREATE TABLE `s_plugins_distribution_user_self_extraction_order` ( + `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '站点id', + `user_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '站点所属用户id', + `order_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '订单id', + `self_extraction_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '取货点地址id', + `status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '状态(0待处理, 1已处理)', + `notes` char(200) NOT NULL DEFAULT '' 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`), + KEY `self_extraction_id` (`self_extraction_id`), + KEY `status` (`status`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='分销商取货点关联订单 - 应用'; + -- ---------------------------- -- Table structure for `s_plugins_membershiplevelvip_introduce` -- ---------------------------- @@ -1698,13 +1813,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=461 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='权限'; +) ENGINE=InnoDB AUTO_INCREMENT=462 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', '', '10', '1', '', '1528080200'), ('184', '182', '消息删除', 'Message', 'Delete', '', '11', '0', '', '1528080200'), ('185', '182', '支付日志', 'PayLog', 'Index', '', '20', '1', '', '1528080200'), ('186', '182', '积分日志', 'IntegralLog', 'Index', '', '40', '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', '', '21', '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'), ('214', '182', '问答留言', 'Answer', 'Index', '', '0', '1', '', '1533112443'), ('215', '182', '问答留言回复', 'Answer', 'Reply', '', '1', '0', '', '1533119660'), ('216', '182', '问答留言删除', 'Answer', 'Delete', '', '2', '0', '', '1533119680'), ('217', '182', '问答留言状态更新', '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'), ('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', '', '20', '1', 'icon-shouji', '1483362358'), ('326', '319', '基础配置', 'AppConfig', 'Index', '', '0', '1', '', '1543206359'), ('327', '319', '基础配置保存', 'AppConfig', 'Save', '', '1', '0', '', '1543206402'), ('331', '118', '日志删除', 'Cache', 'LogDelete', '', '4', '0', '', '1545642163'), ('332', '319', '小程序列表', 'AppMini', 'Index', '', '30', '1', '', '1546935020'), ('333', '319', '小程序配置', 'AppMini', 'Config', '', '40', '1', '', '1546935090'), ('334', '319', '小程序配置保存', 'AppMini', 'Save', '', '41', '0', '', '1546935118'), ('336', '319', '小程序包生成', 'AppMini', 'Created', '', '31', '0', '', '1546935187'), ('337', '319', '小程序包删除', 'AppMini', 'Delete', '', '32', '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', '182', '问答添加/编辑页面', 'Answer', 'SaveInfo', '', '4', '0', '', '1553964318'), ('353', '182', '问答添加/编辑', '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', '', '30', '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'), ('387', '222', '主题下载', 'Theme', 'Download', '', '34', '0', '', '1494410699'), ('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'), ('409', '252', '品牌详情', 'Brand', 'Detail', '', '6', '0', '', '1592563170'), ('410', '319', '首页导航详情', 'AppHomeNav', 'Detail', '', '15', '0', '', '1592652323'), ('411', '319', '用户中心导航详情', 'AppCenterNav', 'Detail', '', '25', '0', '', '1592661364'), ('412', '182', '问答留言详情', 'Answer', 'Detail', '', '6', '0', '', '1592840031'), ('413', '182', '消息详情', 'Message', 'Detail', '', '12', '0', '', '1593181414'), ('414', '222', '友情链接详情', 'Link', 'Detail', '', '26', '0', '', '1593181677'), ('415', '182', '支付日志详情', 'PayLog', 'Detail', '', '21', '0', '', '1593355200'), ('416', '182', '退款日志详情', 'RefundLog', 'Detail', '', '31', '0', '', '1593355237'), ('417', '182', '积分日志详情', 'IntegralLog', 'Detail', '', '41', '0', '', '1593355265'), ('418', '38', '商品浏览', 'GoodsBrowse', 'Index', '', '30', '1', '', '1591609904'), ('419', '38', '商品浏览删除', 'GoodsBrowse', 'Delete', '', '31', '0', '', '1591609904'), ('420', '38', '商品浏览详情', 'GoodsBrowse', 'Detail', '', '32', '0', '', '1591609904'), ('421', '38', '商品收藏', 'GoodsFavor', 'Index', '', '40', '1', '', '1591609904'), ('422', '38', '商品收藏删除', 'GoodsFavor', 'Delete', '', '41', '0', '', '1591609904'), ('423', '38', '商品收藏详情', 'GoodsFavor', 'Detail', '', '42', '0', '', '1591609904'), ('425', '438', '仓库管理', 'Warehouse', 'Index', '', '0', '1', '', '1488108044'), ('426', '438', '仓库添加/编辑页面', 'Warehouse', 'SaveInfo', '', '1', '0', '', '1530360625'), ('427', '438', '仓库添加/编辑', 'Warehouse', 'Save', '', '2', '0', '', '1530360663'), ('428', '438', '仓库删除', 'Warehouse', 'Delete', '', '3', '0', '', '1530360692'), ('429', '438', '仓库状态更新', 'Warehouse', 'StatusUpdate', '', '4', '0', '', '1530360730'), ('430', '438', '仓库详情', 'Warehouse', 'Detail', '', '5', '0', '', '1534156400'), ('431', '438', '仓库商品管理', 'WarehouseGoods', 'Index', '', '10', '1', '', '1488108044'), ('432', '438', '仓库商品删除', 'WarehouseGoods', 'Delete', '', '12', '0', '', '1530360625'), ('433', '438', '仓库商品搜索添加', 'WarehouseGoods', 'GoodsAdd', '', '15', '0', '', '1530360663'), ('434', '438', '仓库商品搜索删除', 'WarehouseGoods', 'GoodsDel', '', '16', '0', '', '1530360692'), ('435', '438', '仓库商品状态更新', 'WarehouseGoods', 'StatusUpdate', '', '13', '0', '', '1530360730'), ('436', '438', '仓库商品详情', 'WarehouseGoods', 'Detail', '', '11', '0', '', '1534156400'), ('438', '0', '仓库管理', 'Warehouse', 'Index', '', '9', '1', 'icon-cangku', '1483362358'), ('439', '438', '仓库商品搜索', 'WarehouseGoods', 'GoodsSearch', '', '14', '0', '', '1534156400'), ('440', '438', '仓库商品库存编辑页面', 'WarehouseGoods', 'InventoryInfo', '', '17', '0', '', '1534156400'), ('441', '438', '仓库商品库存编辑', 'WarehouseGoods', 'InventorySave', '', '18', '0', '', '0'), ('442', '182', '支付日志关闭', 'PayLog', 'Close', '', '22', '0', '', '1593355200'), ('443', '222', '快捷导航', 'QuickNav', 'Index', '', '90', '1', '', '1542558318'), ('444', '222', '快捷导航添加/编辑页面', 'QuickNav', 'SaveInfo', '', '91', '0', '', '1542558686'), ('445', '222', '快捷导航添加/编辑', 'QuickNav', 'Save', '', '92', '0', '', '1542558706'), ('446', '222', '快捷导航状态更新', 'QuickNav', 'StatusUpdate', '', '93', '0', '', '1542558747'), ('447', '222', '快捷导航删除', 'QuickNav', 'Delete', '', '94', '0', '', '1542558767'), ('448', '222', '快捷导航详情', 'QuickNav', 'Detail', '', '95', '0', '', '1592652323'), ('449', '182', '支付请求日志列表', 'PayRequestLog', 'Index', '', '25', '0', '', '1593355200'), ('450', '182', '支付请求日志详情', 'PayRequestLog', 'Detail', '', '26', '0', '', '1593355200'), ('451', '126', '用户地址', 'UserAddress', 'Index', '', '10', '1', '', '1490794316'), ('452', '126', '用户地址编辑页面', 'UserAddress', 'SaveInfo', '', '11', '0', '', '1490794510'), ('453', '126', '用户地址编辑', 'UserAddress', 'Save', '', '12', '0', '', '1490794510'), ('454', '126', '用户地址删除', 'UserAddress', 'Delete', '', '13', '0', '', '1591621569'), ('455', '126', '用户地址详情', 'UserAddress', 'Detail', '', '14', '0', '', '0'), ('456', '319', '小程序包列表', 'AppMini', 'Package', '', '33', '0', '', '1605872721'), ('457', '319', '小程序主题上传', 'AppMini', 'ThemeUpload', '', '34', '0', '', '1605872721'), ('458', '319', '小程序主题切换', 'AppMini', 'ThemeSave', '', '35', '0', '', '1605872721'), ('459', '319', '小程序主题切换', 'AppMini', 'ThemeDelete', '', '36', '0', '', '1605872721'), ('460', '319', '小程序主题下载', 'AppMini', 'ThemeDownload', '', '37', '0', '', '1605872721'); +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', '', '10', '1', '', '1528080200'), ('184', '182', '消息删除', 'Message', 'Delete', '', '11', '0', '', '1528080200'), ('185', '182', '支付日志', 'PayLog', 'Index', '', '20', '1', '', '1528080200'), ('186', '182', '积分日志', 'IntegralLog', 'Index', '', '40', '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', '', '21', '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'), ('214', '182', '问答留言', 'Answer', 'Index', '', '0', '1', '', '1533112443'), ('215', '182', '问答留言回复', 'Answer', 'Reply', '', '1', '0', '', '1533119660'), ('216', '182', '问答留言删除', 'Answer', 'Delete', '', '2', '0', '', '1533119680'), ('217', '182', '问答留言状态更新', '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'), ('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', '', '20', '1', 'icon-shouji', '1483362358'), ('326', '319', '基础配置', 'AppConfig', 'Index', '', '0', '1', '', '1543206359'), ('327', '319', '基础配置保存', 'AppConfig', 'Save', '', '1', '0', '', '1543206402'), ('331', '118', '日志删除', 'Cache', 'LogDelete', '', '4', '0', '', '1545642163'), ('332', '319', '小程序列表', 'AppMini', 'Index', '', '30', '1', '', '1546935020'), ('333', '319', '小程序配置', 'AppMini', 'Config', '', '40', '1', '', '1546935090'), ('334', '319', '小程序配置保存', 'AppMini', 'Save', '', '41', '0', '', '1546935118'), ('336', '319', '小程序包生成', 'AppMini', 'Created', '', '31', '0', '', '1546935187'), ('337', '319', '小程序包删除', 'AppMini', 'Delete', '', '32', '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', '182', '问答添加/编辑页面', 'Answer', 'SaveInfo', '', '4', '0', '', '1553964318'), ('353', '182', '问答添加/编辑', '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', '', '30', '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'), ('387', '222', '主题下载', 'Theme', 'Download', '', '34', '0', '', '1494410699'), ('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'), ('409', '252', '品牌详情', 'Brand', 'Detail', '', '6', '0', '', '1592563170'), ('410', '319', '首页导航详情', 'AppHomeNav', 'Detail', '', '15', '0', '', '1592652323'), ('411', '319', '用户中心导航详情', 'AppCenterNav', 'Detail', '', '25', '0', '', '1592661364'), ('412', '182', '问答留言详情', 'Answer', 'Detail', '', '6', '0', '', '1592840031'), ('413', '182', '消息详情', 'Message', 'Detail', '', '12', '0', '', '1593181414'), ('414', '222', '友情链接详情', 'Link', 'Detail', '', '26', '0', '', '1593181677'), ('415', '182', '支付日志详情', 'PayLog', 'Detail', '', '21', '0', '', '1593355200'), ('416', '182', '退款日志详情', 'RefundLog', 'Detail', '', '31', '0', '', '1593355237'), ('417', '182', '积分日志详情', 'IntegralLog', 'Detail', '', '41', '0', '', '1593355265'), ('418', '38', '商品浏览', 'GoodsBrowse', 'Index', '', '30', '1', '', '1591609904'), ('419', '38', '商品浏览删除', 'GoodsBrowse', 'Delete', '', '31', '0', '', '1591609904'), ('420', '38', '商品浏览详情', 'GoodsBrowse', 'Detail', '', '32', '0', '', '1591609904'), ('421', '38', '商品收藏', 'GoodsFavor', 'Index', '', '40', '1', '', '1591609904'), ('422', '38', '商品收藏删除', 'GoodsFavor', 'Delete', '', '41', '0', '', '1591609904'), ('423', '38', '商品收藏详情', 'GoodsFavor', 'Detail', '', '42', '0', '', '1591609904'), ('425', '438', '仓库管理', 'Warehouse', 'Index', '', '0', '1', '', '1488108044'), ('426', '438', '仓库添加/编辑页面', 'Warehouse', 'SaveInfo', '', '1', '0', '', '1530360625'), ('427', '438', '仓库添加/编辑', 'Warehouse', 'Save', '', '2', '0', '', '1530360663'), ('428', '438', '仓库删除', 'Warehouse', 'Delete', '', '3', '0', '', '1530360692'), ('429', '438', '仓库状态更新', 'Warehouse', 'StatusUpdate', '', '4', '0', '', '1530360730'), ('430', '438', '仓库详情', 'Warehouse', 'Detail', '', '5', '0', '', '1534156400'), ('431', '438', '仓库商品管理', 'WarehouseGoods', 'Index', '', '10', '1', '', '1488108044'), ('432', '438', '仓库商品删除', 'WarehouseGoods', 'Delete', '', '12', '0', '', '1530360625'), ('433', '438', '仓库商品搜索添加', 'WarehouseGoods', 'GoodsAdd', '', '15', '0', '', '1530360663'), ('434', '438', '仓库商品搜索删除', 'WarehouseGoods', 'GoodsDel', '', '16', '0', '', '1530360692'), ('435', '438', '仓库商品状态更新', 'WarehouseGoods', 'StatusUpdate', '', '13', '0', '', '1530360730'), ('436', '438', '仓库商品详情', 'WarehouseGoods', 'Detail', '', '11', '0', '', '1534156400'), ('438', '0', '仓库管理', 'Warehouse', 'Index', '', '9', '1', 'icon-cangku', '1483362358'), ('439', '438', '仓库商品搜索', 'WarehouseGoods', 'GoodsSearch', '', '14', '0', '', '1534156400'), ('440', '438', '仓库商品库存编辑页面', 'WarehouseGoods', 'InventoryInfo', '', '17', '0', '', '1534156400'), ('441', '438', '仓库商品库存编辑', 'WarehouseGoods', 'InventorySave', '', '18', '0', '', '0'), ('442', '182', '支付日志关闭', 'PayLog', 'Close', '', '22', '0', '', '1593355200'), ('443', '222', '快捷导航', 'QuickNav', 'Index', '', '90', '1', '', '1542558318'), ('444', '222', '快捷导航添加/编辑页面', 'QuickNav', 'SaveInfo', '', '91', '0', '', '1542558686'), ('445', '222', '快捷导航添加/编辑', 'QuickNav', 'Save', '', '92', '0', '', '1542558706'), ('446', '222', '快捷导航状态更新', 'QuickNav', 'StatusUpdate', '', '93', '0', '', '1542558747'), ('447', '222', '快捷导航删除', 'QuickNav', 'Delete', '', '94', '0', '', '1542558767'), ('448', '222', '快捷导航详情', 'QuickNav', 'Detail', '', '95', '0', '', '1592652323'), ('449', '182', '支付请求日志列表', 'PayRequestLog', 'Index', '', '25', '0', '', '1593355200'), ('450', '182', '支付请求日志详情', 'PayRequestLog', 'Detail', '', '26', '0', '', '1593355200'), ('451', '126', '用户地址', 'UserAddress', 'Index', '', '10', '1', '', '1490794316'), ('452', '126', '用户地址编辑页面', 'UserAddress', 'SaveInfo', '', '11', '0', '', '1490794510'), ('453', '126', '用户地址编辑', 'UserAddress', 'Save', '', '12', '0', '', '1490794510'), ('454', '126', '用户地址删除', 'UserAddress', 'Delete', '', '13', '0', '', '1591621569'), ('455', '126', '用户地址详情', 'UserAddress', 'Detail', '', '14', '0', '', '0'), ('456', '319', '小程序包列表', 'AppMini', 'Package', '', '33', '0', '', '1605872721'), ('457', '319', '小程序主题上传', 'AppMini', 'ThemeUpload', '', '34', '0', '', '1605872721'), ('458', '319', '小程序主题切换', 'AppMini', 'ThemeSave', '', '35', '0', '', '1605872721'), ('459', '319', '小程序主题切换', 'AppMini', 'ThemeDelete', '', '36', '0', '', '1605872721'), ('460', '319', '小程序主题下载', 'AppMini', 'ThemeDownload', '', '37', '0', '', '1605872721'), ('461', '81', '站点设置商品搜索', 'Site', 'GoodsSearch', '', '1', '0', '', '1486561780'); COMMIT; -- ---------------------------- @@ -1908,13 +2023,13 @@ CREATE TABLE `s_search_history` ( `ymd` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '日期 ymd', `add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间', PRIMARY KEY (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='搜索日志'; +) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='搜索日志'; -- ---------------------------- -- Records of `s_search_history` -- ---------------------------- BEGIN; -INSERT INTO `s_search_history` VALUES ('1', '1', '0', '0', '', '0-0', 'default', 'asc', '20201118', '1605662675'), ('2', '1', '0', '0', '', '0-0', 'default', 'asc', '20201118', '1605662676'), ('3', '1', '0', '0', '', '0-0', 'default', 'asc', '20201118', '1605662682'), ('4', '1', '0', '0', '', '0-0', 'default', 'asc', '20201118', '1605662745'), ('5', '1', '0', '0', '', '0-0', 'default', 'asc', '20201118', '1605662747'), ('6', '1', '0', '0', '', '0-0', 'default', 'asc', '20201118', '1605662776'), ('7', '1', '0', '0', '', '0-0', 'default', 'asc', '20201118', '1605662861'), ('8', '1', '0', '0', '', '0-0', 'default', 'asc', '20201118', '1605662888'), ('9', '1', '0', '0', '', '0-0', 'default', 'asc', '20201118', '1605667476'), ('10', '1', '0', '0', '', '0-0', 'default', 'asc', '20201118', '1605667660'), ('11', '1', '0', '0', '', '0-0', 'default', 'asc', '20201118', '1605667670'), ('12', '1', '0', '0', '', '0-0', 'default', 'asc', '20201118', '1605667907'), ('13', '1', '0', '0', '', '0-0', 'default', 'asc', '20201118', '1605668112'), ('14', '1', '0', '0', '', '0-0', 'default', 'asc', '20201118', '1605668201'), ('15', '1', '0', '2', '', '0-0', 'default', 'asc', '20201118', '1605668204'), ('16', '1', '0', '0', '', '0-0', 'default', 'asc', '20201118', '1605668206'), ('17', '1', '0', '2', '', '0-0', 'default', 'asc', '20201118', '1605668212'), ('18', '1', '1', '2', '', '0-0', 'default', 'asc', '20201118', '1605668213'), ('19', '1', '0', '0', '', '0-0', 'default', 'asc', '20201118', '1605668712'), ('20', '1', '0', '0', '试试', '0-0', 'default', 'asc', '20201118', '1605668715'), ('21', '1', '0', '0', 'iph', '0-0', 'default', 'asc', '20201118', '1605668718'), ('22', '1', '0', '0', '', '0-0', 'default', 'asc', '20201121', '1605958619'); +INSERT INTO `s_search_history` VALUES ('1', '1', '0', '0', '', '0-0', 'default', 'asc', '20201118', '1605662675'), ('2', '1', '0', '0', '', '0-0', 'default', 'asc', '20201118', '1605662676'), ('3', '1', '0', '0', '', '0-0', 'default', 'asc', '20201118', '1605662682'), ('4', '1', '0', '0', '', '0-0', 'default', 'asc', '20201118', '1605662745'), ('5', '1', '0', '0', '', '0-0', 'default', 'asc', '20201118', '1605662747'), ('6', '1', '0', '0', '', '0-0', 'default', 'asc', '20201118', '1605662776'), ('7', '1', '0', '0', '', '0-0', 'default', 'asc', '20201118', '1605662861'), ('8', '1', '0', '0', '', '0-0', 'default', 'asc', '20201118', '1605662888'), ('9', '1', '0', '0', '', '0-0', 'default', 'asc', '20201118', '1605667476'), ('10', '1', '0', '0', '', '0-0', 'default', 'asc', '20201118', '1605667660'), ('11', '1', '0', '0', '', '0-0', 'default', 'asc', '20201118', '1605667670'), ('12', '1', '0', '0', '', '0-0', 'default', 'asc', '20201118', '1605667907'), ('13', '1', '0', '0', '', '0-0', 'default', 'asc', '20201118', '1605668112'), ('14', '1', '0', '0', '', '0-0', 'default', 'asc', '20201118', '1605668201'), ('15', '1', '0', '2', '', '0-0', 'default', 'asc', '20201118', '1605668204'), ('16', '1', '0', '0', '', '0-0', 'default', 'asc', '20201118', '1605668206'), ('17', '1', '0', '2', '', '0-0', 'default', 'asc', '20201118', '1605668212'), ('18', '1', '1', '2', '', '0-0', 'default', 'asc', '20201118', '1605668213'), ('19', '1', '0', '0', '', '0-0', 'default', 'asc', '20201118', '1605668712'), ('20', '1', '0', '0', '试试', '0-0', 'default', 'asc', '20201118', '1605668715'), ('21', '1', '0', '0', 'iph', '0-0', 'default', 'asc', '20201118', '1605668718'), ('22', '1', '0', '0', '', '0-0', 'default', 'asc', '20201121', '1605958619'), ('23', '0', '0', '0', '', '0-0', 'default', 'asc', '20201125', '1606290400'); COMMIT; -- ---------------------------- @@ -1977,6 +2092,7 @@ CREATE TABLE `s_user` ( `integral` int(10) NOT NULL DEFAULT '0' COMMENT '有效积分', `locking_integral` int(10) NOT NULL DEFAULT '0' COMMENT '锁定积分', `referrer` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '推荐人用户id', + `plugins_distribution_level` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '分销等级', `plugins_user_level` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '会员等级增强版', `is_delete_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '是否已删除(0否, 大于0删除时间)', `add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间', @@ -1994,7 +2110,7 @@ CREATE TABLE `s_user` ( -- Records of `s_user` -- ---------------------------- BEGIN; -INSERT INTO `s_user` VALUES ('1', '', '', '', '', '', '', '', '', '0', '586266', '5d1082bc4529e7f4f2ef353bac9e94d2', '', 'qqqqqq', '', '', '', '0', '', '', '', '0', '', '0', '0', '0', '0', '0', '1604644427', '1605958549'), ('2', '', '', '', '', '', '', '', '', '0', '907730', '4d9694b8b3fb8e1f34b10e6bf64b5cce', '', 'vvvvvv', '', '', '', '0', '', '', '', '0', '', '0', '0', '0', '0', '0', '1605373850', '1605373850'), ('3', '', 'oB6US5SNOngn196qzb3lagEBTh6w', '', '', '', '', '', '', '0', '', '', '6ff4f3fecafc783b2ce1ba3297267167', '', '', '17602128368', '', '2', 'https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTLyAtj7FMjZYFhr3FADapWV8TibSNWVRVYFmAEJGg4bYgw0WMx4cibF7RChJicFb0YWDWwdAglrRI42A/132', '', '', '0', '', '0', '0', '0', '0', '0', '1605958823', '1605958828'); +INSERT INTO `s_user` VALUES ('1', '', '', '', '', '', '', '', '', '0', '614905', '3e31292a8f0212ab8fad2a354f455814', '', 'qqqqqq', '', '', '', '0', '/static/upload/images/user_avatar/compr/2020/11/23/20201123160002645270163.gif', '', '', '0', '', '0', '0', '0', '0', '0', '0', '1604644427', '1606118403'), ('2', '', '', '', '', '', '', '', '', '0', '907730', '4d9694b8b3fb8e1f34b10e6bf64b5cce', '', 'vvvvvv', '', '', '', '0', '', '', '', '0', '', '0', '0', '0', '0', '0', '0', '1605373850', '1605373850'), ('3', '', 'oB6US5SNOngn196qzb3lagEBTh6w', '', '', '', '', '', '', '0', '', '', '6ff4f3fecafc783b2ce1ba3297267167', '', '', '17602128368', '', '2', 'https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTLyAtj7FMjZYFhr3FADapWV8TibSNWVRVYFmAEJGg4bYgw0WMx4cibF7RChJicFb0YWDWwdAglrRI42A/132', '', '', '0', '', '0', '0', '0', '0', '0', '0', '1605958823', '1605958828'); COMMIT; -- ---------------------------- @@ -2104,7 +2220,7 @@ CREATE TABLE `s_warehouse_goods` ( -- Records of `s_warehouse_goods` -- ---------------------------- BEGIN; -INSERT INTO `s_warehouse_goods` VALUES ('20', '2', '1', '1', '8', '1595068577', '1595068582'), ('22', '2', '8', '1', '2', '1595076197', '1605345194'), ('24', '2', '2', '1', '1997', '1595077992', '1598698244'), ('25', '2', '7', '1', '218', '1595863207', '1598698236'), ('26', '2', '12', '1', '25', '1596084332', '1602469864'), ('49', '2', '10', '1', '222', '1596635742', '1598698220'), ('50', '2', '9', '1', '88', '1596635833', '1602671920'), ('51', '4', '8', '1', '1', '1605345085', '1605345199'), ('52', '4', '9', '1', '999', '1605345089', '1605345103'), ('53', '2', '11', '1', '1998', '1605432741', '1605434325'), ('54', '2', '6', '1', '666', '1605432742', '1605432769'), ('55', '2', '5', '1', '555', '1605432742', '1605432763'), ('56', '2', '4', '1', '333', '1605432743', '1605432758'), ('57', '2', '3', '1', '333', '1605432744', '1605432752'); +INSERT INTO `s_warehouse_goods` VALUES ('20', '2', '1', '1', '8', '1595068577', '1595068582'), ('22', '2', '8', '1', '2', '1595076197', '1605345194'), ('24', '2', '2', '1', '1997', '1595077992', '1598698244'), ('25', '2', '7', '1', '218', '1595863207', '1598698236'), ('26', '2', '12', '1', '25', '1596084332', '1606199005'), ('49', '2', '10', '1', '222', '1596635742', '1598698220'), ('50', '2', '9', '1', '88', '1596635833', '1602671920'), ('51', '4', '8', '1', '1', '1605345085', '1605345199'), ('52', '4', '9', '1', '999', '1605345089', '1605345103'), ('53', '2', '11', '1', '1998', '1605432741', '1605434325'), ('54', '2', '6', '1', '666', '1605432742', '1605432769'), ('55', '2', '5', '1', '555', '1605432742', '1605432763'), ('56', '2', '4', '1', '333', '1605432743', '1605432758'), ('57', '2', '3', '1', '333', '1605432744', '1605432752'); COMMIT; -- ---------------------------- @@ -2126,13 +2242,13 @@ CREATE TABLE `s_warehouse_goods_spec` ( KEY `goods_id` (`goods_id`), KEY `md5_key` (`md5_key`), KEY `inventory` (`inventory`) -) ENGINE=InnoDB AUTO_INCREMENT=723 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='仓库商品规格'; +) ENGINE=InnoDB AUTO_INCREMENT=729 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='仓库商品规格'; -- ---------------------------- -- Records of `s_warehouse_goods_spec` -- ---------------------------- BEGIN; -INSERT INTO `s_warehouse_goods_spec` VALUES ('189', '20', '2', '1', 'c21f969b5f03d33d43e04f8f136e7682', 'default', '8', '1595068582'), ('347', '49', '2', '10', 'c21f969b5f03d33d43e04f8f136e7682', 'default', '222', '1598698219'), ('357', '25', '2', '7', 'c21f969b5f03d33d43e04f8f136e7682', 'default', '218', '1598698236'), ('358', '24', '2', '2', '674eee93efe8de506e9f7f776d09f1e5', '[{\"type\":\"套餐\",\"value\":\"套餐一\"},{\"type\":\"颜色\",\"value\":\"金色\"},{\"type\":\"容量\",\"value\":\"32G\"}]', '221', '1598698244'), ('359', '24', '2', '2', '40c2afb68f3cc84cc305bce8ab8d5f47', '[{\"type\":\"套餐\",\"value\":\"套餐一\"},{\"type\":\"颜色\",\"value\":\"金色\"},{\"type\":\"容量\",\"value\":\"64G\"}]', '222', '1598698244'), ('360', '24', '2', '2', '7ffbb29c5dfb16f6c6b32034d22e3fef', '[{\"type\":\"套餐\",\"value\":\"套餐一\"},{\"type\":\"颜色\",\"value\":\"金色\"},{\"type\":\"容量\",\"value\":\"128G\"}]', '222', '1598698244'), ('361', '24', '2', '2', 'ca455d91ca7da72892f87745a04500bc', '[{\"type\":\"套餐\",\"value\":\"套餐一\"},{\"type\":\"颜色\",\"value\":\"银色\"},{\"type\":\"容量\",\"value\":\"32G\"}]', '222', '1598698244'), ('362', '24', '2', '2', '107e3e2e6320d811564c2704b034d8fa', '[{\"type\":\"套餐\",\"value\":\"套餐一\"},{\"type\":\"颜色\",\"value\":\"银色\"},{\"type\":\"容量\",\"value\":\"64G\"}]', '222', '1598698244'), ('363', '24', '2', '2', 'a7cf0be020f452a8b7d8777e6bbfa041', '[{\"type\":\"套餐\",\"value\":\"套餐一\"},{\"type\":\"颜色\",\"value\":\"银色\"},{\"type\":\"容量\",\"value\":\"128G\"}]', '222', '1598698244'), ('364', '24', '2', '2', '224734fbe895debc3c7999a2f157f05d', '[{\"type\":\"套餐\",\"value\":\"套餐二\"},{\"type\":\"颜色\",\"value\":\"金色\"},{\"type\":\"容量\",\"value\":\"32G\"}]', '222', '1598698244'), ('365', '24', '2', '2', '35c55bca127aa2f3c77fecfdd802c18f', '[{\"type\":\"套餐\",\"value\":\"套餐二\"},{\"type\":\"颜色\",\"value\":\"金色\"},{\"type\":\"容量\",\"value\":\"128G\"}]', '222', '1598698244'), ('366', '24', '2', '2', '3d09a0554e685e5de759819564ca592b', '[{\"type\":\"套餐\",\"value\":\"套餐二\"},{\"type\":\"颜色\",\"value\":\"银色\"},{\"type\":\"容量\",\"value\":\"64G\"}]', '222', '1598698244'), ('680', '26', '2', '12', '32d68312fb367dd8a78ab789c3dce9c5', '[{\"type\":\"颜色\",\"value\":\"粉色\"},{\"type\":\"尺,码\",\"value\":\"S+Sad,f\"}]', '1', '1602469864'), ('681', '26', '2', '12', 'f5c75bc99305a664f1d92d572ee78289', '[{\"type\":\"颜色\",\"value\":\"粉色\"},{\"type\":\"尺,码\",\"value\":\"M+M\"}]', '4', '1602469864'), ('682', '26', '2', '12', '24ac3b718ed8542628cfe5f1843f8ed9', '[{\"type\":\"颜色\",\"value\":\"粉色\"},{\"type\":\"尺,码\",\"value\":\"L+L\"}]', '5', '1602469864'), ('683', '26', '2', '12', 'eda0100ccdfa2942729825effc96f571', '[{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺,码\",\"value\":\"S+S\"}]', '5', '1602469864'), ('684', '26', '2', '12', 'ec0bf37ae952cd7c60f2cdbb5153086a', '[{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺,码\",\"value\":\"M+M\"}]', '5', '1602469864'), ('685', '26', '2', '12', 'ae7a23a3e2693f7aec7b919e16fd74d5', '[{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺,码\",\"value\":\"L+L\"}]', '5', '1602469864'), ('695', '50', '2', '9', 'd15560adc3d2ddf952ec40d874566fc0', '[{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺码\",\"value\":\"S\"}]', '51', '1602671920'), ('696', '50', '2', '9', '2767f06d6a715b3915ca3c5443efc170', '[{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺码\",\"value\":\"M\"}]', '5', '1602671920'), ('697', '50', '2', '9', 'd0d686188b3e2b0b7ae12040fd508f03', '[{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺码\",\"value\":\"L\"}]', '4', '1602671920'), ('698', '50', '2', '9', '910613b82f64796470c2243f8e306797', '[{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺码\",\"value\":\"XL\"}]', '5', '1602671920'), ('699', '50', '2', '9', '4acc2580a89270113477b4b8466ecef9', '[{\"type\":\"颜色\",\"value\":\"粉色\"},{\"type\":\"尺码\",\"value\":\"S\"}]', '5', '1602671920'), ('700', '50', '2', '9', 'b0935dae40102d2bcbd588fc50a6a118', '[{\"type\":\"颜色\",\"value\":\"粉色\"},{\"type\":\"尺码\",\"value\":\"M\"}]', '5', '1602671920'), ('701', '50', '2', '9', '5b51b52dde87b3608c97ff80a2215275', '[{\"type\":\"颜色\",\"value\":\"粉色\"},{\"type\":\"尺码\",\"value\":\"L\"}]', '4', '1602671920'), ('702', '50', '2', '9', '2f3924a3bf7c8491af2dad598b54764f', '[{\"type\":\"颜色\",\"value\":\"黑色\"},{\"type\":\"尺码\",\"value\":\"S\"}]', '5', '1602671920'), ('703', '50', '2', '9', '5f077e081d727adcb617a413f038d043', '[{\"type\":\"颜色\",\"value\":\"黑色\"},{\"type\":\"尺码\",\"value\":\"XL\"}]', '4', '1602671920'), ('704', '52', '4', '9', 'd15560adc3d2ddf952ec40d874566fc0', '[{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺码\",\"value\":\"S\"}]', '111', '1605345103'), ('705', '52', '4', '9', '2767f06d6a715b3915ca3c5443efc170', '[{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺码\",\"value\":\"M\"}]', '111', '1605345103'), ('706', '52', '4', '9', 'd0d686188b3e2b0b7ae12040fd508f03', '[{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺码\",\"value\":\"L\"}]', '111', '1605345103'), ('707', '52', '4', '9', '910613b82f64796470c2243f8e306797', '[{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺码\",\"value\":\"XL\"}]', '111', '1605345103'), ('708', '52', '4', '9', '4acc2580a89270113477b4b8466ecef9', '[{\"type\":\"颜色\",\"value\":\"粉色\"},{\"type\":\"尺码\",\"value\":\"S\"}]', '111', '1605345103'), ('709', '52', '4', '9', 'b0935dae40102d2bcbd588fc50a6a118', '[{\"type\":\"颜色\",\"value\":\"粉色\"},{\"type\":\"尺码\",\"value\":\"M\"}]', '111', '1605345103'), ('710', '52', '4', '9', '5b51b52dde87b3608c97ff80a2215275', '[{\"type\":\"颜色\",\"value\":\"粉色\"},{\"type\":\"尺码\",\"value\":\"L\"}]', '111', '1605345103'), ('711', '52', '4', '9', '2f3924a3bf7c8491af2dad598b54764f', '[{\"type\":\"颜色\",\"value\":\"黑色\"},{\"type\":\"尺码\",\"value\":\"S\"}]', '111', '1605345103'), ('712', '52', '4', '9', '5f077e081d727adcb617a413f038d043', '[{\"type\":\"颜色\",\"value\":\"黑色\"},{\"type\":\"尺码\",\"value\":\"XL\"}]', '111', '1605345103'), ('714', '22', '2', '8', 'c21f969b5f03d33d43e04f8f136e7682', 'default', '2', '1605345194'), ('715', '51', '4', '8', 'c21f969b5f03d33d43e04f8f136e7682', 'default', '1', '1605345199'), ('716', '57', '2', '3', 'c21f969b5f03d33d43e04f8f136e7682', 'default', '333', '1605432752'), ('717', '56', '2', '4', 'c21f969b5f03d33d43e04f8f136e7682', 'default', '333', '1605432758'), ('718', '55', '2', '5', 'c21f969b5f03d33d43e04f8f136e7682', 'default', '555', '1605432763'), ('719', '54', '2', '6', 'c21f969b5f03d33d43e04f8f136e7682', 'default', '666', '1605432769'), ('720', '53', '2', '11', '69691c7bdcc3ce6d5d8a1361f22d04ac', '[{\"type\":\"尺码\",\"value\":\"M\"}]', '666', '1605434325'), ('721', '53', '2', '11', 'd20caec3b48a1eef164cb4ca81ba2587', '[{\"type\":\"尺码\",\"value\":\"L\"}]', '666', '1605434325'), ('722', '53', '2', '11', 'a7a4ccc5e1a068d87f4965e014329201', '[{\"type\":\"尺码\",\"value\":\"XL\"}]', '666', '1605434325'); +INSERT INTO `s_warehouse_goods_spec` VALUES ('189', '20', '2', '1', 'c21f969b5f03d33d43e04f8f136e7682', 'default', '8', '1595068582'), ('347', '49', '2', '10', 'c21f969b5f03d33d43e04f8f136e7682', 'default', '222', '1598698219'), ('357', '25', '2', '7', 'c21f969b5f03d33d43e04f8f136e7682', 'default', '218', '1598698236'), ('358', '24', '2', '2', '674eee93efe8de506e9f7f776d09f1e5', '[{\"type\":\"套餐\",\"value\":\"套餐一\"},{\"type\":\"颜色\",\"value\":\"金色\"},{\"type\":\"容量\",\"value\":\"32G\"}]', '221', '1598698244'), ('359', '24', '2', '2', '40c2afb68f3cc84cc305bce8ab8d5f47', '[{\"type\":\"套餐\",\"value\":\"套餐一\"},{\"type\":\"颜色\",\"value\":\"金色\"},{\"type\":\"容量\",\"value\":\"64G\"}]', '222', '1598698244'), ('360', '24', '2', '2', '7ffbb29c5dfb16f6c6b32034d22e3fef', '[{\"type\":\"套餐\",\"value\":\"套餐一\"},{\"type\":\"颜色\",\"value\":\"金色\"},{\"type\":\"容量\",\"value\":\"128G\"}]', '222', '1598698244'), ('361', '24', '2', '2', 'ca455d91ca7da72892f87745a04500bc', '[{\"type\":\"套餐\",\"value\":\"套餐一\"},{\"type\":\"颜色\",\"value\":\"银色\"},{\"type\":\"容量\",\"value\":\"32G\"}]', '222', '1598698244'), ('362', '24', '2', '2', '107e3e2e6320d811564c2704b034d8fa', '[{\"type\":\"套餐\",\"value\":\"套餐一\"},{\"type\":\"颜色\",\"value\":\"银色\"},{\"type\":\"容量\",\"value\":\"64G\"}]', '222', '1598698244'), ('363', '24', '2', '2', 'a7cf0be020f452a8b7d8777e6bbfa041', '[{\"type\":\"套餐\",\"value\":\"套餐一\"},{\"type\":\"颜色\",\"value\":\"银色\"},{\"type\":\"容量\",\"value\":\"128G\"}]', '222', '1598698244'), ('364', '24', '2', '2', '224734fbe895debc3c7999a2f157f05d', '[{\"type\":\"套餐\",\"value\":\"套餐二\"},{\"type\":\"颜色\",\"value\":\"金色\"},{\"type\":\"容量\",\"value\":\"32G\"}]', '222', '1598698244'), ('365', '24', '2', '2', '35c55bca127aa2f3c77fecfdd802c18f', '[{\"type\":\"套餐\",\"value\":\"套餐二\"},{\"type\":\"颜色\",\"value\":\"金色\"},{\"type\":\"容量\",\"value\":\"128G\"}]', '222', '1598698244'), ('366', '24', '2', '2', '3d09a0554e685e5de759819564ca592b', '[{\"type\":\"套餐\",\"value\":\"套餐二\"},{\"type\":\"颜色\",\"value\":\"银色\"},{\"type\":\"容量\",\"value\":\"64G\"}]', '222', '1598698244'), ('695', '50', '2', '9', 'd15560adc3d2ddf952ec40d874566fc0', '[{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺码\",\"value\":\"S\"}]', '51', '1602671920'), ('696', '50', '2', '9', '2767f06d6a715b3915ca3c5443efc170', '[{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺码\",\"value\":\"M\"}]', '5', '1602671920'), ('697', '50', '2', '9', 'd0d686188b3e2b0b7ae12040fd508f03', '[{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺码\",\"value\":\"L\"}]', '4', '1602671920'), ('698', '50', '2', '9', '910613b82f64796470c2243f8e306797', '[{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺码\",\"value\":\"XL\"}]', '5', '1602671920'), ('699', '50', '2', '9', '4acc2580a89270113477b4b8466ecef9', '[{\"type\":\"颜色\",\"value\":\"粉色\"},{\"type\":\"尺码\",\"value\":\"S\"}]', '5', '1602671920'), ('700', '50', '2', '9', 'b0935dae40102d2bcbd588fc50a6a118', '[{\"type\":\"颜色\",\"value\":\"粉色\"},{\"type\":\"尺码\",\"value\":\"M\"}]', '5', '1602671920'), ('701', '50', '2', '9', '5b51b52dde87b3608c97ff80a2215275', '[{\"type\":\"颜色\",\"value\":\"粉色\"},{\"type\":\"尺码\",\"value\":\"L\"}]', '4', '1602671920'), ('702', '50', '2', '9', '2f3924a3bf7c8491af2dad598b54764f', '[{\"type\":\"颜色\",\"value\":\"黑色\"},{\"type\":\"尺码\",\"value\":\"S\"}]', '5', '1602671920'), ('703', '50', '2', '9', '5f077e081d727adcb617a413f038d043', '[{\"type\":\"颜色\",\"value\":\"黑色\"},{\"type\":\"尺码\",\"value\":\"XL\"}]', '4', '1602671920'), ('704', '52', '4', '9', 'd15560adc3d2ddf952ec40d874566fc0', '[{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺码\",\"value\":\"S\"}]', '111', '1605345103'), ('705', '52', '4', '9', '2767f06d6a715b3915ca3c5443efc170', '[{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺码\",\"value\":\"M\"}]', '111', '1605345103'), ('706', '52', '4', '9', 'd0d686188b3e2b0b7ae12040fd508f03', '[{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺码\",\"value\":\"L\"}]', '111', '1605345103'), ('707', '52', '4', '9', '910613b82f64796470c2243f8e306797', '[{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺码\",\"value\":\"XL\"}]', '111', '1605345103'), ('708', '52', '4', '9', '4acc2580a89270113477b4b8466ecef9', '[{\"type\":\"颜色\",\"value\":\"粉色\"},{\"type\":\"尺码\",\"value\":\"S\"}]', '111', '1605345103'), ('709', '52', '4', '9', 'b0935dae40102d2bcbd588fc50a6a118', '[{\"type\":\"颜色\",\"value\":\"粉色\"},{\"type\":\"尺码\",\"value\":\"M\"}]', '111', '1605345103'), ('710', '52', '4', '9', '5b51b52dde87b3608c97ff80a2215275', '[{\"type\":\"颜色\",\"value\":\"粉色\"},{\"type\":\"尺码\",\"value\":\"L\"}]', '111', '1605345103'), ('711', '52', '4', '9', '2f3924a3bf7c8491af2dad598b54764f', '[{\"type\":\"颜色\",\"value\":\"黑色\"},{\"type\":\"尺码\",\"value\":\"S\"}]', '111', '1605345103'), ('712', '52', '4', '9', '5f077e081d727adcb617a413f038d043', '[{\"type\":\"颜色\",\"value\":\"黑色\"},{\"type\":\"尺码\",\"value\":\"XL\"}]', '111', '1605345103'), ('714', '22', '2', '8', 'c21f969b5f03d33d43e04f8f136e7682', 'default', '2', '1605345194'), ('715', '51', '4', '8', 'c21f969b5f03d33d43e04f8f136e7682', 'default', '1', '1605345199'), ('716', '57', '2', '3', 'c21f969b5f03d33d43e04f8f136e7682', 'default', '333', '1605432752'), ('717', '56', '2', '4', 'c21f969b5f03d33d43e04f8f136e7682', 'default', '333', '1605432758'), ('718', '55', '2', '5', 'c21f969b5f03d33d43e04f8f136e7682', 'default', '555', '1605432763'), ('719', '54', '2', '6', 'c21f969b5f03d33d43e04f8f136e7682', 'default', '666', '1605432769'), ('720', '53', '2', '11', '69691c7bdcc3ce6d5d8a1361f22d04ac', '[{\"type\":\"尺码\",\"value\":\"M\"}]', '666', '1605434325'), ('721', '53', '2', '11', 'd20caec3b48a1eef164cb4ca81ba2587', '[{\"type\":\"尺码\",\"value\":\"L\"}]', '666', '1605434325'), ('722', '53', '2', '11', 'a7a4ccc5e1a068d87f4965e014329201', '[{\"type\":\"尺码\",\"value\":\"XL\"}]', '666', '1605434325'), ('723', '26', '2', '12', '32d68312fb367dd8a78ab789c3dce9c5', '[{\"type\":\"颜色\",\"value\":\"粉色\"},{\"type\":\"尺,码\",\"value\":\"S+Sad,f\"}]', '1', '1606199005'), ('724', '26', '2', '12', 'f5c75bc99305a664f1d92d572ee78289', '[{\"type\":\"颜色\",\"value\":\"粉色\"},{\"type\":\"尺,码\",\"value\":\"M+M\"}]', '4', '1606199005'), ('725', '26', '2', '12', '24ac3b718ed8542628cfe5f1843f8ed9', '[{\"type\":\"颜色\",\"value\":\"粉色\"},{\"type\":\"尺,码\",\"value\":\"L+L\"}]', '5', '1606199005'), ('726', '26', '2', '12', 'eda0100ccdfa2942729825effc96f571', '[{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺,码\",\"value\":\"S+S\"}]', '5', '1606199005'), ('727', '26', '2', '12', 'ec0bf37ae952cd7c60f2cdbb5153086a', '[{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺,码\",\"value\":\"M+M\"}]', '5', '1606199005'), ('728', '26', '2', '12', 'ae7a23a3e2693f7aec7b919e16fd74d5', '[{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺,码\",\"value\":\"L+L\"}]', '5', '1606199005'); COMMIT; SET FOREIGN_KEY_CHECKS = 1; diff --git a/public/static/admin/default/css/site.css b/public/static/admin/default/css/site.css index 36a62009c..d0d4d02ce 100755 --- a/public/static/admin/default/css/site.css +++ b/public/static/admin/default/css/site.css @@ -1,5 +1,5 @@ /** - * logo + * 登录 */ ul.home_site_logo-images-view li, ul.home_site_logo_wap-images-view li { @@ -46,4 +46,76 @@ ul.home_site_user_register_bg_images-images-view li { .address-list .delete-submit { right: 70px; } -} \ No newline at end of file +} + +/** + * 收到模式下商品列表容器 + */ +.manual-mode-goods-container li { + position: relative; +} +.manual-mode-goods-container li button.am-close { + position: absolute; + top: 0; + right: 0; + padding: 8px 25px 8px 15px; +} + +/** + * 商品添加-搜索列表 + */ +.goods-add-container { + height: 100%; +} +.forth-selection-container select.forth-selection-form-category { + display: -webkit-inline-box; +} +.forth-selection-container .forth-selection-form-category, .forth-selection-container .chosen-container, .forth-selection-container .forth-selection-form-keywords { + width: calc(50% - 48px) !important; +} +.forth-selection-container .chosen-container, .forth-selection-container .forth-selection-form-keywords { + display: -webkit-inline-box !important; +} +.forth-selection-container .chosen-single { + width: 100%; +} +.forth-selection-container .search-submit { + width: 87px; +} +.goods-list-container { + height: calc(100% - 92px); + border: 1px solid #eee; +} +.goods-list-container .am-gallery-bordered .am-gallery-title { + margin-top: 5px; +} +.goods-list-container ul li { + position: relative; + cursor: pointer; +} +.goods-list-container ul li:hover .am-gallery-item { + -webkit-box-shadow: 0 0 6px #3cb4f1; + box-shadow: 0 0 6px #3cb4f1; +} +.goods-list-container .icon-submit-container { + position: absolute; + right: 15px; + bottom: 47px; +} +.goods-list-container .icon-submit-container .am-icon-btn { + width: 36px; + height: 36px; + line-height: 36px; + font-size: 20px; + -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.5); + box-shadow: 0 0 3px rgba(0, 0, 0, 0.5); +} +.goods-list-container .am-icon-btn.am-success:hover { + background: #4CAF50; +} +.goods-list-container .am-icon-btn.am-danger:hover { + background: #F44336; +} +.goods-page-container { + height: 40px; +} diff --git a/public/static/admin/default/js/site.js b/public/static/admin/default/js/site.js index cb2c8fdde..186fb8b01 100644 --- a/public/static/admin/default/js/site.js +++ b/public/static/admin/default/js/site.js @@ -51,22 +51,22 @@ function AddressModalHandle(data) var value = SelfExtractionAddressValue(); // 弹层 - var $popup = $('#popup-address-win'); + var $popup_address = $('#popup-address-win'); // 操作类型(add, edit) - var form_type = $popup.attr('data-type') || 'add'; + var form_type = $popup_address.attr('data-type') || 'add'; if(form_type == 'add') { $('ul.address-list').append(html); data['id'] = value.length; value.push(data); } else { - var form_index = $popup.attr('data-index') || 0; + var form_index = $popup_address.attr('data-index') || 0; data['id'] = form_index; value.splice(form_index, 1, data); $('ul.address-list').find('li').eq(form_index).replaceWith(html); } - $popup.modal('close'); + $popup_address.modal('close'); $('.self-extraction-address-value').val(JSON.stringify(value)); }); } @@ -88,13 +88,13 @@ function SelfExtractionAddressValue() $(function() { // 弹层 - var $popup = $('#popup-address-win'); + var $popup_address = $('#popup-address-win'); // 地址添加开启 $('.address-submit-add').on('click', function() { - $popup.modal(); - $popup.attr('data-type', 'add'); + $popup_address.modal(); + $popup_address.attr('data-type', 'add'); // 清空数据 FormDataFill({"alias":"", "name":"", "tel":"", "address":"", "province":0, "city":0, "county":0, "lng":"", "lat":""}, 'form.form-validation-address'); @@ -152,11 +152,132 @@ $(function() RegionNodeData(item['city'], 'county', 'county', item['county']); // 基础数据 - $popup.modal(); - $popup.attr('data-type', 'edit'); - $popup.attr('data-index', index); + $popup_address.modal(); + $popup_address.attr('data-type', 'edit'); + $popup_address.attr('data-index', index); // 地图初始化 MapInit(item.lng, item.lat); }); + + + // 商品列表拖拽 + $('ul.manual-mode-goods-container').dragsort({ dragSelector: 'li', placeHolderTemplate: '
  • '}); + + // 商品搜索popup容器 + var $popup_siteset_goods = $('#siteset-goods-popup'); + + // 分页 + $('.goods-page-container').html(PageLibrary()); + + // 开启商品弹窗 + $('.goods-popup-add').on('click', function() + { + // 操作标记 + $popup_siteset_goods.attr('data-tag', $(this).data('tag') || ''); + $popup_siteset_goods.attr('data-form-name', $(this).data('form-name') || ''); + + // 初始化搜索数据 + $('.goods-list-container ul.am-gallery').html('
    请搜索商品
    '); + $('.goods-page-container').html(PageLibrary()); + $popup_siteset_goods.modal(); + }); + + // 搜索商品 + $(document).on('click', '.forth-selection-container .search-submit, .pagelibrary li a', function() + { + // 分页处理 + var is_active = $(this).data('is-active') || 0; + if(is_active == 1) + { + return false; + } + var page = $(this).data('page') || 1; + + // 请求参数 + var url = $('.forth-selection-container').data('search-url'); + var category_id = $('.forth-selection-form-category').val(); + var keywords = $('.forth-selection-form-keywords').val(); + var goods_ids = []; + $($popup_siteset_goods.attr('data-tag')).find('input[type="hidden"]').each(function(k, v) + { + goods_ids.push($(this).val()); + }); + + var $this = $(this); + $this.button('loading'); + $('.goods-list-container ul.am-gallery').html('
    '+($('.goods-list-container').data('loading-msg'))+'
    '); + $.ajax({ + url: url, + type: 'post', + data: {"page":page, "category_id":category_id, "keywords":keywords, "goods_ids":goods_ids}, + dataType: 'json', + success:function(res) + { + $this.button('reset'); + if(res.code == 0) + { + $('.goods-list-container').attr('data-is-init', 0); + $('.goods-list-container ul.am-gallery').html(res.data.data); + $('.goods-page-container').html(PageLibrary(res.data.total, res.data.page_size, res.data.page, 4)); + } else { + Prompt(res.msg); + $('.goods-list-container ul.am-gallery').html('
    '+res.msg+'
    '); + } + }, + error:function(res) + { + $this.button('reset'); + Prompt('请求失败'); + $('.goods-list-container ul.am-gallery').html('
    请求失败
    '); + } + }); + }); + + // 删除列表 + $(document).on('click', '.manual-mode-goods-container li button.am-close', function() + { + $(this).parent('li').remove(); + }); + + // 商品添加/删除 + $(document).on('click', '.goods-list-container .goods-add-submit, .goods-list-container .goods-del-submit', function() + { + // 基础参数 + var $this = $(this); + var type = $this.data('type'); + var icon_html = $this.parents('li').data((type == 'add' ? 'del' : 'add')+'-html'); + var goods_id = $this.parents('li').data('gid'); + var goods_title = $this.parents('li').data('title'); + var goods_url = $this.parents('li').data('url'); + var goods_img = $this.parents('li').data('img'); + var tag = $popup_siteset_goods.attr('data-tag') || ''; + var form_name = $popup_siteset_goods.attr('data-form-name') || ''; + + // 商品是否已经添加 + if($(tag).find('.manual-mode-goods-item-'+goods_id).length > 0) + { + $(tag).find('.manual-mode-goods-item-'+goods_id).remove(); + } else { + $(tag).append('
  • '+goods_title+''+goods_title+'
  • '); + } + $this.parent().html(icon_html); + }); + + // 弹窗全屏 + $('#siteset-goods-popup').on('click', '.am-popup-hd .am-full', function() + { + var width = $(window).width(); + var height = $(window).height(); + if(width >= 630 && height >= 630) + { + var $parent = $(this).parents('.am-popup'); + if($parent.hasClass('popup-full')) + { + $parent.find('.am-gallery').addClass('am-avg-lg-5').removeClass('am-avg-lg-8'); + } else { + $parent.find('.am-gallery').addClass('am-avg-lg-8').removeClass('am-avg-lg-5'); + } + } + }); }); \ No newline at end of file diff --git a/public/static/common/css/common.css b/public/static/common/css/common.css index 432d598f4..a473aed21 100755 --- a/public/static/common/css/common.css +++ b/public/static/common/css/common.css @@ -122,7 +122,7 @@ form.am-form .am-form-group-refreshing, .plug-file-upload-view { border-bottom: .am-popup-hd .am-full { position: absolute; right: 40px; - top: 11px; + top: 9px; cursor: pointer; } .am-popup-hd .am-full:hover {