diff --git a/README.md b/README.md
old mode 100644
new mode 100755
diff --git a/application/admin/controller/Plugins.php b/application/admin/controller/Plugins.php
old mode 100644
new mode 100755
diff --git a/application/admin/controller/Pluginsadmin.php b/application/admin/controller/Pluginsadmin.php
old mode 100644
new mode 100755
diff --git a/application/admin/controller/Sqlconsole.php b/application/admin/controller/Sqlconsole.php
old mode 100644
new mode 100755
diff --git a/application/admin/view/default/pluginsadmin/first_step.html b/application/admin/view/default/pluginsadmin/first_step.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/default/pluginsadmin/index.html b/application/admin/view/default/pluginsadmin/index.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/default/pluginsadmin/nav.html b/application/admin/view/default/pluginsadmin/nav.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/default/pluginsadmin/save_info.html b/application/admin/view/default/pluginsadmin/save_info.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/default/pluginsadmin/upload.html b/application/admin/view/default/pluginsadmin/upload.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/default/public/error.html b/application/admin/view/default/public/error.html
old mode 100644
new mode 100755
diff --git a/application/admin/view/default/sqlconsole/index.html b/application/admin/view/default/sqlconsole/index.html
old mode 100644
new mode 100755
diff --git a/application/common/Http.php b/application/common/Http.php
old mode 100644
new mode 100755
diff --git a/application/http/middleware/SystemEnvCheck.php b/application/http/middleware/SystemEnvCheck.php
old mode 100644
new mode 100755
diff --git a/application/index/controller/Plugins.php b/application/index/controller/Plugins.php
old mode 100644
new mode 100755
diff --git a/application/install/config/template.php b/application/install/config/template.php
old mode 100644
new mode 100755
diff --git a/application/install/controller/Common.php b/application/install/controller/Common.php
old mode 100644
new mode 100755
diff --git a/application/install/controller/Error.php b/application/install/controller/Error.php
old mode 100644
new mode 100755
diff --git a/application/install/controller/Index.php b/application/install/controller/Index.php
old mode 100644
new mode 100755
diff --git a/application/install/view/index/check.html b/application/install/view/index/check.html
old mode 100644
new mode 100755
diff --git a/application/install/view/index/create.html b/application/install/view/index/create.html
old mode 100644
new mode 100755
diff --git a/application/install/view/index/index.html b/application/install/view/index/index.html
old mode 100644
new mode 100755
diff --git a/application/install/view/index/successful.html b/application/install/view/index/successful.html
old mode 100644
new mode 100755
diff --git a/application/middleware.php b/application/middleware.php
old mode 100644
new mode 100755
diff --git a/application/plugins/answers/Admin.php b/application/plugins/answers/Admin.php
new file mode 100644
index 000000000..21a046daa
--- /dev/null
+++ b/application/plugins/answers/Admin.php
@@ -0,0 +1,198 @@
+assign('data', isset($base['data']) ? $base['data'] : []);
+
+ // 幻灯片
+ $data_params = array(
+ 'where' => ['is_enable'=>1],
+ );
+ $slider = Service::SlideList($data_params);
+ $this->assign('slider', isset($slider['data']) ? $slider['data'] : []);
+
+
+ return $this->fetch('../../../plugins/view/answers/admin/index');
+ }
+
+ /**
+ * 基础信息编辑页面
+ * @author Devil
+ * @blog http://gong.gg/
+ * @version 1.0.0
+ * @datetime 2019-02-07T08:21:54+0800
+ * @param [array] $params [输入参数]
+ */
+ public function baseinfo($params = [])
+ {
+ $ret = PluginsService::PluginsData('answers', ['images']);
+ if($ret['code'] == 0)
+ {
+ // 是否
+ $is_whether_list = [
+ 0 => array('id' => 0, 'name' => '否', 'checked' => true),
+ 1 => array('id' => 1, 'name' => '是'),
+ ];
+
+ $this->assign('is_whether_list', $is_whether_list);
+ $this->assign('data', $ret['data']);
+ return $this->fetch('../../../plugins/view/answers/admin/baseinfo');
+ } else {
+ return $ret['msg'];
+ }
+ }
+
+ /**
+ * 基础数据保存
+ * @author Devil
+ * @blog http://gong.gg/
+ * @version 1.0.0
+ * @datetime 2019-02-07T08:21:54+0800
+ * @param [array] $params [输入参数]
+ */
+ public function basesave($params = [])
+ {
+ return PluginsService::PluginsDataSave(['plugins'=>'answers', 'data'=>$params], ['images']);
+ }
+
+ /**
+ * 幻灯片页面
+ * @author Devil
+ * @blog http://gong.gg/
+ * @version 1.0.0
+ * @datetime 2019-02-07T08:21:54+0800
+ * @param [array] $params [输入参数]
+ */
+ public function slider($params = [])
+ {
+ $ret = Service::SlideList();
+ if($ret['code'] == 0)
+ {
+ $this->assign('data_list', $ret['data']);
+ return $this->fetch('../../../plugins/view/answers/admin/slider');
+ } else {
+ return $ret['msg'];
+ }
+ }
+
+ /**
+ * 幻灯片编辑
+ * @author Devil
+ * @blog http://gong.gg/
+ * @version 1.0.0
+ * @datetime 2019-02-07T08:21:54+0800
+ * @param [array] $params [输入参数]
+ */
+ public function sliderinfo($params = [])
+ {
+ // 参数
+ $params = input();
+
+ // 数据
+ if(!empty($params['id']))
+ {
+ $data_params = array(
+ 'where' => ['id'=>intval($params['id'])],
+ );
+ $ret = Service::SlideList($data_params);
+ $this->assign('data', empty($ret['data'][0]) ? [] : $ret['data'][0]);
+ }
+
+ return $this->fetch('../../../plugins/view/answers/admin/sliderinfo');
+ }
+
+ /**
+ * 幻灯片保存
+ * @author Devil
+ * @blog http://gong.gg/
+ * @version 1.0.0
+ * @datetime 2019-02-07T08:21:54+0800
+ * @param [array] $params [输入参数]
+ */
+ public function slidersave($params = [])
+ {
+ // 是否ajax请求
+ if(!IS_AJAX)
+ {
+ return $this->error('非法访问');
+ }
+
+ // 开始处理
+ $params = input();
+ return Service::SlideSave($params);
+ }
+
+ /**
+ * 幻灯片删除
+ * @author Devil
+ * @blog http://gong.gg/
+ * @version 0.0.1
+ * @datetime 2016-12-15T11:03:30+0800
+ */
+ public function sliderdelete()
+ {
+ // 是否ajax请求
+ if(!IS_AJAX)
+ {
+ return $this->error('非法访问');
+ }
+
+ // 开始处理
+ $params = input();
+ return Service::SlideDelete($params);
+ }
+
+ /**
+ * 幻灯片状态更新
+ * @author Devil
+ * @blog http://gong.gg/
+ * @version 0.0.1
+ * @datetime 2017-01-12T22:23:06+0800
+ */
+ public function sliderstatusupdate()
+ {
+ // 是否ajax请求
+ if(!IS_AJAX)
+ {
+ return $this->error('非法访问');
+ }
+
+ // 开始处理
+ $params = input();
+ return Service::SlideStatusUpdate($params);
+ }
+}
+?>
\ No newline at end of file
diff --git a/application/plugins/answers/Hook.php b/application/plugins/answers/Hook.php
new file mode 100644
index 000000000..502854699
--- /dev/null
+++ b/application/plugins/answers/Hook.php
@@ -0,0 +1,34 @@
+
\ No newline at end of file
diff --git a/application/plugins/answers/Index.php b/application/plugins/answers/Index.php
new file mode 100644
index 000000000..408eb14f7
--- /dev/null
+++ b/application/plugins/answers/Index.php
@@ -0,0 +1,24 @@
+assign('data', ['hello', 'world!']);
+ $this->assign('msg', 'hello world! index');
+ return $this->fetch('../../../plugins/view/answers/index/index');
+ }
+}
+?>
\ No newline at end of file
diff --git a/application/plugins/answers/Service.php b/application/plugins/answers/Service.php
new file mode 100644
index 000000000..edea9c97a
--- /dev/null
+++ b/application/plugins/answers/Service.php
@@ -0,0 +1,208 @@
+where($where)->order('sort asc')->select();
+ if(!empty($data))
+ {
+ $common_is_enable_tips = lang('common_is_enable_tips');
+ foreach($data as &$v)
+ {
+ // 是否启用
+ $v['is_enable_text'] = $common_is_enable_tips[$v['is_enable']]['name'];
+
+ // 图片地址
+ $v['images_url_old'] = $v['images_url'];
+ $v['images_url'] = ResourcesService::AttachmentPathViewHandle($v['images_url']);
+
+ // 时间
+ $v['add_time_time'] = date('Y-m-d H:i:s', $v['add_time']);
+ $v['add_time_date'] = date('Y-m-d', $v['add_time']);
+ $v['upd_time_time'] = date('Y-m-d H:i:s', $v['upd_time']);
+ $v['upd_time_date'] = date('Y-m-d', $v['upd_time']);
+ }
+ }
+ return DataReturn('处理成功', 0, $data);
+ }
+
+ /**
+ * 幻灯片数据保存
+ * @author Devil
+ * @blog http://gong.gg/
+ * @version 1.0.0
+ * @date 2018-12-19
+ * @desc description
+ * @param [array] $params [输入参数]
+ */
+ public static function SlideSave($params = [])
+ {
+ // 请求类型
+ $p = [
+ [
+ 'checked_type' => 'length',
+ 'key_name' => 'name',
+ 'checked_data' => '2,60',
+ 'error_msg' => '名称长度 2~60 个字符',
+ ],
+ [
+ 'checked_type' => 'empty',
+ 'key_name' => 'images_url',
+ 'checked_data' => '255',
+ 'error_msg' => '请上传图片',
+ ],
+ [
+ 'checked_type' => 'fun',
+ 'key_name' => 'url',
+ 'checked_data' => 'CheckUrl',
+ 'error_msg' => 'url格式有误',
+ ],
+ [
+ 'checked_type' => 'length',
+ 'key_name' => 'sort',
+ 'checked_data' => '3',
+ 'error_msg' => '顺序 0~255 之间的数值',
+ ],
+ ];
+ $ret = ParamsChecked($params, $p);
+ if($ret !== true)
+ {
+ return DataReturn($ret, -1);
+ }
+
+ // 附件
+ $data_fields = ['images_url'];
+ $attachment = ResourcesService::AttachmentParams($params, $data_fields);
+
+ // 数据
+ $data = [
+ 'name' => $params['name'],
+ 'url' => $params['url'],
+ 'images_url' => $attachment['data']['images_url'],
+ 'sort' => intval($params['sort']),
+ 'is_enable' => isset($params['is_enable']) ? intval($params['is_enable']) : 0,
+ ];
+
+ if(empty($params['id']))
+ {
+ $data['add_time'] = time();
+ if(Db::name('PluginsAnswersSlide')->insertGetId($data) > 0)
+ {
+ return DataReturn('添加成功', 0);
+ }
+ return DataReturn('添加失败', -100);
+ } else {
+ $data['upd_time'] = time();
+ if(Db::name('PluginsAnswersSlide')->where(['id'=>intval($params['id'])])->update($data))
+ {
+ return DataReturn('编辑成功', 0);
+ }
+ return DataReturn('编辑失败', -100);
+ }
+ }
+
+ /**
+ * 幻灯片删除
+ * @author Devil
+ * @blog http://gong.gg/
+ * @version 1.0.0
+ * @date 2018-12-18
+ * @desc description
+ * @param [array] $params [输入参数]
+ */
+ public static function SlideDelete($params = [])
+ {
+ // 请求参数
+ $p = [
+ [
+ 'checked_type' => 'empty',
+ 'key_name' => 'id',
+ 'error_msg' => '操作id有误',
+ ],
+ ];
+ $ret = ParamsChecked($params, $p);
+ if($ret !== true)
+ {
+ return DataReturn($ret, -1);
+ }
+
+ // 删除操作
+ if(Db::name('PluginsAnswersSlide')->where(['id'=>$params['id']])->delete())
+ {
+ return DataReturn('删除成功');
+ }
+
+ return DataReturn('删除失败或资源不存在', -100);
+ }
+
+ /**
+ * 幻灯片状态更新
+ * @author Devil
+ * @blog http://gong.gg/
+ * @version 0.0.1
+ * @datetime 2016-12-06T21:31:53+0800
+ * @param [array] $params [输入参数]
+ */
+ public static function SlideStatusUpdate($params = [])
+ {
+ // 请求参数
+ $p = [
+ [
+ 'checked_type' => 'empty',
+ 'key_name' => 'id',
+ 'error_msg' => '操作id有误',
+ ],
+ [
+ 'checked_type' => 'in',
+ 'key_name' => 'state',
+ 'checked_data' => [0,1],
+ 'error_msg' => '状态有误',
+ ],
+ ];
+ $ret = ParamsChecked($params, $p);
+ if($ret !== true)
+ {
+ return DataReturn($ret, -1);
+ }
+
+ // 数据更新
+ if(Db::name('PluginsAnswersSlide')->where(['id'=>intval($params['id'])])->update(['is_enable'=>intval($params['state'])]))
+ {
+ return DataReturn('编辑成功');
+ }
+ return DataReturn('编辑失败或数据未改变', -100);
+ }
+}
+?>
\ No newline at end of file
diff --git a/application/plugins/answers/config.json b/application/plugins/answers/config.json
new file mode 100644
index 000000000..a73d7f7cd
--- /dev/null
+++ b/application/plugins/answers/config.json
@@ -0,0 +1,22 @@
+{
+ "base":{
+ "plugins":"answers",
+ "name":"问答",
+ "logo":"\/static\/upload\/images\/plugins_answers\/2019\/03\/06\/1551853529634743.png",
+ "author":"Devil",
+ "author_url":"https:\/\/shopxo.net\/",
+ "version":"1.0.0",
+ "desc":"问答系统",
+ "apply_terminal":[
+ "pc",
+ "h5"
+ ],
+ "apply_version":[
+ "1.4.0"
+ ],
+ "is_home":true
+ },
+ "hook":{
+
+ }
+}
\ No newline at end of file
diff --git a/application/plugins/commonrightnavigation/Index.php b/application/plugins/commonrightnavigation/Index.php
old mode 100644
new mode 100755
diff --git a/application/plugins/usernotloginhidegoodsprice/Admin.php b/application/plugins/usernotloginhidegoodsprice/Admin.php
old mode 100644
new mode 100755
diff --git a/application/plugins/usernotloginhidegoodsprice/Hook.php b/application/plugins/usernotloginhidegoodsprice/Hook.php
old mode 100644
new mode 100755
diff --git a/application/plugins/usernotloginhidegoodsprice/config.json b/application/plugins/usernotloginhidegoodsprice/config.json
old mode 100644
new mode 100755
diff --git a/application/plugins/view/answers/admin/baseinfo.html b/application/plugins/view/answers/admin/baseinfo.html
new file mode 100755
index 000000000..abea0b93f
--- /dev/null
+++ b/application/plugins/view/answers/admin/baseinfo.html
@@ -0,0 +1,54 @@
+{{include file="public/header" /}}
+
+
+
+
+
+
+{{include file="public/footer" /}}
+
\ No newline at end of file
diff --git a/application/plugins/view/answers/admin/index.html b/application/plugins/view/answers/admin/index.html
new file mode 100644
index 000000000..f91526138
--- /dev/null
+++ b/application/plugins/view/answers/admin/index.html
@@ -0,0 +1,143 @@
+{{include file="public/header" /}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{if empty($data['right_top_hot_name'])}}
+ 热门问答
+ {{else /}}
+ {{$data.right_top_hot_name}}
+ {{/if}}
+
+
+
+
+
+
+ {{if empty($data['right_middle_new_name'])}}
+ 最新问答
+ {{else /}}
+ {{$data.right_middle_new_name}}
+ {{/if}}
+
+
+
+
+
+
+ {{if empty($data['right_top_goods_name'])}}
+ 推荐商品
+ {{else /}}
+ {{$data.right_top_goods_name}}
+ {{/if}}
+
+
+
+
+
+
+
+
+
+ {{if !empty($slider)}}
+
+ {{else /}}
+ 没有幻灯片
+ {{/if}}
+
+
+
+
+
+
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+
+
+
+
+
+
+
+
+
+{{include file="public/footer" /}}
+
\ No newline at end of file
diff --git a/application/plugins/view/answers/admin/slider.html b/application/plugins/view/answers/admin/slider.html
new file mode 100644
index 000000000..382002e0e
--- /dev/null
+++ b/application/plugins/view/answers/admin/slider.html
@@ -0,0 +1,70 @@
+{{include file="public/header" /}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 名称 |
+ 图片 |
+ url地址 |
+ 是否启用 |
+ 创建时间 |
+ 操作 |
+
+
+
+ {{if !empty($data_list)}}
+ {{foreach $data_list as $v}}
+
+ {{$v.name}} |
+
+ {{if !empty($v['images_url'])}}
+
+
+
+ {{else /}}
+ 暂无图片
+ {{/if}}
+ |
+ {{$v.url}} |
+
+
+ |
+ {{$v.add_time_time}} |
+
+
+
+
+
+ |
+
+ {{/foreach}}
+ {{else /}}
+ 没有相关数据 |
+ {{/if}}
+
+
+
+
+
+
+
+
+
+{{include file="public/footer" /}}
+
\ No newline at end of file
diff --git a/application/plugins/view/answers/admin/sliderinfo.html b/application/plugins/view/answers/admin/sliderinfo.html
new file mode 100644
index 000000000..10f9e5c45
--- /dev/null
+++ b/application/plugins/view/answers/admin/sliderinfo.html
@@ -0,0 +1,64 @@
+{{include file="public/header" /}}
+
+
+
+
+
+
+
+
+
+
+
+
+{{include file="public/footer" /}}
+
\ No newline at end of file
diff --git a/application/plugins/view/answers/index/index.html b/application/plugins/view/answers/index/index.html
new file mode 100644
index 000000000..aa65c057c
--- /dev/null
+++ b/application/plugins/view/answers/index/index.html
@@ -0,0 +1,224 @@
+{{include file="public/header" /}}
+
+
+{{include file="public/nav" /}}
+
+
+
+{{include file="public/header_top_nav" /}}
+
+
+{{include file="public/nav_search" /}}
+
+
+{{include file="public/header_nav" /}}
+
+
+{{include file="public/goods_category" /}}
+
+
+
+
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
3/4
不要太担心 只因为我相信 终会走过这条遥远的道路
+
+
+ -
+
+
4/4
OH PARA PARADISE 是否那么重要 你是否那么地遥远
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+
+
+
+
+
+
+
+
+
+{{include file="public/footer" /}}
+
\ No newline at end of file
diff --git a/application/service/PluginsAdminService.php b/application/service/PluginsAdminService.php
old mode 100644
new mode 100755
diff --git a/application/service/PluginsService.php b/application/service/PluginsService.php
old mode 100644
new mode 100755
diff --git a/application/service/SqlconsoleService.php b/application/service/SqlconsoleService.php
old mode 100644
new mode 100755
diff --git a/application/service/StatisticalService.php b/application/service/StatisticalService.php
old mode 100644
new mode 100755
diff --git a/config/.gitignore b/config/.gitignore
old mode 100644
new mode 100755
diff --git a/config/shopxo.php b/config/shopxo.php
old mode 100644
new mode 100755
diff --git a/config/shopxo.sql b/config/shopxo.sql
old mode 100644
new mode 100755
index ea885c853..264d3fe24
--- 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: 02/26/2019 22:44:32 PM
+ Date: 03/06/2019 18:34:26 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', 'c321950399a46be6c738c20dceb34182', '116603', '17688888888', '0', '377', '1550479121', '1', '1481350313', '1543486561'), ('3', 'testtest', 'd9566696a7e86e1b7999cc661c241eb0', '566742', '13222333333', '2', '50', '1550478597', '13', '1483947758', '1545729083');
+INSERT INTO `s_admin` VALUES ('1', 'admin', 'c2cba9f69f464e1d354a560b37e8fab0', '452592', '17688888888', '0', '383', '1551851633', '1', '1481350313', '1551341520'), ('3', 'testtest', 'a3a3368a4a310b29cd6662e386a46b19', '580271', '13222333333', '2', '51', '1551341548', '13', '1483947758', '1551341720');
COMMIT;
-- ----------------------------
@@ -242,7 +244,7 @@ CREATE TABLE `s_config` (
-- Records of `s_config`
-- ----------------------------
BEGIN;
-INSERT INTO `s_config` VALUES ('15', '10', '分页数量', '分页显示数量', '分页不能超过3位数', 'admin', 'admin_page_number', '1551173001'), ('59', '1', '扣减库存规则', '需扣减库存开启方可有效,默认订单支付成功', '', 'common', 'common_deduction_inventory_rules', '1551173001'), ('60', '1', '是否扣减库存', '建议不要随意修改,以免造成库存数据错乱,关闭不影响库存回滚', '', 'common', 'common_is_deduction_inventory', '1551173001'), ('11', '0', 'Excel编码', 'excel模块编码选择', '请选择编码', 'admin', 'admin_excel_charset', '1551173001'), ('16', 'ShopXO企业级B2C电商系统提供商 - 演示站点', '站点标题', '浏览器标题,一般不超过80个字符', '站点标题不能为空', 'home', 'home_seo_site_title', '1546938183'), ('17', '商城系统,开源电商系统,免费电商系统,PHP电商系统,商城系统,B2C电商系统,B2B2C电商系统', '站点关键字', '一般不超过100个字符,多个关键字以半圆角逗号 [ , ] 隔开', '站点关键字不能为空', 'home', 'home_seo_site_keywords', '1546938183'), ('18', 'ShopXO是国内领先的商城系统提供商,为企业提供php商城系统、微信商城、小程序。', '站点描述', '站点描述,一般不超过200个字符', '站点描述不能为空', 'home', 'home_seo_site_description', '1546938183'), ('19', '黔ICP备15003530号', 'ICP证书号', 'ICP域名备案号', '', 'home', 'home_site_icp', '1550547827'), ('20', '', '底部统计代码', '支持html,可用于添加流量统计代码', '', 'home', 'home_statistics_code', '0'), ('21', '1', '站点状态', '可暂时将站点关闭,其他人无法访问,但不影响管理员访问后台', '请选择站点状态', 'home', 'home_site_state', '1550547827'), ('22', '升级中...', '关闭原因', '支持html,当网站处于关闭状态时,关闭原因将显示在前台', '', 'home', 'home_site_close_reason', '1550547827'), ('23', 'Australia/Eucla', '默认时区', '默认 亚洲/上海 [标准时+8]', '请选择默认时区', 'common', 'common_timezone', '1550547827'), ('24', '', '底部代码', '支持html,可用于添加流量统计代码', '', 'home', 'home_footer_info', '1550547827'), ('28', 'ShopXO', '站点名称', '', '站点名称不能为空', 'home', 'home_site_name', '1550547827'), ('29', '0', '链接模式', '详情ThinkPHP官网5.1版本文档 [http://www.thinkphp.cn/]', '请选择url模式', 'home', 'home_seo_url_model', '1546938183'), ('25', '2048000', '图片最大限制', '单位B [上传图片还受到服务器空间PHP配置最大上传 20M 限制]', '请填写图片上传最大限制', 'home', 'home_max_limit_image', '1550547827'), ('26', '51200000', '文件最大限制', '单位B [上传文件还受到服务器空间PHP配置最大上传 20M 限制]', '请填写文件上传最大限制', 'home', 'home_max_limit_file', '1550547827'), ('27', '102400000', '视频最大限制', '单位B [上传视频还受到服务器空间PHP配置最大上传 20M 限制]', '请填写视频上传最大限制', 'home', 'home_max_limit_video', '1550547827'), ('30', 'html', '伪静态后缀', '链接后面的后缀别名,默认 [ html ]', '小写字母,不能超过8个字符', 'home', 'home_seo_url_html_suffix', '1546938183'), ('31', '0', '用户注册开启审核', '开启后用户注册需要审核通过方可登录', '请选择用户注册开启审核', 'common', 'common_register_is_enable_audit', '1551173001'), ('32', '/static/upload/images/common/2019/01/14/1547448748316693.png', '手机端logo', '支持 [jpg, png, gif]', '请上传手机端网站logo', 'home', 'home_site_logo_wap', '1550547827'), ('33', '/static/upload/images/common/2019/01/14/1547448705165706.png', '电脑端logo', '支持 [jpg, png, gif]', '请上传电脑端网站logo', 'home', 'home_site_logo', '1550547827'), ('34', '1200', '页面最大宽度', '页面最大宽度,单位px,0则100%', '请上传桌面图标', 'home', 'home_content_max_width', '1550547827'), ('35', '/static/upload/images/common/2019/01/14/1547448728921121.jpg', '桌面图标', '建议使用png格式', '图片比例值格式有误 0~100 之间,小数点后面最大两位', 'common', 'home_site_desktop_icon', '1550547827'), ('36', 'sms,email', '是否开启注册', '关闭注册后,前台站点将无法注册,可选择 [ 短信, 邮箱 ]', '请选择是否开启注册状态', 'home', 'home_user_reg_state', '1550547827'), ('37', '1', '是否开启登录', '关闭后,前端站点将无法登录', '请选择是否开启登录状态', 'home', 'home_user_login_state', '1550547827'), ('38', '1', '获取验证码-开启图片验证码', '防止短信轰炸', '请选择是否开启强制图片验证码', 'home', 'home_img_verify_state', '1550547827'), ('39', '60', '获取验证码时间间隔', '防止频繁获取验证码,一般在 30~120 秒之间,单位 [秒]', '请填写获取验证码时间间隔', 'home', 'common_verify_time_interval', '1550547827'), ('40', 'SMS_141025010', '用户注册-短信模板ID', '验证码code', '请填写用户注册短信模板内容', 'home', 'home_sms_user_reg', '1545099687'), ('41', '', '短信签名', '发送短信包含的签名', '短信签名 3~8 个的中英文字符', 'common', 'common_sms_sign', '1546059306'), ('42', '', '短信KeyID', 'Access Key ID', '请填写Access Key ID', 'common', 'common_sms_apikey', '1546059306'), ('43', 'SMS_141025009', '密码找回-短信模板ID', '验证码code', '请填写密码找回短信模板内容', 'home', 'home_sms_user_forget_pwd', '1545099687'), ('44', '600', '验证码有效时间', '验证码过期时间,一般10分钟左右,单位 [秒]', '请填写验证码有效时间', 'home', 'common_verify_expire_time', '1550547827'), ('45', '', 'SMTP服务器', '设置SMTP服务器的地址,如 smtp.163.com', '请填写SMTP服务器', 'common', 'common_email_smtp_host', '1551174648'), ('46', '', 'SMTP端口', '设置SMTP服务器的端口,默认为 25', '请填写SMTP端口号', 'common', 'common_email_smtp_port', '1551174648'), ('47', '', '发信人邮件地址', '发信人邮件地址,使用SMTP协议发送的邮件地址,如 shopxo@163.com', '请填写发信人邮件地址', 'common', 'common_email_smtp_account', '1551174648'), ('48', '', 'SMTP身份验证用户名', '如 ShopXO', '请填写SMTP身份验证用户名', 'common', 'common_email_smtp_name', '1551174648'), ('49', '', 'SMTP身份验证密码', 'shopxo@163.com邮件的密码', '请填写SMTP身份验证密码', 'common', 'common_email_smtp_pwd', '1551174648'), ('50', '', '发件人显示名称', '如 ShopXO', '', 'common', 'common_email_smtp_send_name', '1551174648'), ('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_service_tel', '1551173001'), ('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', '1551173001'), ('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', '20181012122', 'css/js版本标记', '用于css/js浏览器缓存版本识别', '', 'home', 'home_static_cache_version', '1550547827'), ('67', 'SMS_141025008', '手机号码绑定-短信模板ID', '验证码code', '请填写手机号码绑定短信模板内容', 'home', 'home_sms_user_mobile_binding', '1545099687'), ('68', '连衣裙,帐篷,iphone,小米,包包', '搜索关键字', '搜索框下热门关键字(输入回车)', '请填写关键字', 'home', 'home_search_keywords', '1551173001'), ('69', '2', '搜索关键字类型', '自定义需要配置以下关键字', '请选择关键字类型', 'home', 'home_search_keywords_type', '1551173001'), ('70', '0', '订单预约模式', '开启后用户提交订单需要管理员确认', '请选择是否开启预约模式', 'common', 'common_order_is_booking', '1551173001'), ('71', 'ShopXO', '名称', '', '请填写名称', 'common', 'common_app_mini_alipay_title', '1546962547'), ('72', '国内领先企业级B2C开源电商系统!', '描述', '', '请填写描述', 'common', 'common_app_mini_alipay_describe', '1546962547'), ('73', '021-88888888', '客服电话', '', '请填写客服电话', 'common', 'common_app_customer_service_tel', '1550377653'), ('74', '', 'AppID', '小程序ID', '请填写AppID', 'common', 'common_app_mini_alipay_appid', '1546962547'), ('75', '', '应用公钥', '', '请填写应用公钥', 'common', 'common_app_mini_alipay_rsa_public', '1546962547'), ('76', '', '应用私钥', '', '请填写应用私钥', 'common', 'common_app_mini_alipay_rsa_private', '1546962547'), ('78', '1', '是否启用搜索', '', '', 'common', 'common_app_is_enable_search', '1550377653'), ('77', '', '支付宝公钥', '', '请填写支付宝公钥', 'common', 'common_app_mini_alipay_out_rsa_public', '1546962547'), ('79', '1', '是否启用留言', '', '', 'common', 'common_app_is_enable_answer', '1550377653'), ('80', '3', '商品可添加规格最大数量', '建议不超过3个规格', '请填写谷歌最大数', 'common', 'common_spec_add_max_number', '1551173001'), ('81', '-', '路由分隔符', '建议填写 [ - 或 / ] 默认 [ - ] ,仅PATHINFO模式+短地址模式下有效', '请填写路由分隔符', 'common', 'common_route_separator', '1546938183'), ('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');
+INSERT INTO `s_config` VALUES ('15', '10', '分页数量', '分页显示数量', '分页不能超过3位数', 'admin', 'admin_page_number', '1551173001'), ('59', '1', '扣减库存规则', '需扣减库存开启方可有效,默认订单支付成功', '', 'common', 'common_deduction_inventory_rules', '1551173001'), ('60', '1', '是否扣减库存', '建议不要随意修改,以免造成库存数据错乱,关闭不影响库存回滚', '', 'common', 'common_is_deduction_inventory', '1551173001'), ('11', '0', 'Excel编码', 'excel模块编码选择', '请选择编码', 'admin', 'admin_excel_charset', '1551173001'), ('16', 'ShopXO企业级B2C电商系统提供商 - 演示站点', '站点标题', '浏览器标题,一般不超过80个字符', '站点标题不能为空', 'home', 'home_seo_site_title', '1551854202'), ('17', '商城系统,开源电商系统,免费电商系统,PHP电商系统,商城系统,B2C电商系统,B2B2C电商系统', '站点关键字', '一般不超过100个字符,多个关键字以半圆角逗号 [ , ] 隔开', '站点关键字不能为空', 'home', 'home_seo_site_keywords', '1551854202'), ('18', 'ShopXO是国内领先的商城系统提供商,为企业提供php商城系统、微信商城、小程序。', '站点描述', '站点描述,一般不超过200个字符', '站点描述不能为空', 'home', 'home_seo_site_description', '1551854202'), ('19', '黔ICP备15003530号', 'ICP证书号', 'ICP域名备案号', '', 'home', 'home_site_icp', '1550547827'), ('20', '', '底部统计代码', '支持html,可用于添加流量统计代码', '', 'home', 'home_statistics_code', '0'), ('21', '1', '站点状态', '可暂时将站点关闭,其他人无法访问,但不影响管理员访问后台', '请选择站点状态', 'home', 'home_site_state', '1550547827'), ('22', '升级中...', '关闭原因', '支持html,当网站处于关闭状态时,关闭原因将显示在前台', '', 'home', 'home_site_close_reason', '1550547827'), ('23', 'Australia/Eucla', '默认时区', '默认 亚洲/上海 [标准时+8]', '请选择默认时区', 'common', 'common_timezone', '1550547827'), ('24', '', '底部代码', '支持html,可用于添加流量统计代码', '', 'home', 'home_footer_info', '1550547827'), ('28', 'ShopXO', '站点名称', '', '站点名称不能为空', 'home', 'home_site_name', '1550547827'), ('29', '2', '链接模式', '详情ThinkPHP官网5.1版本文档 [http://www.thinkphp.cn/]', '请选择url模式', 'home', 'home_seo_url_model', '1551854202'), ('25', '2048000', '图片最大限制', '单位B [上传图片还受到服务器空间PHP配置最大上传 20M 限制]', '请填写图片上传最大限制', 'home', 'home_max_limit_image', '1550547827'), ('26', '51200000', '文件最大限制', '单位B [上传文件还受到服务器空间PHP配置最大上传 20M 限制]', '请填写文件上传最大限制', 'home', 'home_max_limit_file', '1550547827'), ('27', '102400000', '视频最大限制', '单位B [上传视频还受到服务器空间PHP配置最大上传 20M 限制]', '请填写视频上传最大限制', 'home', 'home_max_limit_video', '1550547827'), ('30', 'html', '伪静态后缀', '链接后面的后缀别名,默认 [ html ]', '小写字母,不能超过8个字符', 'home', 'home_seo_url_html_suffix', '1551854202'), ('31', '1', '用户注册开启审核', '开启后用户注册需要审核通过方可登录', '请选择用户注册开启审核', 'common', 'common_register_is_enable_audit', '1551173001'), ('32', '/static/upload/images/common/2019/01/14/1547448748316693.png', '手机端logo', '支持 [jpg, png, gif]', '请上传手机端网站logo', 'home', 'home_site_logo_wap', '1550547827'), ('33', '/static/upload/images/common/2019/01/14/1547448705165706.png', '电脑端logo', '支持 [jpg, png, gif]', '请上传电脑端网站logo', 'home', 'home_site_logo', '1550547827'), ('34', '1200', '页面最大宽度', '页面最大宽度,单位px,0则100%', '请上传桌面图标', 'home', 'home_content_max_width', '1550547827'), ('35', '/static/upload/images/common/2019/01/14/1547448728921121.jpg', '桌面图标', '建议使用png格式', '图片比例值格式有误 0~100 之间,小数点后面最大两位', 'common', 'home_site_desktop_icon', '1550547827'), ('36', 'sms,email', '是否开启注册', '关闭注册后,前台站点将无法注册,可选择 [ 短信, 邮箱 ]', '请选择是否开启注册状态', 'home', 'home_user_reg_state', '1550547827'), ('37', '1', '是否开启登录', '关闭后,前端站点将无法登录', '请选择是否开启登录状态', 'home', 'home_user_login_state', '1550547827'), ('38', '1', '获取验证码-开启图片验证码', '防止短信轰炸', '请选择是否开启强制图片验证码', 'home', 'home_img_verify_state', '1550547827'), ('39', '60', '获取验证码时间间隔', '防止频繁获取验证码,一般在 30~120 秒之间,单位 [秒]', '请填写获取验证码时间间隔', 'home', 'common_verify_time_interval', '1550547827'), ('40', 'SMS_141025010', '用户注册-短信模板ID', '验证码code', '请填写用户注册短信模板内容', 'home', 'home_sms_user_reg', '1545099687'), ('41', '', '短信签名', '发送短信包含的签名', '短信签名 3~8 个的中英文字符', 'common', 'common_sms_sign', '1546059306'), ('42', '', '短信KeyID', 'Access Key ID', '请填写Access Key ID', 'common', 'common_sms_apikey', '1546059306'), ('43', 'SMS_141025009', '密码找回-短信模板ID', '验证码code', '请填写密码找回短信模板内容', 'home', 'home_sms_user_forget_pwd', '1545099687'), ('44', '600', '验证码有效时间', '验证码过期时间,一般10分钟左右,单位 [秒]', '请填写验证码有效时间', 'home', 'common_verify_expire_time', '1550547827'), ('45', '', 'SMTP服务器', '设置SMTP服务器的地址,如 smtp.163.com', '请填写SMTP服务器', 'common', 'common_email_smtp_host', '1551174648'), ('46', '', 'SMTP端口', '设置SMTP服务器的端口,默认为 25', '请填写SMTP端口号', 'common', 'common_email_smtp_port', '1551174648'), ('47', '', '发信人邮件地址', '发信人邮件地址,使用SMTP协议发送的邮件地址,如 shopxo@163.com', '请填写发信人邮件地址', 'common', 'common_email_smtp_account', '1551174648'), ('48', '', 'SMTP身份验证用户名', '如 ShopXO', '请填写SMTP身份验证用户名', 'common', 'common_email_smtp_name', '1551174648'), ('49', '', 'SMTP身份验证密码', 'shopxo@163.com邮件的密码', '请填写SMTP身份验证密码', 'common', 'common_email_smtp_pwd', '1551174648'), ('50', '', '发件人显示名称', '如 ShopXO', '', 'common', 'common_email_smtp_send_name', '1551174648'), ('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_service_tel', '1551173001'), ('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', '1551173001'), ('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', '20181012122', 'css/js版本标记', '用于css/js浏览器缓存版本识别', '', 'home', 'home_static_cache_version', '1550547827'), ('67', 'SMS_141025008', '手机号码绑定-短信模板ID', '验证码code', '请填写手机号码绑定短信模板内容', 'home', 'home_sms_user_mobile_binding', '1545099687'), ('68', '连衣裙,帐篷,iphone,小米,包包', '搜索关键字', '搜索框下热门关键字(输入回车)', '请填写关键字', 'home', 'home_search_keywords', '1551173001'), ('69', '2', '搜索关键字类型', '自定义需要配置以下关键字', '请选择关键字类型', 'home', 'home_search_keywords_type', '1551173001'), ('70', '0', '订单预约模式', '开启后用户提交订单需要管理员确认', '请选择是否开启预约模式', 'common', 'common_order_is_booking', '1551173001'), ('71', 'ShopXO', '名称', '', '请填写名称', 'common', 'common_app_mini_alipay_title', '1546962547'), ('72', '国内领先企业级B2C开源电商系统!', '描述', '', '请填写描述', 'common', 'common_app_mini_alipay_describe', '1546962547'), ('73', '021-88888888', '客服电话', '', '请填写客服电话', 'common', 'common_app_customer_service_tel', '1550377653'), ('74', '', 'AppID', '小程序ID', '请填写AppID', 'common', 'common_app_mini_alipay_appid', '1546962547'), ('75', '', '应用公钥', '', '请填写应用公钥', 'common', 'common_app_mini_alipay_rsa_public', '1546962547'), ('76', '', '应用私钥', '', '请填写应用私钥', 'common', 'common_app_mini_alipay_rsa_private', '1546962547'), ('78', '1', '是否启用搜索', '', '', 'common', 'common_app_is_enable_search', '1550377653'), ('77', '', '支付宝公钥', '', '请填写支付宝公钥', 'common', 'common_app_mini_alipay_out_rsa_public', '1546962547'), ('79', '1', '是否启用留言', '', '', 'common', 'common_app_is_enable_answer', '1550377653'), ('80', '3', '商品可添加规格最大数量', '建议不超过3个规格', '请填写谷歌最大数', 'common', 'common_spec_add_max_number', '1551173001'), ('81', '-', '路由分隔符', '建议填写 [ - 或 / ] 默认 [ - ] ,仅PATHINFO模式+短地址模式下有效', '请填写路由分隔符', 'common', 'common_route_separator', '1551854202'), ('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');
COMMIT;
-- ----------------------------
@@ -346,7 +348,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', '20', '', '/static/upload/images/goods/2019/01/14/1547450781101144.jpg', '0', '1547450921', '1549959519'), ('2', '2', '苹果(Apple)iPhone 6 Plus (A1524)移动联通电信4G手机 金色 16G', '', 'iPhone 6 Plus', '0', '1711', '步', '/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', '10', '/static/upload/video/goods/2019/01/14/1547458876723311.mp4', '/static/upload/images/goods/2019/01/14/1547451274847894.jpg', '0', '1547451624', '1547458880'), ('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', '2', '', '/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', '49', '', '/static/upload/images/goods/2019/01/14/1547452474332334.jpg', '0', '1547452553', '1547452553'), ('5', '2', 'Meizu/魅族 MX4 Pro移动版 八核大屏智能手机 黑色 16G', '', '', '0', '436', '步', '/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', '0', '146', '', '/static/upload/images/goods/2019/01/14/1547452714324599.jpg', '0', '1547452798', '1547452798'), ('6', '1', 'vivo X5MAX L 移动4G 八核超薄大屏5.5吋双卡手机vivoX5max', '', '', '0', '321', '步', '/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', '42', '', '/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', '5', '', '/static/upload/images/goods/2019/01/15/1547540603500383.jpg', '0', '1547453967', '1547540607'), ('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', '8', '', '/static/upload/images/goods/2019/01/14/1547454145355962.jpg', '0', '1547454269', '1547454269'), ('9', '2', '睡衣女长袖春秋季纯棉韩版女士大码薄款春夏季全棉家居服两件套装', '', '', '0', '598', '件', '/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', '62', '', '/static/upload/images/goods/2019/01/14/1547454567172116.jpg', '0', '1547454786', '1547454828'), ('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', '13', '', '/static/upload/images/goods/2019/01/14/1547455222990904.jpg', '0', '1547455375', '1547455375'), ('11', '0', '夏季复古ins风格网红SP同款 短袖大圆领香槟色蕾丝绣花钉珠连衣裙', '', '', '0', '367', '件', '/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', '4', '', '/static/upload/images/goods/2019/01/14/1547455566118614.jpg', '0', '1547455700', '1547455700'), ('12', '2', 'ZK星星绣花雪纺连衣裙中长款sukol裙少女心温柔超仙女chic裙子夏', '', 'xxxxhhhhhh商品型号', '0', '246', '件', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '150.00-188.00', '150.00', '188.00', '118.00-128.00', '118.00', '128.00', '3', '1', '0', '1', '1', '1', '', '3', '0', '11', '', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '0', '1547456230', '1551064315');
+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', '20', '', '/static/upload/images/goods/2019/01/14/1547450781101144.jpg', '0', '1547450921', '1549959519'), ('2', '2', '苹果(Apple)iPhone 6 Plus (A1524)移动联通电信4G手机 金色 16G', '', 'iPhone 6 Plus', '0', '1711', '步', '/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', '10', '/static/upload/video/goods/2019/01/14/1547458876723311.mp4', '/static/upload/images/goods/2019/01/14/1547451274847894.jpg', '0', '1547451624', '1547458880'), ('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', '2', '', '/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', '49', '', '/static/upload/images/goods/2019/01/14/1547452474332334.jpg', '0', '1547452553', '1547452553'), ('5', '2', 'Meizu/魅族 MX4 Pro移动版 八核大屏智能手机 黑色 16G', '', '', '0', '436', '步', '/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', '0', '150', '', '/static/upload/images/goods/2019/01/14/1547452714324599.jpg', '0', '1547452798', '1547452798'), ('6', '1', 'vivo X5MAX L 移动4G 八核超薄大屏5.5吋双卡手机vivoX5max', '', '', '0', '320', '步', '/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', '49', '', '/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', '5', '', '/static/upload/images/goods/2019/01/15/1547540603500383.jpg', '0', '1547453967', '1547540607'), ('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', '8', '', '/static/upload/images/goods/2019/01/14/1547454145355962.jpg', '0', '1547454269', '1547454269'), ('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', '64', '', '/static/upload/images/goods/2019/01/14/1547454567172116.jpg', '0', '1547454786', '1547454828'), ('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', '13', '', '/static/upload/images/goods/2019/01/14/1547455222990904.jpg', '0', '1547455375', '1547455375'), ('11', '0', '夏季复古ins风格网红SP同款 短袖大圆领香槟色蕾丝绣花钉珠连衣裙', '', '', '0', '367', '件', '/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', '7', '', '/static/upload/images/goods/2019/01/14/1547455566118614.jpg', '0', '1547455700', '1547455700'), ('12', '2', 'ZK星星绣花雪纺连衣裙中长款sukol裙少女心温柔超仙女chic裙子夏', '', 'xxxxhhhhhh商品型号', '0', '246', '件', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '150.00-188.00', '150.00', '188.00', '118.00-128.00', '118.00', '128.00', '3', '1', '0', '1', '1', '1', '', '3', '0', '14', '', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '0', '1547456230', '1551751113');
COMMIT;
-- ----------------------------
@@ -360,7 +362,14 @@ 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 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='用户商品浏览';
+) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='用户商品浏览';
+
+-- ----------------------------
+-- Records of `s_goods_browse`
+-- ----------------------------
+BEGIN;
+INSERT INTO `s_goods_browse` VALUES ('1', '5', '77', '1551233739', '1551858521'), ('2', '6', '92', '1551234590', '1551239151'), ('3', '9', '92', '1551239156', '1551239429'), ('4', '5', '92', '1551239374', '1551239374');
+COMMIT;
-- ----------------------------
-- Table structure for `s_goods_category`
@@ -448,7 +457,14 @@ CREATE TABLE `s_goods_favor` (
`user_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '用户id',
`add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间',
PRIMARY KEY (`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_goods_favor`
+-- ----------------------------
+BEGIN;
+INSERT INTO `s_goods_favor` VALUES ('1', '9', '92', '1551239434');
+COMMIT;
-- ----------------------------
-- Table structure for `s_goods_photo`
@@ -496,7 +512,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', '436', '0.00', '', '', '3200.00', '1547452798'), ('25', '6', '2998.90', '321', '0.00', '', '', '3200.00', '1547453157'), ('27', '8', '356.00', '35', '0.00', '', '', '672.00', '1547454269'), ('37', '9', '120.00', '12', '0.00', '', '', '160.00', '1547454828'), ('38', '9', '120.00', '87', '0.00', '', '', '160.00', '1547454828'), ('39', '9', '120.00', '13', '0.00', '', '', '160.00', '1547454828'), ('40', '9', '120.00', '76', '0.00', '', '', '160.00', '1547454828'), ('41', '9', '136.00', '43', '0.00', '', '', '188.00', '1547454828'), ('42', '9', '136.00', '56', '0.00', '', '', '188.00', '1547454828'), ('43', '9', '136.00', '23', '0.00', '', '', '188.00', '1547454828'), ('44', '9', '158.00', '243', '0.00', '', '', '216.00', '1547454828'), ('45', '9', '158.00', '45', '0.00', '', '', '216.00', '1547454828'), ('46', '10', '228.00', '36', '0.00', '', '', '568.00', '1547455375'), ('47', '11', '258.00', '367', '0.00', '', '', '268.00', '1547455700'), ('53', '2', '6050.00', '100', '0.00', '', '', '6800.00', '1547458880'), ('54', '2', '6600.00', '200', '0.00', '', '', '7200.00', '1547458880'), ('55', '2', '6800.00', '300', '0.00', '', '', '7600.00', '1547458880'), ('56', '2', '6050.00', '300', '0.00', '', '', '6800.00', '1547458880'), ('57', '2', '6600.00', '300', '0.00', '', '', '7200.00', '1547458880'), ('58', '2', '6800.00', '300', '0.00', '', '', '7600.00', '1547458880'), ('59', '2', '4500.00', '100', '0.00', '', '', '6800.00', '1547458880'), ('60', '2', '4800.00', '50', '0.00', '', '', '6600.00', '1547458880'), ('61', '2', '5500.00', '61', '0.00', '', '', '6000.00', '1547458880'), ('71', '1', '2100.00', '125', '0.00', '', '', '3200.00', '1547485917'), ('78', '7', '168.00', '320', '0.00', '', '', '760.00', '1547540607'), ('109', '12', '128.00', '12', '0.50', 'gg11', 'txm11', '188.00', '1551064315'), ('110', '12', '128.00', '65', '0.10', 'gg22', 'txm22', '188.00', '1551064315'), ('111', '12', '128.00', '42', '1.90', 'gg33', 'txm33', '188.00', '1551064315'), ('112', '12', '118.00', '46', '457.60', 'gg44', 'txm44', '150.00', '1551064315'), ('113', '12', '118.00', '81', '37.00', 'gg55', 'txm55', '150.00', '1551064315');
+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', '436', '0.00', '', '', '3200.00', '1547452798'), ('25', '6', '2998.90', '320', '0.00', '', '', '3200.00', '1547453157'), ('27', '8', '356.00', '35', '0.00', '', '', '672.00', '1547454269'), ('37', '9', '120.00', '12', '0.00', '', '', '160.00', '1547454828'), ('38', '9', '120.00', '87', '0.00', '', '', '160.00', '1547454828'), ('39', '9', '120.00', '13', '0.00', '', '', '160.00', '1547454828'), ('40', '9', '120.00', '76', '0.00', '', '', '160.00', '1547454828'), ('41', '9', '136.00', '43', '0.00', '', '', '188.00', '1547454828'), ('42', '9', '136.00', '56', '0.00', '', '', '188.00', '1547454828'), ('43', '9', '136.00', '21', '0.00', '', '', '188.00', '1547454828'), ('44', '9', '158.00', '243', '0.00', '', '', '216.00', '1547454828'), ('45', '9', '158.00', '45', '0.00', '', '', '216.00', '1547454828'), ('46', '10', '228.00', '36', '0.00', '', '', '568.00', '1547455375'), ('47', '11', '258.00', '367', '0.00', '', '', '268.00', '1547455700'), ('53', '2', '6050.00', '100', '0.00', '', '', '6800.00', '1547458880'), ('54', '2', '6600.00', '200', '0.00', '', '', '7200.00', '1547458880'), ('55', '2', '6800.00', '300', '0.00', '', '', '7600.00', '1547458880'), ('56', '2', '6050.00', '300', '0.00', '', '', '6800.00', '1547458880'), ('57', '2', '6600.00', '300', '0.00', '', '', '7200.00', '1547458880'), ('58', '2', '6800.00', '300', '0.00', '', '', '7600.00', '1547458880'), ('59', '2', '4500.00', '100', '0.00', '', '', '6800.00', '1547458880'), ('60', '2', '4800.00', '50', '0.00', '', '', '6600.00', '1547458880'), ('61', '2', '5500.00', '61', '0.00', '', '', '6000.00', '1547458880'), ('71', '1', '2100.00', '125', '0.00', '', '', '3200.00', '1547485917'), ('78', '7', '168.00', '320', '0.00', '', '', '760.00', '1547540607'), ('109', '12', '128.00', '12', '0.50', 'gg11', 'txm11', '188.00', '1551064315'), ('110', '12', '128.00', '65', '0.10', 'gg22', 'txm22', '188.00', '1551064315'), ('111', '12', '128.00', '42', '1.90', 'gg33', 'txm33', '188.00', '1551064315'), ('112', '12', '118.00', '46', '457.60', 'gg44', 'txm44', '150.00', '1551064315'), ('113', '12', '118.00', '81', '37.00', 'gg55', 'txm55', '150.00', '1551064315');
COMMIT;
-- ----------------------------
@@ -586,13 +602,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=3 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', '92', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '0', '0', '0', '1551174252'), ('2', '77', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '0', '0', '0', '1551192116');
+INSERT INTO `s_message` VALUES ('1', '92', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '0', '0', '0', '1551174252'), ('2', '77', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '1', '0', '0', '1551192116'), ('3', '77', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '1', '0', '0', '1551233397'), ('4', '92', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '0', '0', '0', '1551234579'), ('5', '92', '订单支付', '订单支付成功,金额3270.9元', '1', '1', '0', '0', '0', '0', '1551239424'), ('6', '77', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '1', '0', '0', '1551855214');
COMMIT;
-- ----------------------------
@@ -671,7 +687,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', '20190227115022051094', '92', '0', '1', '2323', '17602128368', '1', '37', '567', '23', '', '0', '', '1', '2', '1', '0.00', '3270.90', '3270.90', '3270.90', '1551239424', '1551239422', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1551239422', '1551239424');
+COMMIT;
-- ----------------------------
-- Table structure for `s_order_comments`
@@ -719,7 +742,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=3 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='订单详情';
+
+-- ----------------------------
+-- Records of `s_order_detail`
+-- ----------------------------
+BEGIN;
+INSERT INTO `s_order_detail` VALUES ('1', '92', '1', '6', '0', 'vivo X5MAX L 移动4G 八核超薄大屏5.5吋双卡手机vivoX5max', '/static/upload/images/goods/2019/01/14/1547453000703308.jpg', '3200.00', '2998.90', '', '1', '0', '', '', '1551239422', '0'), ('2', '92', '1', '9', '0', '睡衣女长袖春秋季纯棉韩版女士大码薄款春夏季全棉家居服两件套装', '/static/upload/images/goods/2019/01/14/1547454702543219.jpg', '188.00', '136.00', '[{\"type\":\"\\u989c\\u8272\",\"value\":\"\\u7c89\\u8272\"},{\"type\":\"\\u5c3a\\u7801\",\"value\":\"L\"}]', '2', '0', '', '', '1551239422', '0');
+COMMIT;
-- ----------------------------
-- Table structure for `s_order_goods_inventory_log`
@@ -739,7 +769,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=3 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', '6', '2', '321', '320', '0', '0', '1551239424'), ('2', '1', '9', '2', '598', '596', '0', '0', '1551239424');
+COMMIT;
-- ----------------------------
-- Table structure for `s_order_status_history`
@@ -758,7 +795,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=2 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', '系统', '1551239424');
+COMMIT;
-- ----------------------------
-- Table structure for `s_pay_log`
@@ -780,7 +824,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', '92', '1', '', '用户-fux***com', '3270.90', '3270.90', '订单支付', 'DeliveryPayment', '货到付款', '1', '1551239424');
+COMMIT;
-- ----------------------------
-- Table structure for `s_payment`
@@ -807,7 +858,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', '货到付款', 'DeliveryPayment', '', '0.0.1', '不限', '送货上门后收取货款', 'Devil', 'http://shopxo.net/', '', '', '[\"pc\",\"h5\",\"app\",\"alipay\",\"weixin\",\"baidu\"]', '1', '1', '0', '1551238240', '1551238244');
+COMMIT;
-- ----------------------------
-- Table structure for `s_plugins`
@@ -823,13 +881,38 @@ CREATE TABLE `s_plugins` (
PRIMARY KEY (`id`),
UNIQUE KEY `plugins` (`plugins`),
KEY `is_enable` (`is_enable`)
-) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='应用';
+) ENGINE=InnoDB AUTO_INCREMENT=22 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='应用';
-- ----------------------------
-- 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', '1551191935'), ('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', '1551191934'), ('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\"}', '1', '1550222925', '1551191927'), ('17', 'commononlineservice', '{\"title\":\"ShopXO\\u5728\\u7ebf\\u5ba2\\u670d\",\"online_service\":\"\\u552e\\u524d|386392432\\n\\u552e\\u540e|386392432\",\"tel\":\"021-88888888\",\"is_overall\":\"1\",\"bg_color\":\"\",\"distance_top\":\"3\",\"pluginsname\":\"commononlineservice\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1550393304', '1551191925'), ('20', 'usernotloginhidegoodsprice', '{\"original_price_placeholder\":\"\",\"price_placeholder\":\"\\u767b\\u5f55\\u540e\\u53ef\\u89c1\",\"pluginsname\":\"usernotloginhidegoodsprice\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1551184852', '1551191908');
+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\"}', '1', '1550222925', '1551191927'), ('17', 'commononlineservice', '{\"title\":\"ShopXO\\u5728\\u7ebf\\u5ba2\\u670d\",\"online_service\":\"\\u552e\\u524d|386392432\\n\\u552e\\u540e|386392432\",\"tel\":\"021-88888888\",\"is_overall\":\"1\",\"bg_color\":\"\",\"distance_top\":\"3\",\"pluginsname\":\"commononlineservice\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1550393304', '1551191925'), ('20', 'usernotloginhidegoodsprice', '{\"original_price_placeholder\":\"\",\"price_placeholder\":\"\\u767b\\u5f55\\u540e\\u53ef\\u89c1\",\"pluginsname\":\"usernotloginhidegoodsprice\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1551184852', '1551239173'), ('21', 'answers', '{\"images\":\"\\/static\\/upload\\/images\\/plugins_answers\\/2019\\/03\\/06\\/1551867872397949.jpg\",\"url\":\"http:\\/\\/shopxo.net\\/\",\"is_new_window_open\":\"1\",\"pluginsname\":\"answers\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"basesave\"}', '0', '1551853705', '1551868164');
+COMMIT;
+
+-- ----------------------------
+-- Table structure for `s_plugins_answers_slide`
+-- ----------------------------
+DROP TABLE IF EXISTS `s_plugins_answers_slide`;
+CREATE TABLE `s_plugins_answers_slide` (
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增id',
+ `name` char(60) NOT NULL DEFAULT '' COMMENT '别名',
+ `images_url` char(255) NOT NULL DEFAULT '' COMMENT '图片地址',
+ `url` char(255) NOT NULL DEFAULT '' COMMENT 'url地址',
+ `is_enable` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '是否启用(0否,1是)',
+ `sort` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '排序',
+ `add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间',
+ `upd_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间',
+ PRIMARY KEY (`id`),
+ KEY `is_enable` (`is_enable`),
+ KEY `sort` (`sort`)
+) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='问答系统轮播图 - 应用';
+
+-- ----------------------------
+-- Records of `s_plugins_answers_slide`
+-- ----------------------------
+BEGIN;
+INSERT INTO `s_plugins_answers_slide` VALUES ('1', '苟富贵染头发', '/static/upload/images/plugins_answers/2019/03/06/1551853529634743.png', 'http://shopxo.net/', '1', '3', '1551865738', '1551866585'), ('2', 'gfdg', '/static/upload/images/plugins_answers/2019/03/06/1551853529634743.png', 'https://ask.shopxo.net/article/6', '1', '0', '1551866754', '0');
COMMIT;
-- ----------------------------
@@ -1003,7 +1086,14 @@ 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 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='搜索日志';
+) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='搜索日志';
+
+-- ----------------------------
+-- Records of `s_search_history`
+-- ----------------------------
+BEGIN;
+INSERT INTO `s_search_history` VALUES ('1', '77', '0', '0', '', '0-0', 'default', 'asc', '20190227', '1551233729'), ('2', '77', '0', '0', '', '0-0', 'default', 'asc', '20190227', '1551233736'), ('3', '0', '0', '0', '', '0-0', 'default', 'asc', '20190227', '1551233824'), ('4', '92', '0', '0', '', '0-0', 'default', 'asc', '20190227', '1551260421'), ('5', '92', '0', '0', '', '0-0', 'default', 'asc', '20190227', '1551260423'), ('6', '92', '0', '0', '', '0-0', 'default', 'asc', '20190227', '1551260432'), ('7', '92', '0', '0', '', '0-0', 'default', 'asc', '20190227', '1551260448'), ('8', '92', '0', '0', '', '0-0', 'default', 'asc', '20190227', '1551260575'), ('9', '92', '0', '0', '', '0-0', 'default', 'asc', '20190227', '1551260885'), ('10', '92', '0', '0', '', '0-0', 'default', 'asc', '20190227', '1551260887'), ('11', '92', '0', '0', '', '0-0', 'default', 'asc', '20190227', '1551261001'), ('12', '92', '0', '0', '', '0-0', 'default', 'asc', '20190227', '1551261934'), ('13', '0', '0', '0', '', '0-0', 'default', 'asc', '20190228', '1551343490'), ('14', '0', '0', '0', '', '0-0', 'default', 'asc', '20190228', '1551343927'), ('15', '77', '0', '0', '', '0-0', 'default', 'asc', '20190306', '1551858508');
+COMMIT;
-- ----------------------------
-- Table structure for `s_slide`
@@ -1073,7 +1163,7 @@ CREATE TABLE `s_user` (
-- Records of `s_user`
-- ----------------------------
BEGIN;
-INSERT INTO `s_user` VALUES ('77', '', '', '', '0', '277585', 'c34289bfdf655809f384bcfcd2606b24', '', '龚哥哥', '13250814883', '', '2', 'https://tfs.alipayobjects.com/images/partner/T10d8lXm4dXXXXXXXX', '上海', '上海市', '1540915200', '', '987', '0', '0', '0', '0', '1551192189'), ('90', '2088502175420842', '', '', '0', '208731', '9fff3059357fafcb709b6288a412e54a', '', '魔鬼', '17688888888', '', '2', '', '上海', '上海市', '666201600', '', '45', '0', '0', '0', '1539167253', '1551174265'), ('92', '', '', '', '3', '802141', '1809ca664268370c783732f9146e7d6d', '', '', '', 'fuxiang.gong@qq.com', '0', '', '', '', '0', '', '5', '0', '0', '0', '1551173897', '1551174462');
+INSERT INTO `s_user` VALUES ('77', '', '', '', '0', '777964', '026f340c0aa0a2f4d2b09a44db62583b', '', '龚哥哥', '13250814883', '', '2', 'https://tfs.alipayobjects.com/images/partner/T10d8lXm4dXXXXXXXX', '上海', '上海市', '1540915200', '', '997', '0', '0', '0', '0', '1551855214'), ('90', '2088502175420842', '', '', '0', '208731', '9fff3059357fafcb709b6288a412e54a', '', '魔鬼', '17688888888', '', '2', '', '上海', '上海市', '666201600', '', '45', '0', '0', '0', '1539167253', '1551174265'), ('92', '', '', '', '0', '681141', '0461e68ca574a0d7622e7c078a1d73c3', '', '', '', 'fuxiang.gong@qq.com', '0', '', '', '', '0', '', '10', '0', '0', '0', '1551173897', '1551239413');
COMMIT;
-- ----------------------------
@@ -1099,7 +1189,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', '92', '', '2323', '17602128368', '1', '37', '567', '23', '116.4113820000', '39.9184710000', '0', '0', '1551238222', '0');
+COMMIT;
-- ----------------------------
-- Table structure for `s_user_integral_log`
@@ -1116,6 +1213,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=4 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='用户积分日志';
+
+-- ----------------------------
+-- Records of `s_user_integral_log`
+-- ----------------------------
+BEGIN;
+INSERT INTO `s_user_integral_log` VALUES ('1', '77', '1', '987', '992', '登录奖励积分', '0', '1551233397'), ('2', '92', '1', '5', '10', '登录奖励积分', '0', '1551234579'), ('3', '77', '1', '992', '997', '登录奖励积分', '0', '1551855214');
+COMMIT;
SET FOREIGN_KEY_CHECKS = 1;
diff --git a/extend/base/Wechat.php b/extend/base/Wechat.php
old mode 100644
new mode 100755
diff --git a/extend/payment/Weixin.php b/extend/payment/Weixin.php
old mode 100644
new mode 100755
diff --git a/extend/phpmailer/Exception.php b/extend/phpmailer/Exception.php
old mode 100644
new mode 100755
diff --git a/extend/phpmailer/PHPMailer.php b/extend/phpmailer/PHPMailer.php
old mode 100644
new mode 100755
diff --git a/extend/phpmailer/POP3.php b/extend/phpmailer/POP3.php
old mode 100644
new mode 100755
diff --git a/extend/phpmailer/SMTP.php b/extend/phpmailer/SMTP.php
old mode 100644
new mode 100755
diff --git a/public/appmini/old/.gitignore b/public/appmini/old/.gitignore
old mode 100644
new mode 100755
diff --git a/public/appmini/old/weixin/components/badge/badge.js b/public/appmini/old/weixin/components/badge/badge.js
old mode 100644
new mode 100755
diff --git a/public/appmini/old/weixin/components/badge/badge.json b/public/appmini/old/weixin/components/badge/badge.json
old mode 100644
new mode 100755
diff --git a/public/appmini/old/weixin/components/badge/badge.wxml b/public/appmini/old/weixin/components/badge/badge.wxml
old mode 100644
new mode 100755
diff --git a/public/appmini/old/weixin/components/badge/badge.wxss b/public/appmini/old/weixin/components/badge/badge.wxss
old mode 100644
new mode 100755
diff --git a/public/appmini/old/weixin/components/popup/popup.js b/public/appmini/old/weixin/components/popup/popup.js
old mode 100644
new mode 100755
diff --git a/public/appmini/old/weixin/components/popup/popup.json b/public/appmini/old/weixin/components/popup/popup.json
old mode 100644
new mode 100755
diff --git a/public/appmini/old/weixin/components/popup/popup.wxml b/public/appmini/old/weixin/components/popup/popup.wxml
old mode 100644
new mode 100755
diff --git a/public/appmini/old/weixin/components/popup/popup.wxss b/public/appmini/old/weixin/components/popup/popup.wxss
old mode 100644
new mode 100755
diff --git a/public/appmini/old/weixin/images/default-toast-error.png b/public/appmini/old/weixin/images/default-toast-error.png
old mode 100644
new mode 100755
diff --git a/public/favicon.ico b/public/favicon.ico
old mode 100644
new mode 100755
diff --git a/public/htaccess-iis b/public/htaccess-iis
old mode 100644
new mode 100755
diff --git a/public/htaccess-nginx b/public/htaccess-nginx
old mode 100644
new mode 100755
diff --git a/public/static/admin/default/css/index.init.css b/public/static/admin/default/css/index.init.css
old mode 100644
new mode 100755
diff --git a/public/static/admin/default/css/pluginsadmin.css b/public/static/admin/default/css/pluginsadmin.css
old mode 100644
new mode 100755
diff --git a/public/static/common/lib/animation-count-to/animation.count.to.js b/public/static/common/lib/animation-count-to/animation.count.to.js
old mode 100644
new mode 100755
diff --git a/public/static/common/lib/echarts/echarts.min.js b/public/static/common/lib/echarts/echarts.min.js
old mode 100644
new mode 100755
diff --git a/public/static/common/lib/echarts/macarons.js b/public/static/common/lib/echarts/macarons.js
old mode 100644
new mode 100755
diff --git a/public/static/index/default/images/preview.jpg b/public/static/index/default/images/preview.jpg
old mode 100644
new mode 100755
diff --git a/public/static/index/default/js/order.qrcodepay.js b/public/static/index/default/js/order.qrcodepay.js
old mode 100644
new mode 100755
diff --git a/public/static/plugins/css/answers/admin.css b/public/static/plugins/css/answers/admin.css
new file mode 100644
index 000000000..75de25c8a
--- /dev/null
+++ b/public/static/plugins/css/answers/admin.css
@@ -0,0 +1,38 @@
+/**
+ * 首页
+ */
+.answers-content .items {
+ margin: 10px 0 20px 0;
+ border-bottom: 1px dashed #f1f1f1;
+ padding-bottom: 20px;
+}
+.answers-content .items .immages-tag {
+ border: 1px solid #eee;
+ text-align: center;
+}
+.answers-content .items .immages-tag img {
+ max-width: 100%;
+}
+.answers-content .edit-submit {
+ margin-bottom: 20px;
+}
+.answers-content img {
+ max-width: 100%;
+}
+@media only screen and (min-width:640px) {
+ .answers-slider .am-slider {
+ width: 30%;
+ }
+}
+
+@media only screen and (max-width:640px) {
+
+}
+
+/**
+ * 编辑页面
+ */
+ul.plugins-images-view li {
+ width: 100%;
+ height: auto;
+}
\ No newline at end of file
diff --git a/public/static/plugins/css/answers/index.css b/public/static/plugins/css/answers/index.css
new file mode 100644
index 000000000..92cae08eb
--- /dev/null
+++ b/public/static/plugins/css/answers/index.css
@@ -0,0 +1,41 @@
+@media only screen and (min-width:640px) {
+ .plugins-answers .answers-top, .plugins-answers .answers-middle-banner, .plugins-answers .answers-goods {
+ margin-top: 10px;
+ overflow: hidden;
+ }
+ .plugins-answers .answers-slider, .plugins-answers .answers-middle-list, .plugins-answers .answers-goods .am-gallery {
+ padding: 0;
+ }
+ .plugins-answers .answers-sidebar, .plugins-answers .answers-goods {
+ padding-right: 0;
+ }
+ .plugins-answers .am-list-news-default {
+ margin: 0;
+ }
+ .plugins-answers .answers-sidebar .am-list-news-hd, .plugins-answers .answers-goods .am-list-news-hd {
+ padding-top: 0;
+ }
+ .plugins-answers .answers-middle-list .am-list-news-hd {
+ padding-top: 10px;
+ }
+ .plugins-answers .am-list-news-hd {
+ font-weight: 500;
+ }
+ .plugins-answers .answers-sidebar .am-list-news-bd .am-list {
+ margin-bottom: 10px;
+ }
+ .plugins-answers .answers-goods .am-list-news-hd {
+ padding-bottom: 5px;
+ }
+
+ .am-gallery-bordered > li:nth-of-type(2n + 1) {
+ padding-left: 0;
+ }
+ .am-gallery-bordered > li:nth-of-type(2n + 2) {
+ padding-right: 0;
+ }
+}
+
+@media only screen and (max-width:640px) {
+
+}
\ No newline at end of file
diff --git a/public/static/plugins/images/answers/default-images.png b/public/static/plugins/images/answers/default-images.png
new file mode 100755
index 000000000..76f08c706
Binary files /dev/null and b/public/static/plugins/images/answers/default-images.png differ
diff --git a/public/static/plugins/images/answers/index.html b/public/static/plugins/images/answers/index.html
new file mode 100755
index 000000000..0519ecba6
--- /dev/null
+++ b/public/static/plugins/images/answers/index.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/public/static/upload/images/common/2019/01/14/1547448705165706.png b/public/static/upload/images/common/2019/01/14/1547448705165706.png
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/common/2019/01/14/1547448728921121.jpg b/public/static/upload/images/common/2019/01/14/1547448728921121.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/common/2019/01/14/1547448748316693.png b/public/static/upload/images/common/2019/01/14/1547448748316693.png
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547450781101144.jpg b/public/static/upload/images/goods/2019/01/14/1547450781101144.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547450818141662.jpg b/public/static/upload/images/goods/2019/01/14/1547450818141662.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547450880620837.png b/public/static/upload/images/goods/2019/01/14/1547450880620837.png
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547450880750687.png b/public/static/upload/images/goods/2019/01/14/1547450880750687.png
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547450880917418.png b/public/static/upload/images/goods/2019/01/14/1547450880917418.png
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547451274847894.jpg b/public/static/upload/images/goods/2019/01/14/1547451274847894.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547451576558478.jpg b/public/static/upload/images/goods/2019/01/14/1547451576558478.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547451595528800.jpg b/public/static/upload/images/goods/2019/01/14/1547451595528800.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547451595616298.jpg b/public/static/upload/images/goods/2019/01/14/1547451595616298.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547451595700972.jpg b/public/static/upload/images/goods/2019/01/14/1547451595700972.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547451909951171.jpg b/public/static/upload/images/goods/2019/01/14/1547451909951171.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547451936230948.jpg b/public/static/upload/images/goods/2019/01/14/1547451936230948.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547451947383902.jpg b/public/static/upload/images/goods/2019/01/14/1547451947383902.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547451947676180.jpg b/public/static/upload/images/goods/2019/01/14/1547451947676180.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547451947686990.jpg b/public/static/upload/images/goods/2019/01/14/1547451947686990.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547451947791154.jpg b/public/static/upload/images/goods/2019/01/14/1547451947791154.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547452474332334.jpg b/public/static/upload/images/goods/2019/01/14/1547452474332334.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547452496713777.jpg b/public/static/upload/images/goods/2019/01/14/1547452496713777.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547452505184884.jpg b/public/static/upload/images/goods/2019/01/14/1547452505184884.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547452505349986.jpg b/public/static/upload/images/goods/2019/01/14/1547452505349986.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547452505568604.jpg b/public/static/upload/images/goods/2019/01/14/1547452505568604.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547452714324599.jpg b/public/static/upload/images/goods/2019/01/14/1547452714324599.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547452752648264.jpg b/public/static/upload/images/goods/2019/01/14/1547452752648264.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547452760417982.jpg b/public/static/upload/images/goods/2019/01/14/1547452760417982.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547452760659259.jpg b/public/static/upload/images/goods/2019/01/14/1547452760659259.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547452760984656.jpg b/public/static/upload/images/goods/2019/01/14/1547452760984656.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547453000703308.jpg b/public/static/upload/images/goods/2019/01/14/1547453000703308.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547453032949003.jpg b/public/static/upload/images/goods/2019/01/14/1547453032949003.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547453042405182.jpg b/public/static/upload/images/goods/2019/01/14/1547453042405182.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547453042614480.jpg b/public/static/upload/images/goods/2019/01/14/1547453042614480.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547453042816509.jpg b/public/static/upload/images/goods/2019/01/14/1547453042816509.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547453895416529.jpg b/public/static/upload/images/goods/2019/01/14/1547453895416529.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547453895864876.jpg b/public/static/upload/images/goods/2019/01/14/1547453895864876.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547453910353340.jpg b/public/static/upload/images/goods/2019/01/14/1547453910353340.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547453910394886.jpg b/public/static/upload/images/goods/2019/01/14/1547453910394886.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547453910505349.jpg b/public/static/upload/images/goods/2019/01/14/1547453910505349.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547454145355962.jpg b/public/static/upload/images/goods/2019/01/14/1547454145355962.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547454172213779.jpg b/public/static/upload/images/goods/2019/01/14/1547454172213779.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547454192301566.jpg b/public/static/upload/images/goods/2019/01/14/1547454192301566.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547454192448116.jpg b/public/static/upload/images/goods/2019/01/14/1547454192448116.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547454192474638.jpg b/public/static/upload/images/goods/2019/01/14/1547454192474638.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547454567172116.jpg b/public/static/upload/images/goods/2019/01/14/1547454567172116.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547454702272215.jpg b/public/static/upload/images/goods/2019/01/14/1547454702272215.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547454702543219.jpg b/public/static/upload/images/goods/2019/01/14/1547454702543219.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547454702814719.jpg b/public/static/upload/images/goods/2019/01/14/1547454702814719.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547454712270511.jpg b/public/static/upload/images/goods/2019/01/14/1547454712270511.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547454713456602.jpg b/public/static/upload/images/goods/2019/01/14/1547454713456602.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547454713556301.jpg b/public/static/upload/images/goods/2019/01/14/1547454713556301.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547454713800333.jpg b/public/static/upload/images/goods/2019/01/14/1547454713800333.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547455222990904.jpg b/public/static/upload/images/goods/2019/01/14/1547455222990904.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547455240700820.jpg b/public/static/upload/images/goods/2019/01/14/1547455240700820.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547455240794230.jpg b/public/static/upload/images/goods/2019/01/14/1547455240794230.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547455266234658.jpg b/public/static/upload/images/goods/2019/01/14/1547455266234658.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547455266527628.jpg b/public/static/upload/images/goods/2019/01/14/1547455266527628.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547455566118614.jpg b/public/static/upload/images/goods/2019/01/14/1547455566118614.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547455601168384.jpg b/public/static/upload/images/goods/2019/01/14/1547455601168384.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547455601314107.jpg b/public/static/upload/images/goods/2019/01/14/1547455601314107.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547455601528614.jpg b/public/static/upload/images/goods/2019/01/14/1547455601528614.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547455601898622.jpg b/public/static/upload/images/goods/2019/01/14/1547455601898622.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547455890402147.jpg b/public/static/upload/images/goods/2019/01/14/1547455890402147.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547455907256518.jpg b/public/static/upload/images/goods/2019/01/14/1547455907256518.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547455907486857.jpg b/public/static/upload/images/goods/2019/01/14/1547455907486857.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547456214155362.jpg b/public/static/upload/images/goods/2019/01/14/1547456214155362.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/14/1547456228913731.jpg b/public/static/upload/images/goods/2019/01/14/1547456228913731.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/goods/2019/01/15/1547540603500383.jpg b/public/static/upload/images/goods/2019/01/15/1547540603500383.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/plugins_answers/2019/03/06/1551853529634743.png b/public/static/upload/images/plugins_answers/2019/03/06/1551853529634743.png
new file mode 100644
index 000000000..454f3c78f
Binary files /dev/null and b/public/static/upload/images/plugins_answers/2019/03/06/1551853529634743.png differ
diff --git a/public/static/upload/images/plugins_answers/2019/03/06/1551867872397949.jpg b/public/static/upload/images/plugins_answers/2019/03/06/1551867872397949.jpg
new file mode 100644
index 000000000..18138900a
Binary files /dev/null and b/public/static/upload/images/plugins_answers/2019/03/06/1551867872397949.jpg differ
diff --git a/public/static/upload/images/plugins_commongobacktop/2019/02/15/1550200927239565.png b/public/static/upload/images/plugins_commongobacktop/2019/02/15/1550200927239565.png
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/plugins_commongobacktop/2019/02/15/1550210425433304.png b/public/static/upload/images/plugins_commongobacktop/2019/02/15/1550210425433304.png
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/plugins_commononlineservice/2019/02/17/1550393245526672.png b/public/static/upload/images/plugins_commononlineservice/2019/02/17/1550393245526672.png
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/plugins_commonrightnavigation/2019/02/17/1550375588899802.jpeg b/public/static/upload/images/plugins_commonrightnavigation/2019/02/17/1550375588899802.jpeg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/plugins_commontopmaxpicture/2019/02/09/1549671733978860.jpg b/public/static/upload/images/plugins_commontopmaxpicture/2019/02/09/1549671733978860.jpg
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/plugins_commontopmaxpicture/2019/02/09/1549671733987654.png b/public/static/upload/images/plugins_commontopmaxpicture/2019/02/09/1549671733987654.png
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/plugins_commontopnotice/2019/02/12/1549671733987652.png b/public/static/upload/images/plugins_commontopnotice/2019/02/12/1549671733987652.png
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/plugins_usercentertopnotice/2019/02/12/1549671733967341.png b/public/static/upload/images/plugins_usercentertopnotice/2019/02/12/1549671733967341.png
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/plugins_userloginrewardintegral/2019/02/14/1550151082834629.png b/public/static/upload/images/plugins_userloginrewardintegral/2019/02/14/1550151082834629.png
old mode 100644
new mode 100755
diff --git a/public/static/upload/images/plugins_usernotloginhidegoodsprice/2019/02/26/1551184745400164.png b/public/static/upload/images/plugins_usernotloginhidegoodsprice/2019/02/26/1551184745400164.png
old mode 100644
new mode 100755
diff --git a/route/route.config b/route/route.config
index d1cc92e0f..fa2af6c92 100755
--- a/route/route.config
+++ b/route/route.config
@@ -83,4 +83,7 @@ Route::get('user'.$ds.'order'.$ds.'comments'.$ds.':id', 'index/order/comments');
// 用户收藏/商品
Route::rule('user'.$ds.'favor'.$ds.'goods', 'index/userfavor/goods', 'GET|POST');
+
+// 插件首页
+Route::get('plugins'.$ds.':pluginsname'.$ds.':pluginscontrol'.$ds.':pluginsaction', 'index/plugins/index');
?>
\ No newline at end of file