From e3df7fff7870ede494d98536418b65559a595df6 Mon Sep 17 00:00:00 2001 From: devil_gong Date: Thu, 11 Apr 2019 18:27:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A0=E7=89=A9=E7=AE=A1=E7=90=86=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E5=BA=94=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/index/controller/Common.php | 12 +- .../view/default/personal/save_info.html | 2 +- .../index/view/default/public/footer.html | 18 +++ .../index/view/default/public/user_menu.html | 8 +- application/plugins/petscms/Hook.php | 93 ++++-------- application/plugins/petscms/Pets.php | 50 +++++- application/plugins/petscms/Service.php | 125 +++++++++++++++ application/plugins/petscms/config.json | 4 +- application/plugins/petscms/install.sql | 21 +++ .../plugins/view/petscms/pets/index.html | 141 ++++++++++++++++- .../plugins/view/petscms/pets/saveinfo.html | 137 +++++++++++++++++ application/service/NavigationService.php | 62 ++++---- application/service/OrderService.php | 40 ++++- application/tags.php | 4 + config/shopxo.sql | 142 ++++++++++++++---- .../common/lib/ueditor/ueditor.config.js | 4 +- public/static/plugins/css/petscms/pets.css | 38 +++++ 17 files changed, 770 insertions(+), 131 deletions(-) create mode 100644 application/plugins/view/petscms/pets/saveinfo.html create mode 100644 public/static/plugins/css/petscms/pets.css diff --git a/application/index/controller/Common.php b/application/index/controller/Common.php index eefac9fa5..ef47824dc 100755 --- a/application/index/controller/Common.php +++ b/application/index/controller/Common.php @@ -198,6 +198,10 @@ class Common extends Controller */ public function ViewInit() { + // 参数 + $params = input(); + $this->assign('params', $params); + // 商店信息 $this->assign('common_customer_store_tel', MyC('common_customer_store_tel')); $this->assign('common_customer_store_email', MyC('common_customer_store_email')); @@ -208,10 +212,10 @@ class Common extends Controller $default_theme = strtolower(MyC('common_default_theme', 'default', true)); $this->assign('default_theme', $default_theme); - // 当前操作名称 - $module_name = strtolower(request()->module()); - $controller_name = strtolower(request()->controller()); - $action_name = strtolower(request()->action()); + // 当前操作名称, 兼容插件模块名称 + $module_name = empty($params['pluginsname']) ? strtolower(request()->module()) : $params['pluginsname']; + $controller_name = empty($params['pluginscontrol']) ? strtolower(request()->controller()) : $params['pluginscontrol']; + $action_name = empty($params['pluginsaction']) ? strtolower(request()->action()) : $params['pluginsaction']; // 当前操作名称 $this->assign('module_name', $module_name); diff --git a/application/index/view/default/personal/save_info.html b/application/index/view/default/personal/save_info.html index 03400de6f..a4167f83d 100755 --- a/application/index/view/default/personal/save_info.html +++ b/application/index/view/default/personal/save_info.html @@ -35,7 +35,7 @@ {{include file="lib/gender" /}}
- +
diff --git a/application/index/view/default/public/footer.html b/application/index/view/default/public/footer.html index 002dd34d7..67e597d19 100755 --- a/application/index/view/default/public/footer.html +++ b/application/index/view/default/public/footer.html @@ -1,3 +1,6 @@ + + + {{if !isset($is_footer) or $is_footer eq 1}} {{include file="public/footer_nav" /}} @@ -50,6 +53,21 @@ + + + diff --git a/application/index/view/default/public/user_menu.html b/application/index/view/default/public/user_menu.html index 18d9a0031..a7df6f021 100755 --- a/application/index/view/default/public/user_menu.html +++ b/application/index/view/default/public/user_menu.html @@ -6,8 +6,8 @@ {{foreach $user_left_menu as $k=>$v}} {{if $v.is_show eq 1}} {{if empty($v['item'])}} -
  • - {{if !empty($v['icon'])}}{{/if}} {{$v.name}} +
  • + {{if !empty($v['icon'])}}{{/if}} {{$v.name}}
  • {{else /}}
  • @@ -15,8 +15,8 @@
      {{foreach $v.item as $vs}} {{if $vs.is_show eq 1}} -
    • - {{if !empty($vs['icon'])}}{{/if}} {{$vs.name}} +
    • + {{if !empty($vs['icon'])}}{{/if}} {{$vs.name}}
    • {{/if}} {{/foreach}} diff --git a/application/plugins/petscms/Hook.php b/application/plugins/petscms/Hook.php index 31d3d73d0..e24c881e9 100755 --- a/application/plugins/petscms/Hook.php +++ b/application/plugins/petscms/Hook.php @@ -32,75 +32,48 @@ class Hook extends Controller */ public function run($params = []) { - // 是否后端钩子 - if(isset($params['is_backend']) && $params['is_backend'] === true && !empty($params['hook_name'])) + if(!empty($params['hook_name'])) { - return DataReturn('无需处理', 0); + switch($params['hook_name']) + { + // 用户中心左侧导航 + case 'plugins_service_users_center_left_menu_handle' : + $ret = $this->UserCenterLeftMenuHandle($params); + break; - // 默认返回视图 - } else { - return $this->html($params); + default : + $ret = ''; + } + return $ret; } } /** - * 视图 + * 用户中心左侧菜单处理 * @author Devil - * @blog http://gong.gg/ - * @version 1.0.0 - * @datetime 2019-02-06T16:16:34+0800 - * @param [array] $params [输入参数] + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2019-04-11 + * @desc description + * @param array $params [description] */ - public function html($params = []) + public function UserCenterLeftMenuHandle($params = []) { - // 当前模块/控制器/方法 - $module_name = strtolower(request()->module()); - $controller_name = strtolower(request()->controller()); - $action_name = strtolower(request()->action()); - - // 获取应用数据 - $ret = PluginsService::PluginsData('petscms'); - if($ret['code'] == 0) - { - // 内容是否为空 - if(empty($ret['data']['content'])) - { - return ''; - } - - // 有效时间 - if(!empty($ret['data']['time_start'])) - { - // 是否已开始 - if(strtotime($ret['data']['time_start']) > time()) - { - return ''; - } - } - if(!empty($ret['data']['time_end'])) - { - // 是否已结束 - if(strtotime($ret['data']['time_end']) < time()) - { - return ''; - } - } - - // 非全局 - if($ret['data']['is_overall'] != 1) - { - // 非首页则空 - if($module_name.$controller_name.$action_name != 'indexindexindex') - { - return ''; - } - } - - $this->assign('data', $ret['data']); - return $this->fetch('../../../plugins/view/petscms/index/content'); - } else { - return $ret['msg']; - } + $menu = [[ + 'name' => '宠物管理', + 'is_show' => 1, + 'icon' => 'am-icon-drupal', + 'item' => [ + [ + 'name' => '我的宠物', + 'url' => PluginsHomeUrl('petscms', 'pets', 'index'), + 'contains' => ['petsindex', 'petssaveinfo'], + 'is_show' => 1, + 'icon' => 'am-icon-github-alt', + ], + ] + ]]; + array_splice($params['data'], 2, 0, $menu); } } ?> \ No newline at end of file diff --git a/application/plugins/petscms/Pets.php b/application/plugins/petscms/Pets.php index b2b1e11c9..7693e37db 100644 --- a/application/plugins/petscms/Pets.php +++ b/application/plugins/petscms/Pets.php @@ -24,7 +24,20 @@ use app\service\PluginsService; class Pets extends Controller { /** - * 订单查询入口 + * 构造方法 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2019-03-15 + * @desc description + */ + public function __construct() + { + parent::__construct(); + } + + /** + * 我的宠物 * @author Devil * @blog http://gong.gg/ * @version 1.0.0 @@ -33,7 +46,42 @@ class Pets extends Controller */ public function index($params = []) { + $this->assign('pets_attribute_is_text_list', Service::$pets_attribute_is_text_list); + $this->assign('pets_attribute_gender_list', Service::$pets_attribute_gender_list); + $this->assign('pets_attribute_type_list', Service::$pets_attribute_type_list); return $this->fetch('../../../plugins/view/petscms/pets/index'); } + + /** + * 宠物添加/编辑页面 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @datetime 2019-03-15T23:51:50+0800 + * @param [array] $params [输入参数] + */ + public function saveinfo($params = []) + { + $this->assign('data', []); + $this->assign('pets_attribute_is_text_list', Service::$pets_attribute_is_text_list); + $this->assign('pets_attribute_gender_list', Service::$pets_attribute_gender_list); + $this->assign('pets_attribute_type_list', Service::$pets_attribute_type_list); + return $this->fetch('../../../plugins/view/petscms/pets/saveinfo'); + } + + /** + * 宠物添加/编辑 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @datetime 2019-03-15T23:51:50+0800 + * @param [array] $params [输入参数] + */ + public function save($params = []) + { + $ret = Service::PestSave($params); + print_r($ret); + die; + } } ?> \ No newline at end of file diff --git a/application/plugins/petscms/Service.php b/application/plugins/petscms/Service.php index cc0f94090..0efe36c63 100644 --- a/application/plugins/petscms/Service.php +++ b/application/plugins/petscms/Service.php @@ -22,6 +22,131 @@ use app\service\ResourcesService; */ class Service { + // 类型 + public static $pets_attribute_type_list = [ + 'cat' => ['value' => 'cat', 'name' => '猫咪'], + 'dog' => ['value' => 'dog', 'name' => '狗狗'], + 'other' => ['value' => 'other', 'name' => '其它'], + ]; + // 是否 + public static $pets_attribute_is_text_list = [ + 0 => ['value' => 0, 'name' => '否', 'checked' => true], + 1 => ['value' => 1, 'name' => '是'], + ]; + + // 性别 + public static $pets_attribute_gender_list = [ + 0 => ['value' => 0, 'name' => '公'], + 1 => ['value' => 1, 'name' => '母'], + ]; + + /** + * 宠物保存 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2019-04-11 + * @desc description + * @param [array] $params [输入参数] + */ + public static function PestSave($params = []) + { + // 请求参数 + $p = [ + [ + 'checked_type' => 'length', + 'key_name' => 'title', + 'checked_data' => '1,60', + 'is_checked' => 2, + 'error_msg' => '标题格式 1~60 个字符之间', + ], + [ + 'checked_type' => 'length', + 'key_name' => 'name', + 'checked_data' => '1,30', + 'is_checked' => 2, + 'error_msg' => '宠物名字格式 1~30 个字符之间', + ], + [ + 'checked_type' => 'empty', + 'key_name' => 'birthday', + 'is_checked' => 2, + 'error_msg' => '请填写出生日期', + ], + [ + 'checked_type' => 'in', + 'key_name' => 'type', + 'checked_data' => array_column($pets_attribute_type_list, 'value'), + 'is_checked' => 2, + 'error_msg' => '宠物类型有误', + ], + [ + 'checked_type' => 'length', + 'key_name' => 'varieties', + 'checked_data' => '30', + 'is_checked' => 2, + 'error_msg' => '品种格式最多 30 个字符', + ], + [ + 'checked_type' => 'in', + 'key_name' => 'gender', + 'checked_data' => array_column($pets_attribute_gender_list, 'value'), + 'is_checked' => 2, + 'error_msg' => '宠物性别有误', + ], + [ + 'checked_type' => 'in', + 'key_name' => 'sterilization', + 'checked_data' => array_column($pets_attribute_gender_list, 'value'), + 'is_checked' => 2, + 'error_msg' => '宠物是否绝育有误', + ], + [ + 'checked_type' => 'empty', + 'key_name' => 'photo', + 'is_checked' => 2, + 'error_msg' => '请上传宠物相册', + ], + [ + 'checked_type' => 'length', + 'key_name' => 'content', + 'checked_data' => '105000', + 'is_checked' => 2, + 'error_msg' => '宠物简介内容最多 105000 个字符', + ], + [ + 'checked_type' => 'length', + 'key_name' => 'person_name', + 'checked_data' => '1,30', + 'is_checked' => 2, + 'error_msg' => '主人姓名格式 1~30 个字符之间', + ], + [ + 'checked_type' => 'length', + 'key_name' => 'person_tel', + 'checked_data' => '1,30', + 'is_checked' => 2, + 'error_msg' => '主人电话格式 1~30 个字符之间', + ], + [ + 'checked_type' => 'length', + 'key_name' => 'person_weixin', + 'checked_data' => '1,30', + 'is_checked' => 2, + 'error_msg' => '主人微信格式 1~30 个字符之间', + ], + ]; + $ret = ParamsChecked($params, $p); + if($ret !== true) + { + return DataReturn($ret, -1); + } + + // 宠物数据 + $data = [ + + ]; + } } ?> \ No newline at end of file diff --git a/application/plugins/petscms/config.json b/application/plugins/petscms/config.json index c25a59d8a..997ad9ce1 100755 --- a/application/plugins/petscms/config.json +++ b/application/plugins/petscms/config.json @@ -17,6 +17,8 @@ "is_home":false }, "hook":{ - + "plugins_service_users_center_left_menu_handle":[ + "app\\plugins\\petscms\\Hook" + ] } } \ No newline at end of file diff --git a/application/plugins/petscms/install.sql b/application/plugins/petscms/install.sql index e69de29bb..6b20738fa 100644 --- a/application/plugins/petscms/install.sql +++ b/application/plugins/petscms/install.sql @@ -0,0 +1,21 @@ +CREATE TABLE `s_plugins_petscms_pets` ( + `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增id', + `title` char(60) NOT NULL DEFAULT '' COMMENT '标题', + `name` char(30) NOT NULL DEFAULT '' COMMENT '名字', + `birthday` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '出生日期', + `type` char(60) NOT NULL DEFAULT '' COMMENT '类型', + `varieties` char(60) NOT NULL DEFAULT '' COMMENT '品种', + `gender` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '性别(0公, 1母)', + `sterilization` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '是否绝育(0否, 1是)', + `vaccine` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '是否疫苗(0否, 1是)', + `photo` mediumtext NOT NULL COMMENT '相册(json数据)', + `content` mediumtext NOT NULL COMMENT '宠物简介', + `person_name` char(30) NOT NULL DEFAULT '' COMMENT '主人姓名', + `person_tel` char(30) NOT NULL DEFAULT '' COMMENT '主人电话', + `person_weixin` char(30) 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 `type` (`type`), + KEY `gender` (`gender`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='宠物管理系统宠物 - 应用'; \ No newline at end of file diff --git a/application/plugins/view/petscms/pets/index.html b/application/plugins/view/petscms/pets/index.html index 7cd57f359..38d32eea8 100644 --- a/application/plugins/view/petscms/pets/index.html +++ b/application/plugins/view/petscms/pets/index.html @@ -1 +1,140 @@ -user - pets \ No newline at end of file +{{include file="public/header" /}} + + +{{include file="public/header_top_nav" /}} + + +{{include file="public/nav_search" /}} + + +{{include file="public/header_nav" /}} + + +{{include file="public/goods_category" /}} + + +
      + + + {{include file="public/user_menu" /}} + + + +
      +
      +
      +
      +
      + + + + +
      + +
      + + + + + + + + + + + +
      + 类型: + + + 性别: + +
      + 绝育: + + + + 清除条件 +
      +
      + + +
      + 新增 +
      + + + +
      + + + + + + + + + + + + + {{if !empty($data_list)}} + {{foreach $data_list as $v}} + + + + + + + + + {{/foreach}} + {{/if}} + {{if empty($data_list)}} + + + + {{/if}} + +
      标题类型业务详情状态时间
      {{$v.title}}{{$v.type_name}}{{$v.business_type_name}}{{$v.detail}}{{$v.is_read_name}}{{$v.add_time_time}}
      +
      没有相关数据
      +
      +
      + + + {{if !empty($data_list)}} + {{$page_html|raw}} + {{/if}} +
      +
      + +
      + + +{{include file="public/footer" /}} + \ No newline at end of file diff --git a/application/plugins/view/petscms/pets/saveinfo.html b/application/plugins/view/petscms/pets/saveinfo.html new file mode 100644 index 000000000..cbee08c5c --- /dev/null +++ b/application/plugins/view/petscms/pets/saveinfo.html @@ -0,0 +1,137 @@ +{{include file="public/header" /}} + + +{{include file="public/header_top_nav" /}} + + +{{include file="public/nav_search" /}} + + +{{include file="public/header_nav" /}} + + +{{include file="public/goods_category" /}} + + +
      + + + {{include file="public/user_menu" /}} + + + +
      +
      +
      +
      + + +
      + +
      + + +
      + +
      + + +
      + +
      + + +
      + +
      + + +
      + +
      + + +
      + +
      + + +
      + +
      + + +
      + + +
      + +
        + {{if !empty($data['photo'])}} + {{foreach $data.photo as $v}} +
      • + + + × +
      • + {{/foreach}} + {{/if}} +
      +
      +上传相册
      +
      + + +
      + + +
      + + +
      +
      + + +
      +
      + + +
      +
      + + +
      +
      + + +
      + +
      +
      +
      +
      + +
      + + +{{include file="public/footer" /}} + \ No newline at end of file diff --git a/application/service/NavigationService.php b/application/service/NavigationService.php index 892a9e078..c51f5d855 100755 --- a/application/service/NavigationService.php +++ b/application/service/NavigationService.php @@ -682,12 +682,20 @@ class NavigationService */ public static function UsersCenterLeftList($params = []) { + // name 名称 + // url 页面地址 + // is_show 是否显示(0否, 1是) + // contains 包含的子页面(包括自身) + // icon icon类 + // item 二级数据 + + // 菜单列表 $data = [ [ - 'control' => 'user', - 'action' => 'index', 'name' => '个人中心', + 'url' => MyUrl('index/user/index'), 'is_show' => 1, + 'contains' => ['userindex'], 'icon' => 'am-icon-home', ], [ @@ -696,16 +704,16 @@ class NavigationService 'icon' => 'am-icon-cube', 'item' => [ [ - 'control' => 'order', - 'action' => 'index', 'name' => '订单管理', + 'url' => MyUrl('index/order/index'), 'is_show' => 1, + 'contains' => ['orderindex', 'orderdetail', 'ordercomments'], 'icon' => 'am-icon-th-list', ], [ - 'control' => 'userfavor', - 'action' => 'goods', 'name' => '我的收藏', + 'url' => MyUrl('index/userfavor/goods'), + 'contains' => ['userfavorgoods'], 'is_show' => 1, 'icon' => 'am-icon-heart-o', ], @@ -717,63 +725,63 @@ class NavigationService 'icon' => 'am-icon-user', 'item' => [ [ - 'control' => 'personal', - 'action' => 'index', 'name' => '个人资料', + 'url' => MyUrl('index/personal/index'), + 'contains' => ['personalindex', 'personalsaveinfo'], 'is_show' => 1, 'icon' => 'am-icon-gear', ], [ - 'control' => 'useraddress', - 'action' => 'index', 'name' => '我的地址', + 'url' => MyUrl('index/useraddress/index'), + 'contains' => ['useraddressindex', 'useraddresssaveinfo'], 'is_show' => 1, 'icon' => 'am-icon-street-view', ], [ - 'control' => 'safety', - 'action' => 'index', 'name' => '安全设置', + 'url' => MyUrl('index/safety/index'), + 'contains' => ['safetyindex', 'safetyloginpwdinfo', 'safetymobileinfo', 'safetynewmobileinfo', 'safetyemailinfo', 'safetynewemailinfo'], 'is_show' => 1, 'icon' => 'am-icon-user-secret', ], [ - 'control' => 'message', - 'action' => 'index', 'name' => '我的消息', + 'url' => MyUrl('index/message/index'), + 'contains' => ['messageindex'], 'is_show' => 1, 'icon' => 'am-icon-bell-o', ], [ - 'control' => 'userintegral', - 'action' => 'index', 'name' => '我的积分', + 'url' => MyUrl('index/userintegral/index'), + 'contains' => ['userintegralindex'], 'is_show' => 1, 'icon' => 'am-icon-fire', ], [ - 'control' => 'usergoodsbrowse', - 'action' => 'index', 'name' => '我的足迹', + 'url' => MyUrl('index/usergoodsbrowse/index'), + 'contains' => ['usergoodsbrowseindex'], 'is_show' => 1, 'icon' => 'am-icon-lastfm', ], [ - 'control' => 'answer', - 'action' => 'index', 'name' => '问答/留言', + 'url' => MyUrl('index/answer/index'), + 'contains' => ['answerindex'], 'is_show' => 1, 'icon' => 'am-icon-question', ], - [ - 'control' => 'user', - 'action' => 'logout', - 'name' => '安全退出', - 'is_show' => 1, - 'icon' => 'am-icon-power-off', - ], ] ], + [ + 'name' => '安全退出', + 'url' => MyUrl('index/user/logout'), + 'contains' => ['userlogout'], + 'is_show' => 1, + 'icon' => 'am-icon-power-off', + ], ]; // 用户中心左侧菜单钩子 diff --git a/application/service/OrderService.php b/application/service/OrderService.php index fa3678289..1049fe92d 100755 --- a/application/service/OrderService.php +++ b/application/service/OrderService.php @@ -375,6 +375,19 @@ class OrderService return DataReturn('支付方式有误', -1); } + // 订单支付成功处理前钩子 + $hook_name = 'plugins_service_order_pay_handle_begin'; + $ret = Hook::listen($hook_name, [ + 'hook_name' => $hook_name, + 'is_backend' => true, + 'params' => &$params, + 'order_id' => $params['order']['id'] + ]); + if(isset($ret['code']) && $ret['code'] != 0) + { + return $ret; + } + // 支付参数 $pay_price = isset($params['pay']['pay_price']) ? $params['pay']['pay_price'] : 0; @@ -426,6 +439,16 @@ class OrderService // 提交事务 Db::commit(); + + // 订单支付成功处理完毕钩子 + $hook_name = 'plugins_service_order_pay_success_handle_end'; + $ret = Hook::listen($hook_name, [ + 'hook_name' => $hook_name, + 'is_backend' => true, + 'params' => $params, + 'order_id' => $params['order']['id'] + ]); + return DataReturn('支付成功', 0); } } @@ -764,7 +787,22 @@ class OrderService 'creator_name' => htmlentities($creator_name), 'add_time' => time(), ]; - return Db::name('OrderStatusHistory')->insertGetId($data) > 0; + + // 日志添加 + if(Db::name('OrderStatusHistory')->insertGetId($data) > 0) + { + // 订单状态改变添加日志钩子 + $hook_name = 'plugins_service_order_status_change_history_success_handle'; + $ret = Hook::listen($hook_name, [ + 'hook_name' => $hook_name, + 'is_backend' => true, + 'data' => $data, + 'order_id' => $data['order_id'] + ]); + + return true; + } + return false; } /** diff --git a/application/tags.php b/application/tags.php index 5b50f3ac7..68c231a0b 100755 --- a/application/tags.php +++ b/application/tags.php @@ -117,5 +117,9 @@ return array ( 0 => 'app\\plugins\\freightfee\\Hook', 1 => 'app\\plugins\\newuserreduction\\Hook', ), + 'plugins_service_users_center_left_menu_handle' => + array ( + 0 => 'app\\plugins\\petscms\\Hook', + ), ); ?> \ No newline at end of file diff --git a/config/shopxo.sql b/config/shopxo.sql index a718c9268..b5d7b0175 100644 --- a/config/shopxo.sql +++ b/config/shopxo.sql @@ -1,18 +1,20 @@ /* - Navicat MySQL Data Transfer + Navicat Premium Data Transfer Source Server : 本机 - Source Server Version : 50716 + Source Server Type : MySQL + Source Server Version : 50722 Source Host : localhost - Source Database : shopxo_ttt + Source Database : shopxo_test - Target Server Version : 50716 + Target Server Type : MySQL + Target Server Version : 50722 File Encoding : utf-8 - Date: 04/10/2019 01:05:53 AM + Date: 04/11/2019 18:27:17 PM */ -SET NAMES utf8; +SET NAMES utf8mb4; SET FOREIGN_KEY_CHECKS = 0; -- ---------------------------- @@ -38,7 +40,7 @@ CREATE TABLE `s_admin` ( -- Records of `s_admin` -- ---------------------------- BEGIN; -INSERT INTO `s_admin` VALUES ('1', 'admin', '7d69deaea06038a1ca017e922287ff2f', '772375', '17688888888', '0', '390', '1554185160', '1', '1481350313', '1551341520'), ('3', 'testtest', 'a3a3368a4a310b29cd6662e386a46b19', '580271', '13222333333', '2', '51', '1551341548', '13', '1483947758', '1551341720'); +INSERT INTO `s_admin` VALUES ('1', 'admin', 'e1ebceb943dc4b95370cbbc6016592c1', '175070', '17688888888', '0', '391', '1554963106', '1', '1481350313', '1551341520'), ('3', 'testtest', 'a3a3368a4a310b29cd6662e386a46b19', '580271', '13222333333', '2', '51', '1551341548', '13', '1483947758', '1551341720'); COMMIT; -- ---------------------------- @@ -259,7 +261,7 @@ CREATE TABLE `s_config` ( -- Records of `s_config` -- ---------------------------- BEGIN; -INSERT INTO `s_config` VALUES ('15', '10', '分页数量', '分页显示数量', '分页不能超过3位数', 'admin', 'admin_page_number', '1553841678'), ('59', '1', '扣减库存规则', '需扣减库存开启方可有效,默认订单支付成功', '', 'common', 'common_deduction_inventory_rules', '1553841679'), ('60', '1', '是否扣减库存', '建议不要随意修改,以免造成库存数据错乱,关闭不影响库存回滚', '', 'common', 'common_is_deduction_inventory', '1553841679'), ('11', '0', 'Excel编码', 'excel模块编码选择', '请选择编码', 'admin', 'admin_excel_charset', '1553841679'), ('16', 'ShopXO企业级B2C电商系统提供商 - 演示站点', '站点标题', '浏览器标题,一般不超过80个字符', '站点标题不能为空', 'home', 'home_seo_site_title', '1554347574'), ('17', '商城系统,开源电商系统,免费电商系统,PHP电商系统,商城系统,B2C电商系统,B2B2C电商系统', '站点关键字', '一般不超过100个字符,多个关键字以半圆角逗号 [ , ] 隔开', '站点关键字不能为空', 'home', 'home_seo_site_keywords', '1554347574'), ('18', 'ShopXO是国内领先的商城系统提供商,为企业提供php商城系统、微信商城、小程序。', '站点描述', '站点描述,一般不超过200个字符', '站点描述不能为空', 'home', 'home_seo_site_description', '1554347574'), ('19', '黔ICP备15003530号', 'ICP证书号', 'ICP域名备案号', '', 'home', 'home_site_icp', '1554804368'), ('20', '', '底部统计代码', '支持html,可用于添加流量统计代码', '', 'home', 'home_statistics_code', '0'), ('21', '1', '站点状态', '可暂时将站点关闭,其他人无法访问,但不影响管理员访问后台', '请选择站点状态', 'home', 'home_site_state', '1554804368'), ('22', '升级中...', '关闭原因', '支持html,当网站处于关闭状态时,关闭原因将显示在前台', '', 'home', 'home_site_close_reason', '1554804368'), ('23', 'Australia/Eucla', '默认时区', '默认 亚洲/上海 [标准时+8]', '请选择默认时区', 'common', 'common_timezone', '1554804368'), ('24', '', '底部代码', '支持html,可用于添加流量统计代码', '', 'home', 'home_footer_info', '1554804368'), ('28', 'ShopXO', '站点名称', '', '站点名称不能为空', 'home', 'home_site_name', '1554804368'), ('29', '0', '链接模式', '详情ThinkPHP官网5.1版本文档 [http://www.thinkphp.cn/]', '请选择url模式', 'home', 'home_seo_url_model', '1554347574'), ('25', '2048000', '图片最大限制', '单位B [上传图片还受到服务器空间PHP配置最大上传 20M 限制]', '请填写图片上传最大限制', 'home', 'home_max_limit_image', '1554804368'), ('26', '51200000', '文件最大限制', '单位B [上传文件还受到服务器空间PHP配置最大上传 20M 限制]', '请填写文件上传最大限制', 'home', 'home_max_limit_file', '1554804368'), ('27', '102400000', '视频最大限制', '单位B [上传视频还受到服务器空间PHP配置最大上传 20M 限制]', '请填写视频上传最大限制', 'home', 'home_max_limit_video', '1554804368'), ('30', 'html', '伪静态后缀', '链接后面的后缀别名,默认 [ html ]', '小写字母,不能超过8个字符', 'home', 'home_seo_url_html_suffix', '1554347574'), ('31', '0', '用户注册开启审核', '开启后用户注册需要审核通过方可登录', '请选择用户注册开启审核', 'common', 'common_register_is_enable_audit', '1553841679'), ('32', '/static/upload/images/common/2019/01/14/1547448748316693.png', '手机端logo', '支持 [jpg, png, gif]', '请上传手机端网站logo', 'home', 'home_site_logo_wap', '1554804344'), ('33', '/static/upload/images/common/2019/01/14/1547448705165706.png', '电脑端logo', '支持 [jpg, png, gif]', '请上传电脑端网站logo', 'home', 'home_site_logo', '1554804344'), ('34', '1200', '页面最大宽度', '页面最大宽度,单位px,0则100%', '请上传桌面图标', 'home', 'home_content_max_width', '1554804368'), ('35', '/static/upload/images/common/2019/01/14/1547448728921121.jpg', '桌面图标', '建议使用png格式', '图片比例值格式有误 0~100 之间,小数点后面最大两位', 'common', 'home_site_desktop_icon', '1554804368'), ('36', 'sms,email', '是否开启注册', '关闭注册后,前台站点将无法注册,可选择 [ 短信, 邮箱 ]', '请选择是否开启注册状态', 'home', 'home_user_reg_state', '1554804368'), ('37', '1', '是否开启登录', '关闭后,前端站点将无法登录', '请选择是否开启登录状态', 'home', 'home_user_login_state', '1554804368'), ('38', '0', '获取验证码-开启图片验证码', '防止短信轰炸', '请选择是否开启强制图片验证码', 'home', 'home_img_verify_state', '1554804368'), ('39', '60', '获取验证码时间间隔', '防止频繁获取验证码,一般在 30~120 秒之间,单位 [秒]', '请填写获取验证码时间间隔', 'home', 'common_verify_time_interval', '1554804368'), ('40', '', '用户注册-短信模板ID', '验证码code', '请填写用户注册短信模板内容', 'home', 'home_sms_user_reg', '1554347567'), ('41', '', '短信签名', '发送短信包含的签名', '短信签名 3~8 个的中英文字符', 'common', 'common_sms_sign', '1546059306'), ('42', '', '短信KeyID', 'Access Key ID', '请填写Access Key ID', 'common', 'common_sms_apikey', '1546059306'), ('43', '', '密码找回-短信模板ID', '验证码code', '请填写密码找回短信模板内容', 'home', 'home_sms_user_forget_pwd', '1554347567'), ('44', '600', '验证码有效时间', '验证码过期时间,一般10分钟左右,单位 [秒]', '请填写验证码有效时间', 'home', 'common_verify_expire_time', '1554804368'), ('45', '', 'SMTP服务器', '设置SMTP服务器的地址,如 smtp.163.com', '请填写SMTP服务器', 'common', 'common_email_smtp_host', '1554347557'), ('46', '', 'SMTP端口', '设置SMTP服务器的端口,默认为 25', '请填写SMTP端口号', 'common', 'common_email_smtp_port', '1554347557'), ('47', '', '发信人邮件地址', '发信人邮件地址,使用SMTP协议发送的邮件地址,如 shopxo@163.com', '请填写发信人邮件地址', 'common', 'common_email_smtp_account', '1554347557'), ('48', '', 'SMTP身份验证用户名', '如 ShopXO', '请填写SMTP身份验证用户名', 'common', 'common_email_smtp_name', '1554347557'), ('49', '', 'SMTP身份验证密码', 'shopxo@163.com邮件的密码', '请填写SMTP身份验证密码', 'common', 'common_email_smtp_pwd', '1554347557'), ('50', '', '发件人显示名称', '如 ShopXO', '', 'common', 'common_email_smtp_send_name', '1554347557'), ('51', '3', '分享赠送积分次数限制', '分享用户注册赠送积分次数限制 [ 0则不赠送,若要不限请加大数值 ]', '', 'common', 'common_share_giving_integral_frequency', '1542011644'), ('58', '', '短信KeySecret', 'Access Key Secret', '请填写Access Key Secret', 'common', 'common_sms_apisecret', '1546059306'), ('53', '021-88888888', '商店电话', '空则不显示', '', 'common', 'common_customer_store_tel', '1554805442'), ('56', '10', '分享赠送积分', '分享用户注册后赠送积分 [ 0则不赠送 ]', '', 'common', 'common_share_giving_integral', '1542011644'), ('57', 'default', '默认模板', '前台默认模板', '请填写默认模板', 'common', 'common_default_theme', '1550113393'), ('62', '', '百度地图api密钥', '百度地图api密钥', '请填写百度地图api密钥', 'common', 'common_baidu_map_ak', '1553841679'), ('63', '

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

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

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

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

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

      ', '邮箱绑定-邮件模板', '验证码变量标识符 [ #code# ]', '', 'home', 'home_email_user_email_binding', '1533637393'), ('66', '20181012123', 'css/js版本标记', '用于css/js浏览器缓存版本识别', '', 'home', 'home_static_cache_version', '1554804368'), ('67', '', '手机号码绑定-短信模板ID', '验证码code', '请填写手机号码绑定短信模板内容', 'home', 'home_sms_user_mobile_binding', '1554347567'), ('68', '连衣裙,帐篷,iphone,小米,包包', '搜索关键字', '搜索框下热门关键字(输入回车)', '请填写关键字', 'home', 'home_search_keywords', '1553841679'), ('69', '2', '搜索关键字类型', '自定义需要配置以下关键字', '请选择关键字类型', 'home', 'home_search_keywords_type', '1553841679'), ('70', '0', '订单预约模式', '开启后用户提交订单需要管理员确认', '请选择是否开启预约模式', 'common', 'common_order_is_booking', '1553841679'), ('71', 'ShopXO', '名称', '', '请填写名称', 'common', 'common_app_mini_alipay_title', '1553147473'), ('72', '国内领先企业级B2C开源电商系统!', '描述', '', '请填写描述', 'common', 'common_app_mini_alipay_describe', '1553147473'), ('73', '021-88888888', '客服电话', '', '请填写客服电话', 'common', 'common_app_customer_service_tel', '1550377653'), ('74', '2019032163603894', 'AppID', '小程序ID', '请填写AppID', 'common', 'common_app_mini_alipay_appid', '1553147473'), ('75', 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuxAXbZitfaALDaevrWVITveMu2fh3L8t3p/5WGPNEVOqCnL3v8EeYZWOLSuBHhpJaLb7Q3HrPWynzpcJ2C17+DxCVS3Js8J/iAgiJGJB4f8wZuPBwqKncGXdrAtN6EYp3H9K1IQeCmGN9di4Ht7igDDREnVWrUIc1Q6O64KDg8YLhWaTf2FMFvdPKiH9tijIZuvtYxxOUkHmgG6N7+IIvKPLdYde0dt/eTy6L1wbXSWoStfmFYd38vywt51N6AlChh/XAQmUGYTq1sW+PFXg2MrDyyWIEZxGb1dINhlMgXMqxTropo31kXa09vUffNvPWVmR38iT9lY+n6ZWSVzH3QIDAQAB', '应用公钥', '', '请填写应用公钥', 'common', 'common_app_mini_alipay_rsa_public', '1553147473'), ('76', 'MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQC7EBdtmK19oAsNp6+tZUhO94y7Z+Hcvy3en/lYY80RU6oKcve/wR5hlY4tK4EeGklotvtDces9bKfOlwnYLXv4PEJVLcmzwn+ICCIkYkHh/zBm48HCoqdwZd2sC03oRincf0rUhB4KYY312Lge3uKAMNESdVatQhzVDo7rgoODxguFZpN/YUwW908qIf22KMhm6+1jHE5SQeaAbo3v4gi8o8t1h17R2395PLovXBtdJahK1+YVh3fy/LC3nU3oCUKGH9cBCZQZhOrWxb48VeDYysPLJYgRnEZvV0g2GUyBcyrFOuimjfWRdrT29R98289ZWZHfyJP2Vj6fplZJXMfdAgMBAAECggEAXXHCYkscj169ZsrXZUTtBBWBRbS1DTKrVUSQqGjibb9fd+zKeg2cgZ7V8RaEX2c+OIL/rUdg/cQjZ33nuwetn+lqMWa4FYYZcvitJYO36Y8yvJMVnYbnIayhOWpENr2l97HWzaZZ41GsOp1SDInGl8bLCe93pwEZqgyltFv0GoSfNu3trFFxPZgZJalV0t5M7+RchutkHskwrwI9BdnCJs38lh08jHHppQdkgcpyCiCdu/b4f+n9z97Op5Va8WY1M+wwqRk76Ias8mqwJXT/+t/sXhqkMv1ylAb89+b3rgiOU7KlZMpIAercW/ZRojnDjpY9ViaCxwWPwb/VkPrDgQKBgQDkDuie0DAIDP5C74dPj/Z0mapsU9bKlcgC+nowEUaEO7A9cwMVFal0x9p7BKIJsV2b6d1qJGP7rM9YtRMldJQmuxPcHOKPcZR8pGLqFYT2QGKGurohb/o+btGda/SGwJfi6jwQUF0AE+1k+Dj9P3hDxHgkj6ZMkHEBtqUj520VTQKBgQDR+1rPPex8zTQgl9uSY0hlXPyYEhpXicNhzyet1Su+TV8wdGNUr2YeuDHEu6oiRocBaT8DEwpy9EToe56EK3Ht2AQ76NBSUp9EOl1twocebM42etJSJZGpB1AgP+R/hmUbcBPXEwXdy5XeYnYmpVUcoizzKrnRDxg3TRF3kIX00QKBgGc49EMFmefa8a6cOdNiJrvp3YBAhkSVfL0UX/+nohIx7fgyOV/uuQ9ZceMiWrEmbWcneAcVx4dfVU4iTzMxy+in3jpPfKBOWVX9FaQ77z2CMNYoaBzAUTS29ftZpIjlXRngySTdKurhGh8MVscRVj7eCz8JIc0fx3ZuE9rnYbE1AoGAJoqJL3LBPmL3x2e4IJVii2BW6J6iASFDIGfCc7Cl18chyqYCOV/8UXUjhWWgo6voScUEkM7k4xacs0NFZCMJRUuZ81kXK5UIsKA519SVsmrsKqm+gt9sbebuuQyhJxsG4dNfgOF3+S7N8kSGRS+hgKDvuS5Fbu7jVfsqUpTPUZECgYAcbq3mqWwExY2Kn0I660OqOFk620pGsSY7gECUQintCZioYemzC1TN9pM6fKnOIYriV4Ou7iswhEfVX+5bwMjH2ujmu8KDdpkpdhRoFCw3GUn/PDelQrptaKkKXnOIJe/R8m+TUxYCtECTlKlYS4hTst7YhTDz5sQHcXRtveATZQ==', '应用私钥', '', '请填写应用私钥', 'common', 'common_app_mini_alipay_rsa_private', '1553147473'), ('78', '1', '是否启用搜索', '', '', 'common', 'common_app_is_enable_search', '1550377653'), ('77', 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0EjwWvSpPIoZTuwFEBg9d1vEGDp/J9QYg1npx9kiAyK5Wa7DmLfpWd+ItQ9UmR0I6MzYPzbqBu1pslh6l9GrZYFgsljbjI1PHwToieolV0PScQK1omciuX0QQ/glNbHAFQG87fe0RFtaJKL9ILgjH+p4k+ElS1z8lTyC3CAqzU89lqimV6nW/8v4tPFjiBpUiJnSevA7a6W8FxwbcfXYRIZy7aB3U5hYnOcOYaTTtWmBHRmamyItxnRKC3Np/1y9O6HbS2XZRRSClgqmPN+fBwHc2DppRezSW5hUUgQoZAXMzAK0moxcKlo1aO891hz6rGATRLHloIdj/GRX2t2okQIDAQAB', '支付宝公钥', '', '请填写支付宝公钥', 'common', 'common_app_mini_alipay_out_rsa_public', '1553147473'), ('79', '1', '是否启用留言', '', '', 'common', 'common_app_is_enable_answer', '1550377653'), ('80', '3', '商品可添加规格最大数量', '建议不超过3个规格', '请填写谷歌最大数', 'common', 'common_spec_add_max_number', '1553841679'), ('81', '-', '路由分隔符', '建议填写 [ - 或 / ] 默认 [ - ] ,仅PATHINFO模式+短地址模式下有效', '请填写路由分隔符', 'common', 'common_route_separator', '1554347574'), ('82', '', 'AppID', '小程序ID', '请填写appid', 'common', 'common_app_mini_weixin_appid', '1546962555'), ('83', '', 'AppSecret ', '小程序密钥', '请填写appsecret', 'common', 'common_app_mini_weixin_appsecret', '1546962555'), ('84', 'ShopXO', '名称', '', '请填写名称', 'common', 'common_app_mini_weixin_title', '1546962555'), ('85', '国内领先企业级B2C开源电商系统!', '描述', '', '请填写描述', 'common', 'common_app_mini_weixin_describe', '1546962555'), ('61', '用户中心公告文字,后台配置修改。', '用户中心公告', '空则不显示公告', '', 'common', 'common_user_center_notice', '1550377653'), ('8', '欢迎来到ShopXO企业级B2C开源电商系统、演示站点请勿发起支付、以免给您带来不必要的财产损失。', '商城公告', '空则不显示公告', '', 'common', 'common_shop_notice', '1550377653'), ('86', 'test@qq.com', '商店邮箱', '空则不显示', '客服邮箱格式有误', 'common', 'common_customer_store_email', '1554805442'), ('87', '/static/upload/images/common/2019/04/09/1554805439263794.jpeg', '商店二维码', '空则不展示', '', 'common', 'common_customer_store_qrcode', '1554805442'), ('88', '上海市 浦东新区 盛夏路665号 上地大厦18层', '商店地址', '空则不展示', '', 'common', 'common_customer_store_address', '1554805442'); +INSERT INTO `s_config` VALUES ('15', '10', '分页数量', '分页显示数量', '分页不能超过3位数', 'admin', 'admin_page_number', '1553841678'), ('59', '1', '扣减库存规则', '需扣减库存开启方可有效,默认订单支付成功', '', 'common', 'common_deduction_inventory_rules', '1553841679'), ('60', '1', '是否扣减库存', '建议不要随意修改,以免造成库存数据错乱,关闭不影响库存回滚', '', 'common', 'common_is_deduction_inventory', '1553841679'), ('11', '0', 'Excel编码', 'excel模块编码选择', '请选择编码', 'admin', 'admin_excel_charset', '1553841679'), ('16', 'ShopXO企业级B2C电商系统提供商 - 演示站点', '站点标题', '浏览器标题,一般不超过80个字符', '站点标题不能为空', 'home', 'home_seo_site_title', '1554964011'), ('17', '商城系统,开源电商系统,免费电商系统,PHP电商系统,商城系统,B2C电商系统,B2B2C电商系统', '站点关键字', '一般不超过100个字符,多个关键字以半圆角逗号 [ , ] 隔开', '站点关键字不能为空', 'home', 'home_seo_site_keywords', '1554964011'), ('18', 'ShopXO是国内领先的商城系统提供商,为企业提供php商城系统、微信商城、小程序。', '站点描述', '站点描述,一般不超过200个字符', '站点描述不能为空', 'home', 'home_seo_site_description', '1554964011'), ('19', '黔ICP备15003530号', 'ICP证书号', 'ICP域名备案号', '', 'home', 'home_site_icp', '1554804368'), ('20', '', '底部统计代码', '支持html,可用于添加流量统计代码', '', 'home', 'home_statistics_code', '0'), ('21', '1', '站点状态', '可暂时将站点关闭,其他人无法访问,但不影响管理员访问后台', '请选择站点状态', 'home', 'home_site_state', '1554804368'), ('22', '升级中...', '关闭原因', '支持html,当网站处于关闭状态时,关闭原因将显示在前台', '', 'home', 'home_site_close_reason', '1554804368'), ('23', 'Australia/Eucla', '默认时区', '默认 亚洲/上海 [标准时+8]', '请选择默认时区', 'common', 'common_timezone', '1554804368'), ('24', '', '底部代码', '支持html,可用于添加流量统计代码', '', 'home', 'home_footer_info', '1554804368'), ('28', 'ShopXO', '站点名称', '', '站点名称不能为空', 'home', 'home_site_name', '1554804368'), ('29', '0', '链接模式', '详情ThinkPHP官网5.1版本文档 [http://www.thinkphp.cn/]', '请选择url模式', 'home', 'home_seo_url_model', '1554964011'), ('25', '2048000', '图片最大限制', '单位B [上传图片还受到服务器空间PHP配置最大上传 20M 限制]', '请填写图片上传最大限制', 'home', 'home_max_limit_image', '1554804368'), ('26', '51200000', '文件最大限制', '单位B [上传文件还受到服务器空间PHP配置最大上传 20M 限制]', '请填写文件上传最大限制', 'home', 'home_max_limit_file', '1554804368'), ('27', '102400000', '视频最大限制', '单位B [上传视频还受到服务器空间PHP配置最大上传 20M 限制]', '请填写视频上传最大限制', 'home', 'home_max_limit_video', '1554804368'), ('30', 'html', '伪静态后缀', '链接后面的后缀别名,默认 [ html ]', '小写字母,不能超过8个字符', 'home', 'home_seo_url_html_suffix', '1554964011'), ('31', '0', '用户注册开启审核', '开启后用户注册需要审核通过方可登录', '请选择用户注册开启审核', 'common', 'common_register_is_enable_audit', '1553841679'), ('32', '/static/upload/images/common/2019/01/14/1547448748316693.png', '手机端logo', '支持 [jpg, png, gif]', '请上传手机端网站logo', 'home', 'home_site_logo_wap', '1554804344'), ('33', '/static/upload/images/common/2019/01/14/1547448705165706.png', '电脑端logo', '支持 [jpg, png, gif]', '请上传电脑端网站logo', 'home', 'home_site_logo', '1554804344'), ('34', '1200', '页面最大宽度', '页面最大宽度,单位px,0则100%', '请上传桌面图标', 'home', 'home_content_max_width', '1554804368'), ('35', '/static/upload/images/common/2019/01/14/1547448728921121.jpg', '桌面图标', '建议使用png格式', '图片比例值格式有误 0~100 之间,小数点后面最大两位', 'common', 'home_site_desktop_icon', '1554804368'), ('36', 'sms,email', '是否开启注册', '关闭注册后,前台站点将无法注册,可选择 [ 短信, 邮箱 ]', '请选择是否开启注册状态', 'home', 'home_user_reg_state', '1554804368'), ('37', '1', '是否开启登录', '关闭后,前端站点将无法登录', '请选择是否开启登录状态', 'home', 'home_user_login_state', '1554804368'), ('38', '0', '获取验证码-开启图片验证码', '防止短信轰炸', '请选择是否开启强制图片验证码', 'home', 'home_img_verify_state', '1554804368'), ('39', '60', '获取验证码时间间隔', '防止频繁获取验证码,一般在 30~120 秒之间,单位 [秒]', '请填写获取验证码时间间隔', 'home', 'common_verify_time_interval', '1554804368'), ('40', '', '用户注册-短信模板ID', '验证码code', '请填写用户注册短信模板内容', 'home', 'home_sms_user_reg', '1554347567'), ('41', '', '短信签名', '发送短信包含的签名', '短信签名 3~8 个的中英文字符', 'common', 'common_sms_sign', '1546059306'), ('42', '', '短信KeyID', 'Access Key ID', '请填写Access Key ID', 'common', 'common_sms_apikey', '1546059306'), ('43', '', '密码找回-短信模板ID', '验证码code', '请填写密码找回短信模板内容', 'home', 'home_sms_user_forget_pwd', '1554347567'), ('44', '600', '验证码有效时间', '验证码过期时间,一般10分钟左右,单位 [秒]', '请填写验证码有效时间', 'home', 'common_verify_expire_time', '1554804368'), ('45', '', 'SMTP服务器', '设置SMTP服务器的地址,如 smtp.163.com', '请填写SMTP服务器', 'common', 'common_email_smtp_host', '1554347557'), ('46', '', 'SMTP端口', '设置SMTP服务器的端口,默认为 25', '请填写SMTP端口号', 'common', 'common_email_smtp_port', '1554347557'), ('47', '', '发信人邮件地址', '发信人邮件地址,使用SMTP协议发送的邮件地址,如 shopxo@163.com', '请填写发信人邮件地址', 'common', 'common_email_smtp_account', '1554347557'), ('48', '', 'SMTP身份验证用户名', '如 ShopXO', '请填写SMTP身份验证用户名', 'common', 'common_email_smtp_name', '1554347557'), ('49', '', 'SMTP身份验证密码', 'shopxo@163.com邮件的密码', '请填写SMTP身份验证密码', 'common', 'common_email_smtp_pwd', '1554347557'), ('50', '', '发件人显示名称', '如 ShopXO', '', 'common', 'common_email_smtp_send_name', '1554347557'), ('51', '3', '分享赠送积分次数限制', '分享用户注册赠送积分次数限制 [ 0则不赠送,若要不限请加大数值 ]', '', 'common', 'common_share_giving_integral_frequency', '1542011644'), ('58', '', '短信KeySecret', 'Access Key Secret', '请填写Access Key Secret', 'common', 'common_sms_apisecret', '1546059306'), ('53', '021-88888888', '商店电话', '空则不显示', '', 'common', 'common_customer_store_tel', '1554805442'), ('56', '10', '分享赠送积分', '分享用户注册后赠送积分 [ 0则不赠送 ]', '', 'common', 'common_share_giving_integral', '1542011644'), ('57', 'default', '默认模板', '前台默认模板', '请填写默认模板', 'common', 'common_default_theme', '1550113393'), ('62', '', '百度地图api密钥', '百度地图api密钥', '请填写百度地图api密钥', 'common', 'common_baidu_map_ak', '1553841679'), ('63', '

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

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

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

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

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

      ', '邮箱绑定-邮件模板', '验证码变量标识符 [ #code# ]', '', 'home', 'home_email_user_email_binding', '1533637393'), ('66', '20181012123', 'css/js版本标记', '用于css/js浏览器缓存版本识别', '', 'home', 'home_static_cache_version', '1554804368'), ('67', '', '手机号码绑定-短信模板ID', '验证码code', '请填写手机号码绑定短信模板内容', 'home', 'home_sms_user_mobile_binding', '1554347567'), ('68', '连衣裙,帐篷,iphone,小米,包包', '搜索关键字', '搜索框下热门关键字(输入回车)', '请填写关键字', 'home', 'home_search_keywords', '1553841679'), ('69', '2', '搜索关键字类型', '自定义需要配置以下关键字', '请选择关键字类型', 'home', 'home_search_keywords_type', '1553841679'), ('70', '0', '订单预约模式', '开启后用户提交订单需要管理员确认', '请选择是否开启预约模式', 'common', 'common_order_is_booking', '1553841679'), ('71', 'ShopXO', '名称', '', '请填写名称', 'common', 'common_app_mini_alipay_title', '1553147473'), ('72', '国内领先企业级B2C开源电商系统!', '描述', '', '请填写描述', 'common', 'common_app_mini_alipay_describe', '1553147473'), ('73', '021-88888888', '客服电话', '', '请填写客服电话', 'common', 'common_app_customer_service_tel', '1550377653'), ('74', '2019032163603894', 'AppID', '小程序ID', '请填写AppID', 'common', 'common_app_mini_alipay_appid', '1553147473'), ('75', 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuxAXbZitfaALDaevrWVITveMu2fh3L8t3p/5WGPNEVOqCnL3v8EeYZWOLSuBHhpJaLb7Q3HrPWynzpcJ2C17+DxCVS3Js8J/iAgiJGJB4f8wZuPBwqKncGXdrAtN6EYp3H9K1IQeCmGN9di4Ht7igDDREnVWrUIc1Q6O64KDg8YLhWaTf2FMFvdPKiH9tijIZuvtYxxOUkHmgG6N7+IIvKPLdYde0dt/eTy6L1wbXSWoStfmFYd38vywt51N6AlChh/XAQmUGYTq1sW+PFXg2MrDyyWIEZxGb1dINhlMgXMqxTropo31kXa09vUffNvPWVmR38iT9lY+n6ZWSVzH3QIDAQAB', '应用公钥', '', '请填写应用公钥', 'common', 'common_app_mini_alipay_rsa_public', '1553147473'), ('76', 'MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQC7EBdtmK19oAsNp6+tZUhO94y7Z+Hcvy3en/lYY80RU6oKcve/wR5hlY4tK4EeGklotvtDces9bKfOlwnYLXv4PEJVLcmzwn+ICCIkYkHh/zBm48HCoqdwZd2sC03oRincf0rUhB4KYY312Lge3uKAMNESdVatQhzVDo7rgoODxguFZpN/YUwW908qIf22KMhm6+1jHE5SQeaAbo3v4gi8o8t1h17R2395PLovXBtdJahK1+YVh3fy/LC3nU3oCUKGH9cBCZQZhOrWxb48VeDYysPLJYgRnEZvV0g2GUyBcyrFOuimjfWRdrT29R98289ZWZHfyJP2Vj6fplZJXMfdAgMBAAECggEAXXHCYkscj169ZsrXZUTtBBWBRbS1DTKrVUSQqGjibb9fd+zKeg2cgZ7V8RaEX2c+OIL/rUdg/cQjZ33nuwetn+lqMWa4FYYZcvitJYO36Y8yvJMVnYbnIayhOWpENr2l97HWzaZZ41GsOp1SDInGl8bLCe93pwEZqgyltFv0GoSfNu3trFFxPZgZJalV0t5M7+RchutkHskwrwI9BdnCJs38lh08jHHppQdkgcpyCiCdu/b4f+n9z97Op5Va8WY1M+wwqRk76Ias8mqwJXT/+t/sXhqkMv1ylAb89+b3rgiOU7KlZMpIAercW/ZRojnDjpY9ViaCxwWPwb/VkPrDgQKBgQDkDuie0DAIDP5C74dPj/Z0mapsU9bKlcgC+nowEUaEO7A9cwMVFal0x9p7BKIJsV2b6d1qJGP7rM9YtRMldJQmuxPcHOKPcZR8pGLqFYT2QGKGurohb/o+btGda/SGwJfi6jwQUF0AE+1k+Dj9P3hDxHgkj6ZMkHEBtqUj520VTQKBgQDR+1rPPex8zTQgl9uSY0hlXPyYEhpXicNhzyet1Su+TV8wdGNUr2YeuDHEu6oiRocBaT8DEwpy9EToe56EK3Ht2AQ76NBSUp9EOl1twocebM42etJSJZGpB1AgP+R/hmUbcBPXEwXdy5XeYnYmpVUcoizzKrnRDxg3TRF3kIX00QKBgGc49EMFmefa8a6cOdNiJrvp3YBAhkSVfL0UX/+nohIx7fgyOV/uuQ9ZceMiWrEmbWcneAcVx4dfVU4iTzMxy+in3jpPfKBOWVX9FaQ77z2CMNYoaBzAUTS29ftZpIjlXRngySTdKurhGh8MVscRVj7eCz8JIc0fx3ZuE9rnYbE1AoGAJoqJL3LBPmL3x2e4IJVii2BW6J6iASFDIGfCc7Cl18chyqYCOV/8UXUjhWWgo6voScUEkM7k4xacs0NFZCMJRUuZ81kXK5UIsKA519SVsmrsKqm+gt9sbebuuQyhJxsG4dNfgOF3+S7N8kSGRS+hgKDvuS5Fbu7jVfsqUpTPUZECgYAcbq3mqWwExY2Kn0I660OqOFk620pGsSY7gECUQintCZioYemzC1TN9pM6fKnOIYriV4Ou7iswhEfVX+5bwMjH2ujmu8KDdpkpdhRoFCw3GUn/PDelQrptaKkKXnOIJe/R8m+TUxYCtECTlKlYS4hTst7YhTDz5sQHcXRtveATZQ==', '应用私钥', '', '请填写应用私钥', 'common', 'common_app_mini_alipay_rsa_private', '1553147473'), ('78', '1', '是否启用搜索', '', '', 'common', 'common_app_is_enable_search', '1550377653'), ('77', 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0EjwWvSpPIoZTuwFEBg9d1vEGDp/J9QYg1npx9kiAyK5Wa7DmLfpWd+ItQ9UmR0I6MzYPzbqBu1pslh6l9GrZYFgsljbjI1PHwToieolV0PScQK1omciuX0QQ/glNbHAFQG87fe0RFtaJKL9ILgjH+p4k+ElS1z8lTyC3CAqzU89lqimV6nW/8v4tPFjiBpUiJnSevA7a6W8FxwbcfXYRIZy7aB3U5hYnOcOYaTTtWmBHRmamyItxnRKC3Np/1y9O6HbS2XZRRSClgqmPN+fBwHc2DppRezSW5hUUgQoZAXMzAK0moxcKlo1aO891hz6rGATRLHloIdj/GRX2t2okQIDAQAB', '支付宝公钥', '', '请填写支付宝公钥', 'common', 'common_app_mini_alipay_out_rsa_public', '1553147473'), ('79', '1', '是否启用留言', '', '', 'common', 'common_app_is_enable_answer', '1550377653'), ('80', '3', '商品可添加规格最大数量', '建议不超过3个规格', '请填写谷歌最大数', 'common', 'common_spec_add_max_number', '1553841679'), ('81', '-', '路由分隔符', '建议填写 [ - 或 / ] 默认 [ - ] ,仅PATHINFO模式+短地址模式下有效', '请填写路由分隔符', 'common', 'common_route_separator', '1554964011'), ('82', '', 'AppID', '小程序ID', '请填写appid', 'common', 'common_app_mini_weixin_appid', '1546962555'), ('83', '', 'AppSecret ', '小程序密钥', '请填写appsecret', 'common', 'common_app_mini_weixin_appsecret', '1546962555'), ('84', 'ShopXO', '名称', '', '请填写名称', 'common', 'common_app_mini_weixin_title', '1546962555'), ('85', '国内领先企业级B2C开源电商系统!', '描述', '', '请填写描述', 'common', 'common_app_mini_weixin_describe', '1546962555'), ('61', '用户中心公告文字,后台配置修改。', '用户中心公告', '空则不显示公告', '', 'common', 'common_user_center_notice', '1550377653'), ('8', '欢迎来到ShopXO企业级B2C开源电商系统、演示站点请勿发起支付、以免给您带来不必要的财产损失。', '商城公告', '空则不显示公告', '', 'common', 'common_shop_notice', '1550377653'), ('86', 'test@qq.com', '商店邮箱', '空则不显示', '客服邮箱格式有误', 'common', 'common_customer_store_email', '1554805442'), ('87', '/static/upload/images/common/2019/04/09/1554805439263794.jpeg', '商店二维码', '空则不展示', '', 'common', 'common_customer_store_qrcode', '1554805442'), ('88', '上海市 浦东新区 盛夏路665号 上地大厦18层', '商店地址', '空则不展示', '', 'common', 'common_customer_store_address', '1554805442'); COMMIT; -- ---------------------------- @@ -324,12 +326,12 @@ DROP TABLE IF EXISTS `s_goods`; CREATE TABLE `s_goods` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增id', `brand_id` int(11) unsigned DEFAULT '0' COMMENT '品牌id', - `title` char(60) CHARACTER SET utf8 NOT NULL DEFAULT '' COMMENT '标题', - `title_color` char(7) CHARACTER SET utf8 NOT NULL DEFAULT '' COMMENT '标题颜色', - `model` char(30) CHARACTER SET utf8 NOT NULL DEFAULT '' COMMENT '型号', + `title` char(60) NOT NULL DEFAULT '' COMMENT '标题', + `title_color` char(7) NOT NULL DEFAULT '' COMMENT '标题颜色', + `model` char(30) NOT NULL DEFAULT '' COMMENT '型号', `place_origin` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '产地(地区省id)', `inventory` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '库存(所有规格库存总和)', - `inventory_unit` char(15) CHARACTER SET utf8 NOT NULL DEFAULT '' COMMENT '库存单位', + `inventory_unit` char(15) NOT NULL DEFAULT '' COMMENT '库存单位', `images` char(255) NOT NULL DEFAULT '' COMMENT '封面图片', `original_price` char(60) NOT NULL DEFAULT '' COMMENT '原价(单值:10, 区间:10.00-20.00)一般用于展示使用', `min_original_price` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '最低原价', @@ -343,7 +345,7 @@ CREATE TABLE `s_goods` ( `is_deduction_inventory` tinyint(2) unsigned NOT NULL DEFAULT '1' COMMENT '是否扣减库存(0否, 1是)', `is_shelves` tinyint(2) unsigned NOT NULL DEFAULT '1' COMMENT '是否上架(下架后用户不可见, 0否, 1是)', `is_home_recommended` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '是否首页推荐(0否, 1是)', - `content_web` mediumtext CHARACTER SET utf8 NOT NULL COMMENT '电脑端详情内容', + `content_web` mediumtext NOT NULL COMMENT '电脑端详情内容', `photo_count` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '相册图片数量', `sales_count` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '销量', `access_count` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '访问次数', @@ -363,7 +365,7 @@ CREATE TABLE `s_goods` ( -- Records of `s_goods` -- ---------------------------- BEGIN; -INSERT INTO `s_goods` VALUES ('1', '1', 'MIUI/小米 小米手机4 小米4代 MI4智能4G手机包邮 黑色 D-LTE(4G)/TD-SCD', '', '', '0', '125', '步', '/static/upload/images/goods/2019/01/14/1547450781101144.jpg', '3200.00', '3200.00', '3200.00', '2100.00', '2100.00', '2100.00', '10', '1', '0', '1', '1', '1', '


      ', '2', '0', '27', '', '/static/upload/images/goods/2019/01/14/1547450781101144.jpg', '0', '1547450921', '1554556830'), ('2', '2', '苹果(Apple)iPhone 6 Plus (A1524)移动联通电信4G手机 金色 16G', '', 'iPhone 6 Plus', '0', '1701', '步', '/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', '0', '89', '/static/upload/video/goods/2019/01/14/1547458876723311.mp4', '/static/upload/images/goods/2019/01/14/1547451274847894.jpg', '0', '1547451624', '1554555460'), ('3', '2', 'Samsung/三星 SM-G8508S GALAXY Alpha四核智能手机 新品 闪耀白', '', '', '0', '235', '步', '/static/upload/images/goods/2019/01/14/1547451909951171.jpg', '6866.00', '6866.00', '6866.00', '3888.00', '3888.00', '3888.00', '20', '1', '0', '1', '1', '1', '


      ', '2', '0', '29', '', '/static/upload/images/goods/2019/01/14/1547451909951171.jpg', '0', '1547452007', '1547452007'), ('4', '1', 'Huawei/华为 H60-L01 荣耀6 移动4G版智能手机 安卓', '', '', '0', '537', '步', '/static/upload/images/goods/2019/01/14/1547452474332334.jpg', '2300.00', '2300.00', '2300.00', '1999.00', '1999.00', '1999.00', '19', '1', '0', '1', '1', '1', '


      ', '2', '0', '62', '', '/static/upload/images/goods/2019/01/14/1547452474332334.jpg', '0', '1547452553', '1547452553'), ('5', '2', 'Meizu/魅族 MX4 Pro移动版 八核大屏智能手机 黑色 16G', '', '', '0', '435', '步', '/static/upload/images/goods/2019/01/14/1547452714324599.jpg', '3200.00', '3200.00', '3200.00', '2499.00', '2499.00', '2499.00', '56', '1', '0', '1', '1', '1', '


      ', '2', '1', '217', '', '/static/upload/images/goods/2019/01/14/1547452714324599.jpg', '0', '1547452798', '1547452798'), ('6', '1', 'vivo X5MAX L 移动4G 八核超薄大屏5.5吋双卡手机vivoX5max', '', '', '0', '319', '步', '/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', '0', '72', '', '/static/upload/images/goods/2019/01/14/1547453000703308.jpg', '0', '1547453135', '1547453157'), ('7', '1', '纽芝兰包包女士2018新款潮百搭韩版时尚单肩斜挎包少女小挎包链条', '', '', '0', '320', '件', '/static/upload/images/goods/2019/01/14/1547453895416529.jpg', '760.00', '760.00', '760.00', '168.00', '168.00', '168.00', '11', '1', '0', '1', '1', '1', '


      ', '2', '0', '9', '', '/static/upload/images/goods/2019/01/15/1547540603500383.jpg', '0', '1547453967', '1554485498'), ('8', '1', 'MARNI Trunk 女士 中号拼色十字纹小牛皮 斜挎风琴包', '', '', '0', '35', '件', '/static/upload/images/goods/2019/01/14/1547454145355962.jpg', '672.00', '672.00', '672.00', '356.00', '356.00', '356.00', '8', '1', '0', '1', '1', '1', '


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


      ', '3', '0', '105', '', '/static/upload/images/goods/2019/01/14/1547454567172116.jpg', '0', '1547454786', '1554555420'), ('10', '0', '夏装女装古力娜扎明星同款一字领露肩蓝色蕾丝修身显瘦连衣裙礼服', '', '', '0', '36', '件', '/static/upload/images/goods/2019/01/14/1547455240794230.jpg', '568.00', '568.00', '568.00', '228.00', '228.00', '228.00', '28', '1', '0', '1', '1', '1', '

      【品牌】欧单 学媛风 猫咪良品

      【吊牌】xueyuanfeng 猫咪良品

      【面料质地】涤棉拼接蕾丝  后中拉链 有内衬(非专业机构鉴定,介意请慎拍)

      好的衣服需要好好呵护,务必请冷水手洗(切记别浸泡)拧干就晾晒或则干洗哦~

      【商品颜色】实物拍摄 蓝色 颜色很难拍有小色差属正常现象哦

      【商品尺寸】XS/S/M/L 小高腰设计 胸口纽扣是装饰的哦


      XS码尺寸: 悬挂衣长81CM.胸围80内合适.腰围63CM.臀围86CM


      S码尺寸: 悬挂衣长82CM.胸围84内合适.腰围67CM.臀围90CM

      M码尺寸: 悬挂衣长83CM.胸围88内合适.腰围71CM.臀围94CM

      L码尺寸: 悬挂衣长84CM.胸围92内合适.腰围75CM.臀围98CM


      (测量单位是CM,每个人的测量方式不一样,测量的尺寸数据可能会有1~3厘米的差异,请MM们谅解哦)

      PS:常规码数,可按平时号选择哦。修身版型~如果上身偏大可以适当考虑大1号~下摆蕾丝拼接不会很平整的哦~

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


      ', '2', '0', '134', '', '/static/upload/images/goods/2019/01/14/1547455222990904.jpg', '0', '1547455375', '1554555406'), ('11', '0', '夏季复古ins风格网红SP同款 短袖大圆领香槟色蕾丝绣花钉珠连衣裙', '', '', '0', '36665656', '件', '/static/upload/images/goods/2019/01/14/1547455601314107.jpg', '268.00', '268.00', '268.00', '258.00', '258.00', '258.00', '1', '1', '0', '1', '1', '1', '

      【品牌】欧单 学媛风 猫咪良品

      【吊牌】xueyuanfeng 猫咪良品

      【面料质地】网纱绣花钉珠拼接蕾丝 拉链有内衬(非专业机构鉴定,介意请慎拍)

      好的衣服需要好好呵护,务必请冷水手洗(切记别浸泡)拧干就晾晒或则干洗哦~

      【商品颜色】实物拍摄 香槟色 颜色很难拍有小色差属正常现象哦

      【商品尺寸】XS/S/M/L 小高腰设计 胸那考虑撑开因素哦 微弹的哦


      XS码尺寸: 衣长82CM.胸围80内合适.腰围63CM.臀围86CM


      S码尺寸: 衣长83CM.胸围84内合适.腰围67CM.臀围90CM

      M码尺寸: 衣长84CM.胸围88内合适.腰围71CM.臀围94CM

      L码尺寸: 衣长85CM.胸围92内合适.腰围75CM.臀围98CM


      (测量单位是CM,每个人的测量方式不一样,测量的尺寸数据可能会有1~3厘米的差异,请MM们谅解哦)

      PS:常规码数,可按平时号选择哦。修身版型,如果腰粗可以适当考虑大1号哦~

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

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



      ', '4', '0', '64', '', '/static/upload/images/goods/2019/01/14/1547455566118614.jpg', '0', '1547455700', '1554555398'), ('12', '2', 'ZK星星绣花雪纺连衣裙中长款sukol裙少女心温柔超仙女chic裙子夏', '', 'xxxxhhhhhh商品型号', '0', '244', '件', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '150.00-188.00', '150.00', '188.00', '0.01-128.00', '0.01', '128.00', '3', '1', '0', '1', '1', '1', '

      \"d-1.jpg\"/

      \"d-2.jpg\"/

      ', '3', '0', '280', '', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '0', '1547456230', '1554555389'); +INSERT INTO `s_goods` VALUES ('1', '1', 'MIUI/小米 小米手机4 小米4代 MI4智能4G手机包邮 黑色 D-LTE(4G)/TD-SCD', '', '', '0', '125', '步', '/static/upload/images/goods/2019/01/14/1547450781101144.jpg', '3200.00', '3200.00', '3200.00', '2100.00', '2100.00', '2100.00', '10', '1', '0', '1', '1', '1', '


      ', '2', '0', '27', '', '/static/upload/images/goods/2019/01/14/1547450781101144.jpg', '0', '1547450921', '1554556830'), ('2', '2', '苹果(Apple)iPhone 6 Plus (A1524)移动联通电信4G手机 金色 16G', '', 'iPhone 6 Plus', '0', '1701', '步', '/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', '0', '89', '/static/upload/video/goods/2019/01/14/1547458876723311.mp4', '/static/upload/images/goods/2019/01/14/1547451274847894.jpg', '0', '1547451624', '1554555460'), ('3', '2', 'Samsung/三星 SM-G8508S GALAXY Alpha四核智能手机 新品 闪耀白', '', '', '0', '235', '步', '/static/upload/images/goods/2019/01/14/1547451909951171.jpg', '6866.00', '6866.00', '6866.00', '3888.00', '3888.00', '3888.00', '20', '1', '0', '1', '1', '1', '


      ', '2', '0', '29', '', '/static/upload/images/goods/2019/01/14/1547451909951171.jpg', '0', '1547452007', '1547452007'), ('4', '1', 'Huawei/华为 H60-L01 荣耀6 移动4G版智能手机 安卓', '', '', '0', '537', '步', '/static/upload/images/goods/2019/01/14/1547452474332334.jpg', '2300.00', '2300.00', '2300.00', '1999.00', '1999.00', '1999.00', '19', '1', '0', '1', '1', '1', '


      ', '2', '0', '62', '', '/static/upload/images/goods/2019/01/14/1547452474332334.jpg', '0', '1547452553', '1547452553'), ('5', '2', 'Meizu/魅族 MX4 Pro移动版 八核大屏智能手机 黑色 16G', '', '', '0', '435', '步', '/static/upload/images/goods/2019/01/14/1547452714324599.jpg', '3200.00', '3200.00', '3200.00', '2499.00', '2499.00', '2499.00', '56', '1', '0', '1', '1', '1', '


      ', '2', '1', '217', '', '/static/upload/images/goods/2019/01/14/1547452714324599.jpg', '0', '1547452798', '1547452798'), ('6', '1', 'vivo X5MAX L 移动4G 八核超薄大屏5.5吋双卡手机vivoX5max', '', '', '0', '319', '步', '/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', '0', '72', '', '/static/upload/images/goods/2019/01/14/1547453000703308.jpg', '0', '1547453135', '1547453157'), ('7', '1', '纽芝兰包包女士2018新款潮百搭韩版时尚单肩斜挎包少女小挎包链条', '', '', '0', '320', '件', '/static/upload/images/goods/2019/01/14/1547453895416529.jpg', '760.00', '760.00', '760.00', '168.00', '168.00', '168.00', '11', '1', '0', '1', '1', '1', '


      ', '2', '0', '9', '', '/static/upload/images/goods/2019/01/15/1547540603500383.jpg', '0', '1547453967', '1554485498'), ('8', '1', 'MARNI Trunk 女士 中号拼色十字纹小牛皮 斜挎风琴包', '', '', '0', '35', '件', '/static/upload/images/goods/2019/01/14/1547454145355962.jpg', '672.00', '672.00', '672.00', '356.00', '356.00', '356.00', '8', '1', '0', '1', '1', '1', '


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


      ', '3', '0', '105', '', '/static/upload/images/goods/2019/01/14/1547454567172116.jpg', '0', '1547454786', '1554555420'), ('10', '0', '夏装女装古力娜扎明星同款一字领露肩蓝色蕾丝修身显瘦连衣裙礼服', '', '', '0', '36', '件', '/static/upload/images/goods/2019/01/14/1547455240794230.jpg', '568.00', '568.00', '568.00', '228.00', '228.00', '228.00', '28', '1', '0', '1', '1', '1', '

      【品牌】欧单 学媛风 猫咪良品

      【吊牌】xueyuanfeng 猫咪良品

      【面料质地】涤棉拼接蕾丝  后中拉链 有内衬(非专业机构鉴定,介意请慎拍)

      好的衣服需要好好呵护,务必请冷水手洗(切记别浸泡)拧干就晾晒或则干洗哦~

      【商品颜色】实物拍摄 蓝色 颜色很难拍有小色差属正常现象哦

      【商品尺寸】XS/S/M/L 小高腰设计 胸口纽扣是装饰的哦


      XS码尺寸: 悬挂衣长81CM.胸围80内合适.腰围63CM.臀围86CM


      S码尺寸: 悬挂衣长82CM.胸围84内合适.腰围67CM.臀围90CM

      M码尺寸: 悬挂衣长83CM.胸围88内合适.腰围71CM.臀围94CM

      L码尺寸: 悬挂衣长84CM.胸围92内合适.腰围75CM.臀围98CM


      (测量单位是CM,每个人的测量方式不一样,测量的尺寸数据可能会有1~3厘米的差异,请MM们谅解哦)

      PS:常规码数,可按平时号选择哦。修身版型~如果上身偏大可以适当考虑大1号~下摆蕾丝拼接不会很平整的哦~

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


      ', '2', '0', '134', '', '/static/upload/images/goods/2019/01/14/1547455222990904.jpg', '0', '1547455375', '1554555406'), ('11', '0', '夏季复古ins风格网红SP同款 短袖大圆领香槟色蕾丝绣花钉珠连衣裙', '', '', '0', '36665655', '件', '/static/upload/images/goods/2019/01/14/1547455601314107.jpg', '268.00', '268.00', '268.00', '258.00', '258.00', '258.00', '1', '1', '0', '1', '1', '1', '

      【品牌】欧单 学媛风 猫咪良品

      【吊牌】xueyuanfeng 猫咪良品

      【面料质地】网纱绣花钉珠拼接蕾丝 拉链有内衬(非专业机构鉴定,介意请慎拍)

      好的衣服需要好好呵护,务必请冷水手洗(切记别浸泡)拧干就晾晒或则干洗哦~

      【商品颜色】实物拍摄 香槟色 颜色很难拍有小色差属正常现象哦

      【商品尺寸】XS/S/M/L 小高腰设计 胸那考虑撑开因素哦 微弹的哦


      XS码尺寸: 衣长82CM.胸围80内合适.腰围63CM.臀围86CM


      S码尺寸: 衣长83CM.胸围84内合适.腰围67CM.臀围90CM

      M码尺寸: 衣长84CM.胸围88内合适.腰围71CM.臀围94CM

      L码尺寸: 衣长85CM.胸围92内合适.腰围75CM.臀围98CM


      (测量单位是CM,每个人的测量方式不一样,测量的尺寸数据可能会有1~3厘米的差异,请MM们谅解哦)

      PS:常规码数,可按平时号选择哦。修身版型,如果腰粗可以适当考虑大1号哦~

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

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



      ', '4', '1', '66', '', '/static/upload/images/goods/2019/01/14/1547455566118614.jpg', '0', '1547455700', '1554555398'), ('12', '2', 'ZK星星绣花雪纺连衣裙中长款sukol裙少女心温柔超仙女chic裙子夏', '', 'xxxxhhhhhh商品型号', '0', '244', '件', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '150.00-188.00', '150.00', '188.00', '0.01-128.00', '0.01', '128.00', '3', '1', '0', '1', '1', '1', '

      \"d-1.jpg\"/

      \"d-2.jpg\"/

      ', '3', '0', '280', '', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '0', '1547456230', '1554555389'); COMMIT; -- ---------------------------- @@ -377,13 +379,13 @@ CREATE TABLE `s_goods_browse` ( `add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间', `upd_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间', PRIMARY KEY (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='用户商品浏览'; +) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='用户商品浏览'; -- ---------------------------- -- Records of `s_goods_browse` -- ---------------------------- BEGIN; -INSERT INTO `s_goods_browse` VALUES ('1', '7', '91', '1554803230', '1554805470'); +INSERT INTO `s_goods_browse` VALUES ('1', '7', '91', '1554803230', '1554805470'), ('2', '11', '90', '1554966398', '1554967727'); COMMIT; -- ---------------------------- @@ -520,7 +522,7 @@ CREATE TABLE `s_goods_spec_base` ( -- Records of `s_goods_spec_base` -- ---------------------------- BEGIN; -INSERT INTO `s_goods_spec_base` VALUES ('21', '3', '3888.00', '235', '0.00', '', '', '6866.00', '1547452007'), ('22', '4', '1999.00', '537', '0.00', '', '', '2300.00', '1547452553'), ('23', '5', '2499.00', '435', '0.00', '', '', '3200.00', '1547452798'), ('25', '6', '2998.90', '319', '0.00', '', '', '3200.00', '1547453157'), ('154', '8', '356.00', '35', '0.00', '', '', '672.00', '1554485486'), ('155', '7', '168.00', '320', '0.00', '', '', '760.00', '1554485498'), ('156', '12', '0.01', '10', '0.50', 'gg11', 'txm11', '188.00', '1554555389'), ('157', '12', '128.00', '65', '0.10', 'gg22', 'txm22', '188.00', '1554555389'), ('158', '12', '128.00', '42', '1.90', 'gg33', 'txm33', '188.00', '1554555389'), ('159', '12', '118.00', '46', '457.60', 'gg44', 'txm44', '150.00', '1554555389'), ('160', '12', '118.00', '81', '37.00', 'gg55', 'txm55', '150.00', '1554555389'), ('161', '11', '258.00', '36665656', '0.00', '', '', '268.00', '1554555398'), ('162', '10', '228.00', '36', '0.00', '', '', '568.00', '1554555406'), ('163', '9', '120.00', '12', '0.30', '', '', '160.00', '1554555420'), ('164', '9', '120.00', '87', '0.30', '', '', '160.00', '1554555420'), ('165', '9', '120.00', '13', '0.30', '', '', '160.00', '1554555420'), ('166', '9', '120.00', '76', '0.30', '', '', '160.00', '1554555420'), ('167', '9', '136.00', '43', '0.30', '', '', '188.00', '1554555420'), ('168', '9', '136.00', '56', '0.30', '', '', '188.00', '1554555420'), ('169', '9', '136.00', '21', '0.30', '', '', '188.00', '1554555420'), ('170', '9', '158.00', '243', '0.30', '', '', '216.00', '1554555420'), ('171', '9', '158.00', '45', '0.30', '', '', '216.00', '1554555420'), ('172', '2', '6050.00', '100', '0.00', '', '', '6800.00', '1554555460'), ('173', '2', '6600.00', '200', '0.00', '', '', '7200.00', '1554555460'), ('174', '2', '6800.00', '299', '0.00', '', '', '7600.00', '1554555460'), ('175', '2', '6050.00', '300', '0.00', '', '', '6800.00', '1554555460'), ('176', '2', '6600.00', '300', '0.00', '', '', '7200.00', '1554555460'), ('177', '2', '6800.00', '300', '0.00', '', '', '7600.00', '1554555460'), ('178', '2', '4500.00', '97', '0.00', '', '', '6800.00', '1554555460'), ('179', '2', '4800.00', '50', '0.00', '', '', '6600.00', '1554555460'), ('180', '2', '5500.00', '55', '0.00', '', '', '6000.00', '1554555460'), ('181', '1', '2100.00', '125', '0.00', '', '', '3200.00', '1554556830'); +INSERT INTO `s_goods_spec_base` VALUES ('21', '3', '3888.00', '235', '0.00', '', '', '6866.00', '1547452007'), ('22', '4', '1999.00', '537', '0.00', '', '', '2300.00', '1547452553'), ('23', '5', '2499.00', '435', '0.00', '', '', '3200.00', '1547452798'), ('25', '6', '2998.90', '319', '0.00', '', '', '3200.00', '1547453157'), ('154', '8', '356.00', '35', '0.00', '', '', '672.00', '1554485486'), ('155', '7', '168.00', '320', '0.00', '', '', '760.00', '1554485498'), ('156', '12', '0.01', '10', '0.50', 'gg11', 'txm11', '188.00', '1554555389'), ('157', '12', '128.00', '65', '0.10', 'gg22', 'txm22', '188.00', '1554555389'), ('158', '12', '128.00', '42', '1.90', 'gg33', 'txm33', '188.00', '1554555389'), ('159', '12', '118.00', '46', '457.60', 'gg44', 'txm44', '150.00', '1554555389'), ('160', '12', '118.00', '81', '37.00', 'gg55', 'txm55', '150.00', '1554555389'), ('161', '11', '258.00', '36665655', '0.00', '', '', '268.00', '1554555398'), ('162', '10', '228.00', '36', '0.00', '', '', '568.00', '1554555406'), ('163', '9', '120.00', '12', '0.30', '', '', '160.00', '1554555420'), ('164', '9', '120.00', '87', '0.30', '', '', '160.00', '1554555420'), ('165', '9', '120.00', '13', '0.30', '', '', '160.00', '1554555420'), ('166', '9', '120.00', '76', '0.30', '', '', '160.00', '1554555420'), ('167', '9', '136.00', '43', '0.30', '', '', '188.00', '1554555420'), ('168', '9', '136.00', '56', '0.30', '', '', '188.00', '1554555420'), ('169', '9', '136.00', '21', '0.30', '', '', '188.00', '1554555420'), ('170', '9', '158.00', '243', '0.30', '', '', '216.00', '1554555420'), ('171', '9', '158.00', '45', '0.30', '', '', '216.00', '1554555420'), ('172', '2', '6050.00', '100', '0.00', '', '', '6800.00', '1554555460'), ('173', '2', '6600.00', '200', '0.00', '', '', '7200.00', '1554555460'), ('174', '2', '6800.00', '299', '0.00', '', '', '7600.00', '1554555460'), ('175', '2', '6050.00', '300', '0.00', '', '', '6800.00', '1554555460'), ('176', '2', '6600.00', '300', '0.00', '', '', '7200.00', '1554555460'), ('177', '2', '6800.00', '300', '0.00', '', '', '7600.00', '1554555460'), ('178', '2', '4500.00', '97', '0.00', '', '', '6800.00', '1554555460'), ('179', '2', '4800.00', '50', '0.00', '', '', '6600.00', '1554555460'), ('180', '2', '5500.00', '55', '0.00', '', '', '6000.00', '1554555460'), ('181', '1', '2100.00', '125', '0.00', '', '', '3200.00', '1554556830'); COMMIT; -- ---------------------------- @@ -610,13 +612,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=9 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='消息'; +) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='消息'; -- ---------------------------- -- Records of `s_message` -- ---------------------------- BEGIN; -INSERT INTO `s_message` VALUES ('1', '100', '订单支付', '订单支付成功,金额7.02元', '2', '1', '0', '0', '0', '0', '1553826950'), ('2', '100', '订单支付', '订单支付成功,金额10.01元', '3', '1', '0', '0', '0', '0', '1553827061'), ('3', '77', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '0', '0', '0', '1554188629'), ('4', '104', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '0', '0', '0', '1554195345'), ('5', '104', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '0', '0', '0', '1554256553'), ('6', '108', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '1', '0', '0', '1554270624'), ('7', '114', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '0', '0', '0', '1554343971'), ('8', '115', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '0', '0', '0', '1554344687'); +INSERT INTO `s_message` VALUES ('1', '100', '订单支付', '订单支付成功,金额7.02元', '2', '1', '0', '0', '0', '0', '1553826950'), ('2', '100', '订单支付', '订单支付成功,金额10.01元', '3', '1', '0', '0', '0', '0', '1553827061'), ('3', '77', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '0', '0', '0', '1554188629'), ('4', '104', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '0', '0', '0', '1554195345'), ('5', '104', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '0', '0', '0', '1554256553'), ('6', '108', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '1', '0', '0', '1554270624'), ('7', '114', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '0', '0', '0', '1554343971'), ('8', '115', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '0', '0', '0', '1554344687'), ('9', '90', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '1', '0', '0', '1554962882'), ('10', '90', '订单支付', '订单支付成功,金额267.74元', '1', '1', '0', '1', '0', '0', '1554966442'), ('11', '90', '订单发货', '订单已发货', '1', '1', '0', '1', '0', '0', '1554966457'), ('12', '90', '积分变动', '订单商品完成赠送积分增加1', '0', '0', '0', '1', '0', '0', '1554966464'), ('13', '90', '订单收货', '订单收货成功', '1', '1', '0', '1', '0', '0', '1554966464'); COMMIT; -- ---------------------------- @@ -697,7 +699,14 @@ CREATE TABLE `s_order` ( KEY `shop_id` (`shop_id`), KEY `status` (`status`), KEY `pay_status` (`pay_status`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='订单'; +) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='订单'; + +-- ---------------------------- +-- Records of `s_order` +-- ---------------------------- +BEGIN; +INSERT INTO `s_order` VALUES ('1', '20190411150720949337', '90', '0', '1', 'test', '13222333333', '3', '74', '1149', '23232323', '', '2', '967878', '1', '4', '1', '[{\"name\":\"\\u8fd0\\u8d39\",\"price\":\"10\",\"type\":1,\"tips\":\"+\\uffe510\\u5143\"},{\"name\":\"\\u65b0\\u7528\\u6237\\u7acb\\u51cf\",\"price\":\"0.26\",\"type\":0,\"tips\":\"-\\uffe50.26\\u5143\"}]', '9.74', '0.00', '258.00', '267.74', '267.74', '1554966442', '1554966440', '1554966457', '0', '1554966464', '0', '0', '0', '0', '0', '0', '1554966440', '1554966464'); +COMMIT; -- ---------------------------- -- Table structure for `s_order_comments` @@ -745,7 +754,14 @@ CREATE TABLE `s_order_detail` ( KEY `order_id` (`order_id`), KEY `goods_id` (`goods_id`), KEY `shop_id` (`shop_id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='订单详情'; +) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='订单详情'; + +-- ---------------------------- +-- Records of `s_order_detail` +-- ---------------------------- +BEGIN; +INSERT INTO `s_order_detail` VALUES ('1', '90', '1', '11', '0', '夏季复古ins风格网红SP同款 短袖大圆领香槟色蕾丝绣花钉珠连衣裙', '/static/upload/images/goods/2019/01/14/1547455601314107.jpg', '268.00', '258.00', '', '1', '0.00', '', '', '1554966440', '0'); +COMMIT; -- ---------------------------- -- Table structure for `s_order_goods_inventory_log` @@ -765,7 +781,14 @@ CREATE TABLE `s_order_goods_inventory_log` ( KEY `order_id` (`order_id`), KEY `goods_id` (`goods_id`), KEY `order_status` (`order_status`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='订单商品库存变更日志'; +) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='订单商品库存变更日志'; + +-- ---------------------------- +-- Records of `s_order_goods_inventory_log` +-- ---------------------------- +BEGIN; +INSERT INTO `s_order_goods_inventory_log` VALUES ('1', '1', '11', '2', '36665656', '36665655', '0', '0', '1554966442'); +COMMIT; -- ---------------------------- -- Table structure for `s_order_status_history` @@ -784,7 +807,14 @@ CREATE TABLE `s_order_status_history` ( KEY `order_id` (`order_id`), KEY `original_status` (`original_status`), KEY `new_status` (`new_status`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='订单状态历史纪录'; +) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='订单状态历史纪录'; + +-- ---------------------------- +-- Records of `s_order_status_history` +-- ---------------------------- +BEGIN; +INSERT INTO `s_order_status_history` VALUES ('1', '1', '1', '2', '支付[待付款-待发货]', '0', '系统', '1554966442'), ('2', '1', '2', '3', '收货[待发货-待收货]', '1', 'admin', '1554966457'), ('3', '1', '3', '4', '收货[待收货-已完成]', '90', '魔鬼', '1554966464'); +COMMIT; -- ---------------------------- -- Table structure for `s_pay_log` @@ -806,7 +836,14 @@ CREATE TABLE `s_pay_log` ( PRIMARY KEY (`id`), KEY `pay_type` (`payment`), KEY `order_id` (`order_id`) USING BTREE -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='支付日志'; +) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='支付日志'; + +-- ---------------------------- +-- Records of `s_pay_log` +-- ---------------------------- +BEGIN; +INSERT INTO `s_pay_log` VALUES ('1', '90', '1', '', '用户-魔鬼', '267.74', '267.74', '订单支付', 'CashPayment', '现金支付', '1', '1554966442'); +COMMIT; -- ---------------------------- -- Table structure for `s_payment` @@ -833,7 +870,14 @@ CREATE TABLE `s_payment` ( PRIMARY KEY (`id`), UNIQUE KEY `payment` (`payment`), KEY `is_enable` (`is_enable`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='支付方式'; +) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='支付方式'; + +-- ---------------------------- +-- Records of `s_payment` +-- ---------------------------- +BEGIN; +INSERT INTO `s_payment` VALUES ('1', '现金支付', 'CashPayment', '', '0.0.1', '不限', '现金方式支付货款', 'Devil', 'http://shopxo.net/', '', '', '[\"pc\",\"h5\",\"app\",\"alipay\",\"weixin\",\"baidu\"]', '1', '1', '0', '1554966430', '1554966433'); +COMMIT; -- ---------------------------- -- Table structure for `s_plugins` @@ -855,7 +899,7 @@ CREATE TABLE `s_plugins` ( -- Records of `s_plugins` -- ---------------------------- BEGIN; -INSERT INTO `s_plugins` VALUES ('1', 'commontopmaxpicture', '{\"images\":\"\\/static\\/upload\\/images\\/plugins_commontopmaxpicture\\/2019\\/02\\/09\\/1549671733978860.jpg\",\"bg_color\":\"#ce0000\",\"url\":\"https:\\/\\/shopxo.net\\/\",\"is_new_window_open\":\"1\",\"is_overall\":\"1\",\"time_start\":\"\",\"time_end\":\"\",\"pluginsname\":\"commontopmaxpicture\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1550145321', '1551345727'), ('2', 'commontopnotice', '{\"content\":\"\\u6b22\\u8fce\\u6765\\u5230ShopXO\\u4f01\\u4e1a\\u7ea7B2C\\u5f00\\u6e90\\u7535\\u5546\\u7cfb\\u7edf\\u3001\\u6f14\\u793a\\u7ad9\\u70b9\\u8bf7\\u52ff\\u53d1\\u8d77\\u652f\\u4ed8\\u3001\\u4ee5\\u514d\\u7ed9\\u60a8\\u5e26\\u6765\\u4e0d\\u5fc5\\u8981\\u7684\\u8d22\\u4ea7\\u635f\\u5931\\u3002\",\"is_overall\":\"1\",\"time_start\":\"\",\"time_end\":\"\",\"pluginsname\":\"commontopnotice\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1550156571', '1551345882'), ('3', 'usercentertopnotice', '{\"content\":\"\\u7528\\u6237\\u4e2d\\u5fc3\\u516c\\u544a\",\"time_start\":\"\",\"time_end\":\"\",\"pluginsname\":\"usercentertopnotice\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1550157860', '1551191932'), ('14', 'userloginrewardintegral', '{\"give_integral\":\"5\",\"is_day_once\":\"1\",\"time_start\":\"\",\"time_end\":\"\",\"pluginsname\":\"userloginrewardintegral\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1550151175', '1551191930'), ('15', 'commongobacktop', '{\"images\":\"\\/static\\/upload\\/images\\/plugins_commongobacktop\\/2019\\/02\\/15\\/1550210425433304.png\",\"is_overall\":\"1\",\"pluginsname\":\"commongobacktop\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '0', '1550200998', '1551191928'), ('16', 'commonrightnavigation', '{\"weixin_mini_qrcode_images\":\"\\/static\\/upload\\/images\\/plugins_commonrightnavigation\\/2019\\/02\\/17\\/1550375588899802.jpeg\",\"is_new_window_open\":\"0\",\"is_overall\":\"1\",\"is_goods_page_show_cart\":\"1\",\"pluginsname\":\"commonrightnavigation\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\",\"alipay_mini_qrcode_images\":\"\",\"alipay_fuwu_qrcode_images\":\"\",\"weixin_fuwu_qrcode_images\":\"\"}', '1', '1550222925', '1553680132'), ('17', 'commononlineservice', '{\"title\":\"ShopXO\\u5728\\u7ebf\\u5ba2\\u670d\",\"online_service\":\"\\u552e\\u524d|12345678\\n\\u552e\\u540e|12345678\",\"tel\":\"021-88888888\",\"is_overall\":\"1\",\"bg_color\":\"\",\"distance_top\":\"3\",\"pluginsname\":\"commononlineservice\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1550393304', '1553650893'), ('20', 'usernotloginhidegoodsprice', '{\"original_price_placeholder\":\"\",\"price_placeholder\":\"\",\"pluginsname\":\"usernotloginhidegoodsprice\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '0', '1551184852', '1553591863'), ('21', 'answers', '{\"application_name\":\"\\u95ee\\u7b54\",\"images\":\"\\/static\\/upload\\/images\\/plugins_answers\\/2019\\/03\\/07\\/1551942704326624.jpg\",\"url\":\"http:\\/\\/shopxo.net\\/\",\"is_new_window_open\":\"1\",\"images_bottom\":\"\\/static\\/upload\\/images\\/plugins_answers\\/2019\\/03\\/13\\/1552463137211834.png\",\"url_bottom\":\"https:\\/\\/test.shopxo.net\",\"is_new_window_open_bottom\":\"1\",\"right_top_rec_name\":\"\",\"middle_new_name\":\"\",\"right_top_goods_name\":\"\",\"middle_new_page_number\":\"15\",\"search_page_number\":\"28\",\"home_new_goods_number\":\"12\",\"category_ids\":\"12,7,6,4,3,2,1\",\"pluginsname\":\"answers\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"basesave\"}', '1', '1551853705', '1552724209'), ('23', 'expressforkdn', '{\"ebid\":\"\",\"appkey\":\"\",\"express_ids\":{\"1\":\"\",\"2\":\"\",\"3\":\"\",\"4\":\"ZTO\",\"5\":\"\",\"6\":\"\",\"7\":\"\",\"8\":\"\",\"9\":\"\",\"10\":\"\",\"11\":\"\",\"12\":\"\",\"13\":\"\",\"14\":\"\"},\"pluginsname\":\"expressforkdn\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1552358826', '1553161103'), ('25', 'touristbuy', '{\"application_name\":\"\\u8ba2\\u5355\\u67e5\\u8be2\",\"login_name\":\"\\u6e38\\u5ba2\\u767b\\u5f55\",\"nickname\":\"\\u6e38\\u5ba2\",\"query_tips\":\"\\u8bf7\\u8f93\\u5165\\u8ba2\\u5355\\u53f7\\uff0c\\u6536\\u4ef6\\u4eba\\u59d3\\u540d\\uff0c\\u6536\\u4ef6\\u4eba\\u7535\\u8bdd\\u5373\\u53ef\\u67e5\\u770b\\u8ba2\\u5355\\u8be6\\u60c5\",\"is_default_tourist\":\"0\",\"pluginsname\":\"touristbuy\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1552656743', '1553486026'), ('26', 'freightfee', '{\"show_name\":\"\\u8fd0\\u8d39\",\"valuation\":\"0\",\"data\":{\"0\":{\"region\":\"default\",\"region_show\":\"default\",\"first\":\"1\",\"first_price\":\"10\",\"continue\":\"1\",\"continue_price\":\"5\"},\"403611\":{\"region\":\"55-56-57-58-59-60-61-62-63-64-65-66-67-68-69-70-71-72\",\"region_show\":\"2\",\"first\":\"1\",\"first_price\":\"6\",\"continue\":\"1\",\"continue_price\":\"3\"}},\"pluginsname\":\"freightfee\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1552894438', '1553225909'), ('27', 'newuserreduction', '{\"show_name\":\"\\u65b0\\u7528\\u6237\\u7acb\\u51cf\",\"full_amount\":\"\",\"price\":\"3\",\"is_random\":\"1\",\"pluginsname\":\"newuserreduction\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1553483809', '1553593711'), ('30', 'ucenter', '{\"login_sync_url\":\"\",\"login_async_url\":\"\",\"register_sync_url\":\"\",\"register_async_url\":\"\",\"logout_sync_url\":\"\",\"logout_async_url\":\"\",\"loginpwdupdate_async_url\":\"\",\"accounts_async_url\":\"\",\"pluginsname\":\"ucenter\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '0', '1554186010', '1554349799'), ('31', 'petscms', null, '0', '1554186010', '1554815301'); +INSERT INTO `s_plugins` VALUES ('1', 'commontopmaxpicture', '{\"images\":\"\\/static\\/upload\\/images\\/plugins_commontopmaxpicture\\/2019\\/02\\/09\\/1549671733978860.jpg\",\"bg_color\":\"#ce0000\",\"url\":\"https:\\/\\/shopxo.net\\/\",\"is_new_window_open\":\"1\",\"is_overall\":\"1\",\"time_start\":\"\",\"time_end\":\"\",\"pluginsname\":\"commontopmaxpicture\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1550145321', '1551345727'), ('2', 'commontopnotice', '{\"content\":\"\\u6b22\\u8fce\\u6765\\u5230ShopXO\\u4f01\\u4e1a\\u7ea7B2C\\u5f00\\u6e90\\u7535\\u5546\\u7cfb\\u7edf\\u3001\\u6f14\\u793a\\u7ad9\\u70b9\\u8bf7\\u52ff\\u53d1\\u8d77\\u652f\\u4ed8\\u3001\\u4ee5\\u514d\\u7ed9\\u60a8\\u5e26\\u6765\\u4e0d\\u5fc5\\u8981\\u7684\\u8d22\\u4ea7\\u635f\\u5931\\u3002\",\"is_overall\":\"1\",\"time_start\":\"\",\"time_end\":\"\",\"pluginsname\":\"commontopnotice\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1550156571', '1551345882'), ('3', 'usercentertopnotice', '{\"content\":\"\\u7528\\u6237\\u4e2d\\u5fc3\\u516c\\u544a\",\"time_start\":\"\",\"time_end\":\"\",\"pluginsname\":\"usercentertopnotice\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1550157860', '1551191932'), ('14', 'userloginrewardintegral', '{\"give_integral\":\"5\",\"is_day_once\":\"1\",\"time_start\":\"\",\"time_end\":\"\",\"pluginsname\":\"userloginrewardintegral\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1550151175', '1551191930'), ('15', 'commongobacktop', '{\"images\":\"\\/static\\/upload\\/images\\/plugins_commongobacktop\\/2019\\/02\\/15\\/1550210425433304.png\",\"is_overall\":\"1\",\"pluginsname\":\"commongobacktop\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '0', '1550200998', '1551191928'), ('16', 'commonrightnavigation', '{\"weixin_mini_qrcode_images\":\"\\/static\\/upload\\/images\\/plugins_commonrightnavigation\\/2019\\/02\\/17\\/1550375588899802.jpeg\",\"is_new_window_open\":\"0\",\"is_overall\":\"1\",\"is_goods_page_show_cart\":\"1\",\"pluginsname\":\"commonrightnavigation\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\",\"alipay_mini_qrcode_images\":\"\",\"alipay_fuwu_qrcode_images\":\"\",\"weixin_fuwu_qrcode_images\":\"\"}', '1', '1550222925', '1553680132'), ('17', 'commononlineservice', '{\"title\":\"ShopXO\\u5728\\u7ebf\\u5ba2\\u670d\",\"online_service\":\"\\u552e\\u524d|12345678\\n\\u552e\\u540e|12345678\",\"tel\":\"021-88888888\",\"is_overall\":\"1\",\"bg_color\":\"\",\"distance_top\":\"3\",\"pluginsname\":\"commononlineservice\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1550393304', '1553650893'), ('20', 'usernotloginhidegoodsprice', '{\"original_price_placeholder\":\"\",\"price_placeholder\":\"\",\"pluginsname\":\"usernotloginhidegoodsprice\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '0', '1551184852', '1553591863'), ('21', 'answers', '{\"application_name\":\"\\u95ee\\u7b54\",\"images\":\"\\/static\\/upload\\/images\\/plugins_answers\\/2019\\/03\\/07\\/1551942704326624.jpg\",\"url\":\"http:\\/\\/shopxo.net\\/\",\"is_new_window_open\":\"1\",\"images_bottom\":\"\\/static\\/upload\\/images\\/plugins_answers\\/2019\\/03\\/13\\/1552463137211834.png\",\"url_bottom\":\"https:\\/\\/test.shopxo.net\",\"is_new_window_open_bottom\":\"1\",\"right_top_rec_name\":\"\",\"middle_new_name\":\"\",\"right_top_goods_name\":\"\",\"middle_new_page_number\":\"15\",\"search_page_number\":\"28\",\"home_new_goods_number\":\"12\",\"category_ids\":\"12,7,6,4,3,2,1\",\"pluginsname\":\"answers\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"basesave\"}', '1', '1551853705', '1552724209'), ('23', 'expressforkdn', '{\"ebid\":\"\",\"appkey\":\"\",\"express_ids\":{\"1\":\"\",\"2\":\"\",\"3\":\"\",\"4\":\"ZTO\",\"5\":\"\",\"6\":\"\",\"7\":\"\",\"8\":\"\",\"9\":\"\",\"10\":\"\",\"11\":\"\",\"12\":\"\",\"13\":\"\",\"14\":\"\"},\"pluginsname\":\"expressforkdn\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1552358826', '1553161103'), ('25', 'touristbuy', '{\"application_name\":\"\\u8ba2\\u5355\\u67e5\\u8be2\",\"login_name\":\"\\u6e38\\u5ba2\\u767b\\u5f55\",\"nickname\":\"\\u6e38\\u5ba2\",\"query_tips\":\"\\u8bf7\\u8f93\\u5165\\u8ba2\\u5355\\u53f7\\uff0c\\u6536\\u4ef6\\u4eba\\u59d3\\u540d\\uff0c\\u6536\\u4ef6\\u4eba\\u7535\\u8bdd\\u5373\\u53ef\\u67e5\\u770b\\u8ba2\\u5355\\u8be6\\u60c5\",\"is_default_tourist\":\"0\",\"pluginsname\":\"touristbuy\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1552656743', '1553486026'), ('26', 'freightfee', '{\"show_name\":\"\\u8fd0\\u8d39\",\"valuation\":\"0\",\"data\":{\"0\":{\"region\":\"default\",\"region_show\":\"default\",\"first\":\"1\",\"first_price\":\"10\",\"continue\":\"1\",\"continue_price\":\"5\"},\"403611\":{\"region\":\"55-56-57-58-59-60-61-62-63-64-65-66-67-68-69-70-71-72\",\"region_show\":\"2\",\"first\":\"1\",\"first_price\":\"6\",\"continue\":\"1\",\"continue_price\":\"3\"}},\"pluginsname\":\"freightfee\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1552894438', '1553225909'), ('27', 'newuserreduction', '{\"show_name\":\"\\u65b0\\u7528\\u6237\\u7acb\\u51cf\",\"full_amount\":\"\",\"price\":\"3\",\"is_random\":\"1\",\"pluginsname\":\"newuserreduction\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1553483809', '1553593711'), ('30', 'ucenter', '{\"login_sync_url\":\"\",\"login_async_url\":\"\",\"register_sync_url\":\"\",\"register_async_url\":\"\",\"logout_sync_url\":\"\",\"logout_async_url\":\"\",\"loginpwdupdate_async_url\":\"\",\"accounts_async_url\":\"\",\"pluginsname\":\"ucenter\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '0', '1554186010', '1554349799'), ('31', 'petscms', null, '1', '1554186010', '1554963127'); COMMIT; -- ---------------------------- @@ -902,6 +946,32 @@ BEGIN; INSERT INTO `s_plugins_answers_slide` VALUES ('1', '品牌盛宴', '/static/upload/images/plugins_answers/2019/03/07/1551940388704924.jpg', '', '1', '1', '1551865738', '1553590786'), ('2', '你想要的', '/static/upload/images/plugins_answers/2019/03/07/1551940388179648.jpg', 'https://ask.shopxo.net/article/6', '1', '3', '1551866754', '1551940526'), ('3', '爱上潮流名店', '/static/upload/images/plugins_answers/2019/03/07/1551940310193935.jpg', 'https://shopxo.net/', '1', '0', '1551940433', '1551940506'); COMMIT; +-- ---------------------------- +-- Table structure for `s_plugins_petscms_pets` +-- ---------------------------- +DROP TABLE IF EXISTS `s_plugins_petscms_pets`; +CREATE TABLE `s_plugins_petscms_pets` ( + `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增id', + `title` char(60) NOT NULL DEFAULT '' COMMENT '标题', + `name` char(30) NOT NULL DEFAULT '' COMMENT '名字', + `birthday` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '出生日期', + `type` char(60) NOT NULL DEFAULT '' COMMENT '类型', + `varieties` char(60) NOT NULL DEFAULT '' COMMENT '品种', + `gender` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '性别(0公, 1母)', + `sterilization` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '是否绝育(0否, 1是)', + `vaccine` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '是否疫苗(0否, 1是)', + `photo` mediumtext NOT NULL COMMENT '相册(json数据)', + `content` mediumtext NOT NULL COMMENT '宠物简介', + `person_name` char(30) NOT NULL DEFAULT '' COMMENT '主人姓名', + `person_tel` char(30) NOT NULL DEFAULT '' COMMENT '主人电话', + `person_weixin` char(30) 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 `type` (`type`), + KEY `gender` (`gender`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='宠物管理系统宠物 - 应用'; + -- ---------------------------- -- Table structure for `s_power` -- ---------------------------- @@ -1143,7 +1213,7 @@ CREATE TABLE `s_user` ( -- Records of `s_user` -- ---------------------------- BEGIN; -INSERT INTO `s_user` VALUES ('77', '', '', '', '0', '776202', '09b2f04a4fbbe3a229c1a2a9610b9457', '', '龚哥哥', '13250814883', '', '2', 'https://tfs.alipayobjects.com/images/partner/T10d8lXm4dXXXXXXXX', '上海', '上海市', '1540915200', '', '1103', '0', '0', '0', '0', '1554190351'), ('90', '2088502175420842', '', '', '0', '208731', '9fff3059357fafcb709b6288a412e54a', '', '魔鬼', '17688888888', '', '2', '', '上海', '上海市', '666201600', '', '45', '0', '0', '0', '1539167253', '1551174265'); +INSERT INTO `s_user` VALUES ('77', '', '', '', '0', '776202', '09b2f04a4fbbe3a229c1a2a9610b9457', '', '龚哥哥', '13250814883', '', '2', 'https://tfs.alipayobjects.com/images/partner/T10d8lXm4dXXXXXXXX', '上海', '上海市', '1540915200', '', '1103', '0', '0', '0', '0', '1554190351'), ('90', '2088502175420842', '', '', '0', '918597', '2dad03ee545042224f51b9d3e55a240d', '', '魔鬼', '17688888888', '', '2', '', '上海', '上海市', '666201600', '', '51', '0', '0', '0', '1539167253', '1554963504'); COMMIT; -- ---------------------------- @@ -1169,7 +1239,14 @@ CREATE TABLE `s_user_address` ( PRIMARY KEY (`id`), KEY `user_id` (`user_id`), KEY `is_enable` (`is_delete_time`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='用户地址'; +) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='用户地址'; + +-- ---------------------------- +-- Records of `s_user_address` +-- ---------------------------- +BEGIN; +INSERT INTO `s_user_address` VALUES ('1', '90', '', 'test', '13222333333', '3', '74', '1149', '23232323', '0.0000000000', '0.0000000000', '0', '0', '1554966412', '1554966418'); +COMMIT; -- ---------------------------- -- Table structure for `s_user_integral_log` @@ -1186,6 +1263,13 @@ CREATE TABLE `s_user_integral_log` ( `add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间', PRIMARY KEY (`id`), KEY `user_id` (`user_id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='用户积分日志'; +) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='用户积分日志'; + +-- ---------------------------- +-- Records of `s_user_integral_log` +-- ---------------------------- +BEGIN; +INSERT INTO `s_user_integral_log` VALUES ('1', '90', '1', '45', '50', '登录奖励积分', '0', '1554962882'), ('2', '90', '1', '50', '51', '订单商品完成赠送', '0', '1554966464'); +COMMIT; SET FOREIGN_KEY_CHECKS = 1; diff --git a/public/static/common/lib/ueditor/ueditor.config.js b/public/static/common/lib/ueditor/ueditor.config.js index e20dd8aa5..faea5f3c6 100755 --- a/public/static/common/lib/ueditor/ueditor.config.js +++ b/public/static/common/lib/ueditor/ueditor.config.js @@ -94,7 +94,7 @@ //,indentValue:'2em' //,initialFrameWidth:1000 //初始化编辑器宽度,默认1000 - ,initialFrameHeight:500 //初始化编辑器高度,默认320 + ,initialFrameHeight:350 //初始化编辑器高度,默认320 //,readonly : false //编辑器初始化结束后,编辑区域是否是只读的,默认是false @@ -291,7 +291,7 @@ //autoFloatEnabled //是否保持toolbar的位置不动,默认true - //,autoFloatEnabled:true + ,autoFloatEnabled:false //浮动时工具栏距离浏览器顶部的高度,用于某些具有固定头部的页面 //,topOffset:30 //编辑器底部距离工具栏高度(如果参数大于等于编辑器高度,则设置无效) diff --git a/public/static/plugins/css/petscms/pets.css b/public/static/plugins/css/petscms/pets.css new file mode 100644 index 000000000..b93268f6e --- /dev/null +++ b/public/static/plugins/css/petscms/pets.css @@ -0,0 +1,38 @@ +/* 筛选 */ +.thin, .pay-list { overflow:hidden; } +.thin .so { width:66%; } +.thin_sub { font-weight:100; margin:10px 0px 0px 10px; cursor: pointer; } +.so-list { width:100%; margin-top: 20px; } +.so-list * { font-size:1.2rem !important; } +.so-list input { height:28px; display:inline !important; } +.time input, .so-list .chosen-container { background:#FFF !important; } +.time input { width:100px !important; } +.time i { position:absolute; margin:4px 0px 0px -15px; } +.price input { width:101px !important; } +.time, .time { width:50%; } +.so-list tr+tr>td:first-child { padding-top:10px; } +.so-list .chosen-container { border-radius:2px; } +.text-grey { color: #999; } +.chosen-container-single .chosen-single, .so-list select { height: 28px; line-height: 28px; width: 100%; } +.reset-submit { margin-left: 20px; } +.so-list select { padding: 0 0 0 8px; } +.operation-nav { margin-top: 15px; } +@media only screen and (min-width: 641px){ + .so-list .chosen-container, .so-list select { width:217px !important; display: -webkit-inline-box; } + .thin_sub:hover { color:#F60; } +} +@media only screen and (max-width: 641px){ + .so-list input { width:40% !important; } + .so-list td { width:100%; display:block; } + .so-list tr td:last-child { margin-top:10px; } + .so-list .chosen-container { width:85%; } + .so-list .chosen-container { width:100%; } + .so-list tr td:last-child { padding-top:0px !important; } + .chosen-container-single .chosen-search input[type="text"] { width: 100% !important; } + .so-list select { width: calc(100% - 44px); display: -webkit-inline-box; } +} + +/** + * 添加/编辑页面 + */ +.person-view .am-form-group:last-child {border-bottom: 0; } \ No newline at end of file -- GitLab