2021-02-23 12:26:26 +08:00
-- MySQL dump 10.13 Distrib 5.7.28, for macos10.14 (x86_64)
--
-- Host: localhost Database: shopxo
-- ------------------------------------------------------
-- Server version 5.7.28
/* !40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */ ;
/* !40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */ ;
/* !40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */ ;
/* !40101 SET NAMES utf8 */ ;
/* !40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */ ;
/* !40103 SET TIME_ZONE='+00:00' */ ;
/* !40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */ ;
/* !40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */ ;
/* !40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ ;
/* !40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */ ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_admin`
2021-02-23 12:26:26 +08:00
--
2018-12-28 18:58:37 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_admin ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_admin ` (
2018-12-28 18:58:37 +08:00
` id ` int ( 10 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 管理员id ' ,
` username ` char ( 30 ) NOT NULL DEFAULT ' ' COMMENT ' 用户名 ' ,
` login_pwd ` char ( 32 ) NOT NULL DEFAULT ' ' COMMENT ' 登录密码 ' ,
` login_salt ` char ( 6 ) NOT NULL DEFAULT ' ' COMMENT ' 登录密码配合加密字符串 ' ,
` mobile ` char ( 11 ) NOT NULL DEFAULT ' ' COMMENT ' 手机号码 ' ,
2021-03-04 21:50:30 +08:00
` email ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 邮箱 ' ,
2018-12-28 18:58:37 +08:00
` gender ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 性别( 0保密, 1女, 2男) ' ,
2020-06-14 23:10:36 +08:00
` status ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 状态( 0正常, 1无效) ' ,
2018-12-28 18:58:37 +08:00
` login_total ` int ( 10 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 登录次数 ' ,
` login_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 最后登录时间 ' ,
` role_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 所属角色组 ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
` upd_time ` int ( 11 ) NOT NULL DEFAULT ' 0 ' COMMENT ' 更新时间 ' ,
PRIMARY KEY ( ` id ` )
2020-07-03 23:21:49 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 5 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 管理员 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_admin`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_admin ` WRITE ;
/* !40000 ALTER TABLE `sxo_admin` DISABLE KEYS */ ;
2021-05-27 20:20:23 +08:00
INSERT INTO ` sxo_admin ` VALUES ( 1 , ' admin ' , ' cad74f29df913924978ef1109fd4ad7b ' , ' 287148 ' , ' ' , ' xxx@shopxo.net ' , 0 , 0 , 713 , 1622110739 , 1 , 1481350313 , 1618153758 ) , ( 4 , ' shopxo ' , ' 965e000cef6c18d065958995dba3a04b ' , ' 718246 ' , ' ' , ' ' , 0 , 0 , 13 , 1622110690 , 13 , 1580807200 , 1616047308 ) ;
2021-04-07 14:17:35 +08:00
/* !40000 ALTER TABLE `sxo_admin` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_answer`
2021-02-23 12:26:26 +08:00
--
2021-01-14 14:01:25 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_answer ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_answer ` (
2018-12-28 18:58:37 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` user_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 用户id ' ,
` name ` char ( 30 ) NOT NULL DEFAULT ' ' COMMENT ' 联系人 ' ,
` tel ` char ( 20 ) NOT NULL DEFAULT ' ' COMMENT ' 联系电话 ' ,
2019-03-11 17:57:55 +08:00
` title ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 标题 ' ,
2019-04-08 08:14:08 +08:00
` content ` text COMMENT ' 详细内容 ' ,
` reply ` text COMMENT ' 回复内容 ' ,
` is_reply ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 是否已回复( 0否, 1是) ' ,
2019-03-13 16:11:28 +08:00
` reply_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 回复时间 ' ,
2018-12-28 18:58:37 +08:00
` is_show ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 是否显示( 0不显示, 1显示) ' ,
2019-03-13 16:11:28 +08:00
` access_count ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 访问次数 ' ,
2018-12-28 18:58:37 +08:00
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
` upd_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 更新时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` user_id ` ( ` name ` ) ,
KEY ` is_show ` ( ` is_show ` )
2020-11-03 09:27:09 +08:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 用户留言/问答 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_answer`
2021-02-23 12:26:26 +08:00
--
2021-01-14 14:01:25 +08:00
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_answer ` WRITE ;
/* !40000 ALTER TABLE `sxo_answer` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `sxo_answer` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_app_center_nav`
2021-02-23 12:26:26 +08:00
--
2020-12-25 18:29:11 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_app_center_nav ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_app_center_nav ` (
2019-07-03 21:29:40 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
2020-09-11 18:43:54 +08:00
` platform ` char ( 30 ) NOT NULL DEFAULT ' pc ' COMMENT ' 所属平台( pc PC网站, h5 H5手机网站, ios 苹果APP, android 安卓APP, alipay 支付宝小程序, weixin 微信小程序, baidu 百度小程序, toutiao 头条小程序, qq QQ小程序) ' ,
2019-07-03 21:29:40 +08:00
` event_type ` tinyint ( 2 ) NOT NULL DEFAULT ' -1 ' COMMENT ' 事件类型( 0 WEB页面, 1 内部页面(小程序或APP内部地址), 2 外部小程序(同一个主体下的小程序appid), 3 打开地图, 4 拨打电话) ' ,
` event_value ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 事件值 ' ,
` images_url ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 图片地址 ' ,
2020-09-11 18:43:54 +08:00
` name ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 名称 ' ,
2019-07-03 21:29:40 +08:00
` desc ` char ( 18 ) NOT NULL DEFAULT ' ' COMMENT ' 描述 ' ,
` is_enable ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 1 ' COMMENT ' 是否启用( 0否, 1是) ' ,
` is_need_login ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' 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 ` platform ` ( ` platform ` ) ,
KEY ` is_enable ` ( ` is_enable ` ) ,
KEY ` sort ` ( ` sort ` )
2020-12-22 15:32:10 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 52 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 手机 - 用户中心导航 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_app_center_nav`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_app_center_nav ` WRITE ;
/* !40000 ALTER TABLE `sxo_app_center_nav` DISABLE KEYS */ ;
INSERT INTO ` sxo_app_center_nav ` VALUES ( 1 , ' weixin ' , 1 , ' /pages/user-order/user-order ' , ' /static/upload/images/app_center_nav/2019/11/05/1572932149956815.png ' , ' 我的订单 ' , ' ' , 1 , 0 , 0 , 1562159178 , 1592661446 ) , ( 2 , ' weixin ' , 1 , ' /pages/user-faovr/user-faovr ' , ' /static/upload/images/app_center_nav/2019/07/03/1562157390405145.png ' , ' 我的收藏 ' , ' ' , 1 , 1 , 0 , 1562155833 , 1562157399 ) , ( 3 , ' weixin ' , 1 , ' /pages/user-address/user-address ' , ' /static/upload/images/app_center_nav/2019/07/03/1562157391533252.png ' , ' 我的地址 ' , ' ' , 1 , 1 , 0 , 1562155871 , 1562157408 ) , ( 4 , ' weixin ' , 1 , ' /pages/plugins/distribution/user/user ' , ' /static/upload/images/app_center_nav/2019/07/03/1562157391517979.png ' , ' 我的分销 ' , ' 分享赚取佣金 ' , 1 , 1 , 0 , 1562155901 , 1572416957 ) , ( 5 , ' weixin ' , 1 , ' /pages/plugins/membershiplevelvip/user/user ' , ' /static/upload/images/app_center_nav/2020/02/01/1580558516351420.png ' , ' 我的会员 ' , ' ' , 1 , 1 , 0 , 1562159178 , 1592661221 ) , ( 6 , ' weixin ' , 1 , ' /pages/plugins/wallet/user/user ' , ' /static/upload/images/app_center_nav/2020/02/01/1580558490671574.png ' , ' 我的钱包 ' , ' ' , 1 , 1 , 0 , 1562159178 , 1580558500 ) , ( 7 , ' weixin ' , 1 , ' /pages/plugins/coupon/user/user ' , ' /static/upload/images/app_center_nav/2019/10/16/1571231187362091.png ' , ' 我的卡券 ' , ' ' , 1 , 1 , 0 , 1562159178 , 1562157435 ) , ( 8 , ' weixin ' , 1 , ' /pages/user-answer-list/user-answer-list ' , ' /static/upload/images/app_center_nav/2019/07/03/1562157391428293.png ' , ' 我的留言 ' , ' ' , 1 , 1 , 0 , 1562156178 , 1562157435 ) , ( 9 , ' alipay ' , 1 , ' /pages/user-order/user-order ' , ' /static/upload/images/app_center_nav/2019/11/05/1572932149956815.png ' , ' 我的订单 ' , ' ' , 1 , 1 , 0 , 1562159178 , 1572932155 ) , ( 10 , ' alipay ' , 1 , ' /pages/user-faovr/user-faovr ' , ' /static/upload/images/app_center_nav/2019/07/03/1562157390405145.png ' , ' 我的收藏 ' , ' ' , 1 , 1 , 0 , 1562155833 , 1562157399 ) , ( 11 , ' alipay ' , 1 , ' /pages/user-address/user-address ' , ' /static/upload/images/app_center_nav/2019/07/03/1562157391533252.png ' , ' 我的地址 ' , ' ' , 1 , 1 , 0 , 1562155871 , 1562157408 ) , ( 12 , ' alipay ' , 1 , ' /pages/plugins/distribution/user/user ' , ' /static/upload/images/app_center_nav/2019/07/03/1562157391517979.png ' , ' 我的分销 ' , ' 分享赚取佣金 ' , 1 , 1 , 0 , 1562155901 , 1572416957 ) , ( 13 , ' alipay ' , 1 , ' /pages/plugins/membershiplevelvip/user/user ' , ' /static/upload/images/app_center_nav/2020/02/01/1580558516351420.png ' , ' 我的会员 ' , ' ' , 1 , 1 , 0 , 1562159178 , 1580558518 ) , ( 14 , ' alipay ' , 1 , ' /pages/plugins/wallet/user/user ' , ' /static/upload/images/app_center_nav/2020/02/01/1580558490671574.png ' , ' 我的钱包 ' , ' ' , 1 , 1 , 0 , 1562159178 , 1580558500 ) , ( 15 , ' alipay ' , 1 , ' /pages/plugins/coupon/user/user ' , ' /static/upload/images/app_center_nav/2019/10/16/1571231187362091.png ' , ' 我的卡券 ' , ' ' , 1 , 1 , 0 , 1562159178 , 1562157435 ) , ( 16 , ' alipay ' , 1 , ' /pages/user-answer-list/user-answer-list ' , ' /static/upload/images/app_center_nav/2019/07/03/1562157391428293.png ' , ' 我的留言 ' , ' ' , 1 , 1 , 0 , 1562156178 , 1562157435 ) , ( 17 , ' toutiao ' , 1 , ' /pages/user-order/user-order ' , ' /static/upload/images/app_center_nav/2019/11/05/1572932149956815.png ' , ' 我的订单 ' , ' ' , 1 , 1 , 0 , 1562159178 , 1572932155 ) , ( 18 , ' toutiao ' , 1 , ' /pages/user-faovr/user-faovr ' , ' /static/upload/images/app_center_nav/2019/07/03/1562157390405145.png ' , ' 我的收藏 ' , ' ' , 1 , 1 , 0 , 1562155833 , 1562157399 ) , ( 19 , ' toutiao ' , 1 , ' /pages/user-address/user-address ' , ' /static/upload/images/app_center_nav/2019/07/03/1562157391533252.png ' , ' 我的地址 ' , ' ' , 1 , 1 , 0 , 1562155871 , 1562157408 ) , ( 20 , ' toutiao ' , 1 , ' /pages/plugins/distribution/user/user ' , ' /static/upload/images/app_center_nav/2019/07/03/1562157391517979.png ' , ' 我的分销 ' , ' 分享赚取佣金 ' , 1 , 1 , 0 , 1562155901 , 1572416957 ) , ( 21 , ' toutiao ' , 1 , ' /pages/plugins/membershiplevelvip/user/user ' , ' /static/upload/images/app_center_nav/2020/02/01/1580558516351420.png ' , ' 我的会员 ' , ' ' , 1 , 1 , 0 , 1562159178 , 1580558518 ) , ( 22 , ' toutiao ' , 1 , ' /pages/plugins/wallet/user/user ' , ' /static/upload/images/app_center_nav/2020/02/01/1580558490671574.png ' , ' 我的钱包 ' , ' ' , 1 , 1 , 0 , 1562159178 , 1580558500 ) , ( 23 , ' toutiao ' , 1 , ' /pages/plugins/coupon/user/user ' , ' /static/upload/images/app_center_nav/2019/10/16/1571231187362091.png ' , ' 我的卡券 ' , ' ' , 1 , 1 , 0 , 1562159178 , 1562157435 ) , ( 24 , ' toutiao ' , 1 , ' /pages/user-answer-list/user-answer-list ' , ' /static/upload/images/app_center_nav/2019/07/
/* !40000 ALTER TABLE `sxo_app_center_nav` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_app_home_nav`
2021-02-23 12:26:26 +08:00
--
2021-01-14 14:01:25 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_app_home_nav ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_app_home_nav ` (
2018-12-28 18:58:37 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
2020-09-11 18:43:54 +08:00
` platform ` char ( 30 ) NOT NULL DEFAULT ' pc ' COMMENT ' 所属平台( pc PC网站, h5 H5手机网站, ios 苹果APP, android 安卓APP, alipay 支付宝小程序, weixin 微信小程序, baidu 百度小程序, toutiao 头条小程序, qq QQ小程序) ' ,
2018-12-28 18:58:37 +08:00
` event_type ` tinyint ( 2 ) NOT NULL DEFAULT ' -1 ' COMMENT ' 事件类型( 0 WEB页面, 1 内部页面(小程序或APP内部地址), 2 外部小程序(同一个主体下的小程序appid), 3 打开地图, 4 拨打电话) ' ,
` event_value ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 事件值 ' ,
` images_url ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 图片地址 ' ,
2020-09-11 18:43:54 +08:00
` name ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 名称 ' ,
2018-12-28 18:58:37 +08:00
` is_enable ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 1 ' COMMENT ' 是否启用( 0否, 1是) ' ,
2019-04-22 14:41:20 +08:00
` is_need_login ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 是否需要登录( 0否, 1是) ' ,
2018-12-28 18:58:37 +08:00
` bg_color ` char ( 30 ) NOT NULL DEFAULT ' ' COMMENT ' css背景色值 ' ,
` 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 ` platform ` ( ` platform ` ) ,
KEY ` is_enable ` ( ` is_enable ` ) ,
KEY ` sort ` ( ` sort ` )
2020-07-03 23:21:49 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 25 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 手机 - 首页导航 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_app_home_nav`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_app_home_nav ` WRITE ;
/* !40000 ALTER TABLE `sxo_app_home_nav` DISABLE KEYS */ ;
INSERT INTO ` sxo_app_home_nav ` VALUES ( 1 , ' weixin ' , 1 , ' /pages/goods-category/goods-category ' , ' /static/upload/images/app_nav/2018/11/19/2018111915461980516.png ' , ' 分类 ' , 1 , 0 , ' #48CFAE ' , 0 , 1542563498 , 1592659437 ) , ( 2 , ' weixin ' , 1 , ' /pages/plugins/coupon/index/index ' , ' /static/upload/images/app_nav/2019/10/16/1571231655606153.png ' , ' 优惠券 ' , 1 , 0 , ' #FF0066 ' , 0 , 1542613659 , 1592659444 ) , ( 3 , ' weixin ' , 1 , ' /pages/user-order/user-order ' , ' /static/upload/images/app_nav/2018/11/19/2018111915482687655.png ' , ' 订单 ' , 1 , 0 , ' #CC6633 ' , 0 , 1542613706 , 1572417702 ) , ( 4 , ' weixin ' , 1 , ' /pages/plugins/weixinliveplayer/index/index ' , ' /static/upload/images/app_nav/2020/04/19/1587304154495133.png ' , ' 我的 ' , 1 , 0 , ' #FF00CC ' , 0 , 1542613752 , 1587363007 ) , ( 5 , ' h5 ' , 4 , ' 17600000000 ' , ' /static/upload/images/app_nav/2018/11/19/2018111915461980516.png ' , ' 拨打电话 ' , 1 , 0 , ' #FB6E52 ' , 0 , 1555913238 , 1609165650 ) , ( 6 , ' h5 ' , 3 , ' ShopXO|上海浦东新区张江高科技园区XXX号|121.626444|31.20843 ' , ' /static/upload/images/app_nav/2018/11/19/2018111915473948001.png ' , ' 地图测试 ' , 1 , 0 , ' #48CFAE ' , 0 , 1555913479 , 1609165802 ) , ( 7 , ' h5 ' , 0 , ' index.php?s=/index/plugins/index/pluginsname/coupon/pluginscontrol/index/pluginsaction/index.html ' , ' /static/upload/images/app_nav/2019/10/16/1571231655606153.png ' , ' 优惠券 ' , 1 , 0 , ' #FF0066 ' , 0 , 1555914517 , 1572401676 ) , ( 8 , ' h5 ' , 0 , ' index.php?s=/index/user/index.html ' , ' /static/upload/images/app_nav/2018/11/19/2018111915491258361.png ' , ' 我的 ' , 1 , 1 , ' #49acfa ' , 0 , 1555914623 , 1555914935 ) , ( 9 , ' alipay ' , 1 , ' /pages/goods-category/goods-category ' , ' /static/upload/images/app_nav/2018/11/19/2018111915461980516.png ' , ' 分类 ' , 1 , 0 , ' #48CFAE ' , 0 , 1542563498 , 1571231781 ) , ( 10 , ' alipay ' , 1 , ' /pages/plugins/coupon/index/index ' , ' /static/upload/images/app_nav/2019/10/16/1571231655606153.png ' , ' 优惠券 ' , 1 , 0 , ' #FF0066 ' , 0 , 1542613659 , 1571231802 ) , ( 11 , ' alipay ' , 1 , ' /pages/user-order/user-order ' , ' /static/upload/images/app_nav/2018/11/19/2018111915482687655.png ' , ' 订单 ' , 1 , 0 , ' #CC6633 ' , 0 , 1542613706 , 1573648088 ) , ( 12 , ' alipay ' , 1 , ' /pages/user/user ' , ' /static/upload/images/app_nav/2018/11/19/2018111915491258361.png ' , ' 我的 ' , 1 , 0 , ' #49acfa ' , 0 , 1542613752 , 1555913113 ) , ( 13 , ' baidu ' , 1 , ' /pages/goods-category/goods-category ' , ' /static/upload/images/app_nav/2018/11/19/2018111915461980516.png ' , ' 分类 ' , 1 , 0 , ' #48CFAE ' , 0 , 1542563498 , 1571231781 ) , ( 14 , ' baidu ' , 1 , ' /pages/plugins/coupon/index/index ' , ' /static/upload/images/app_nav/2019/10/16/1571231655606153.png ' , ' 优惠券 ' , 1 , 0 , ' #FF0066 ' , 0 , 1542613659 , 1571231802 ) , ( 15 , ' baidu ' , 1 , ' /pages/user-order/user-order ' , ' /static/upload/images/app_nav/2018/11/19/2018111915482687655.png ' , ' 订单 ' , 1 , 0 , ' #CC6633 ' , 0 , 1542613706 , 1563363613 ) , ( 16 , ' baidu ' , 1 , ' /pages/user/user ' , ' /static/upload/images/app_nav/2018/11/19/2018111915491258361.png ' , ' 我的 ' , 1 , 0 , ' #49acfa ' , 0 , 1542613752 , 1555913113 ) , ( 17 , ' toutiao ' , 1 , ' /pages/goods-category/goods-category ' , ' /static/upload/images/app_nav/2018/11/19/2018111915461980516.png ' , ' 分类 ' , 1 , 0 , ' #48CFAE ' , 0 , 1542563498 , 1571231781 ) , ( 18 , ' toutiao ' , 1 , ' /pages/plugins/coupon/index/index ' , ' /static/upload/images/app_nav/2019/10/16/1571231655606153.png ' , ' 优惠券 ' , 1 , 0 , ' #FF0066 ' , 0 , 1542613659 , 1571231802 ) , ( 19 , ' toutiao ' , 1 , ' /pages/user-order/user-order ' , ' /static/upload/images/app_nav/2018/11/19/2018111915482687655.png ' , ' 订单 ' , 1 , 0 , ' #CC6633 ' , 0 , 1542613706 , 1563363613 ) , ( 20 , ' toutiao ' , 1 , ' /pages/user/user ' , ' /static/upload/images/app_nav/2018/11/19/2018111915491258361.png ' , ' 我的 ' , 1 , 0 , ' #49acfa ' , 0 , 1542613752 , 1555913113 ) , ( 21 , ' qq ' , 1 , ' /pages/goods-category/goods-category ' , ' /static/upload/images/app_nav/2018/11/19/2018111915461980516.png ' , ' 分类 ' , 1 , 0 , ' #48CFAE ' , 0 , 1542563498 , 1571231781 ) , ( 22 , ' qq ' , 1 , ' /pages/plugins/coupon/index/index ' , ' /static/upload/images/app_nav/2019/10/16/1571231655606153.png ' , ' 优惠券 ' , 1 , 0 , ' #FF0066 ' , 0 , 1542613659 , 1571231802 ) , ( 23 , ' qq ' , 1 , ' /pages/user-order/user-order ' , ' /static/upload/images/app_nav/2018/11/19/2018111915482687655.png ' , ' 订单 ' , 1 , 0 , ' #CC6633 ' , 0 , 1542613706 , 1563363613 ) , ( 24 , ' qq ' , 1 , ' /pages/user/user ' , ' /static/upload/images/app_nav/2018/11/19/2018111915491258361.png ' , ' 我的 ' , 1 , 0 , ' #49acfa ' , 0 , 1542613752 , 1592659845 ) ;
/* !40000 ALTER TABLE `sxo_app_home_nav` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_article`
2021-02-23 12:26:26 +08:00
--
2018-12-28 18:58:37 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_article ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_article ` (
2018-12-28 18:58:37 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` title ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 标题 ' ,
` article_category_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 文章分类 ' ,
` title_color ` char ( 7 ) NOT NULL DEFAULT ' ' COMMENT ' 标题颜色 ' ,
` jump_url ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 跳转url地址 ' ,
` is_enable ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 1 ' COMMENT ' 是否启用( 0否, 1是) ' ,
2020-01-09 18:29:17 +08:00
` content ` longtext COMMENT ' 内容 ' ,
2019-10-10 20:55:56 +08:00
` images ` text COMMENT ' 图片数据( 一维数组json) ' ,
` images_count ` tinyint ( 3 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 图片数量 ' ,
2018-12-28 18:58:37 +08:00
` access_count ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 访问次数 ' ,
` is_home_recommended ` tinyint ( 2 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 是否首页推荐( 0否, 1是) ' ,
2019-06-02 21:45:10 +08:00
` seo_title ` char ( 100 ) NOT NULL DEFAULT ' ' COMMENT ' SEO标题 ' ,
` seo_keywords ` char ( 130 ) NOT NULL DEFAULT ' ' COMMENT ' SEO关键字 ' ,
` seo_desc ` char ( 230 ) NOT NULL DEFAULT ' ' COMMENT ' SEO描述 ' ,
2018-12-28 18:58:37 +08:00
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
` upd_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 更新时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` title ` ( ` title ` ) ,
KEY ` is_enable ` ( ` is_enable ` ) ,
KEY ` access_count ` ( ` access_count ` ) ,
2019-10-10 20:55:56 +08:00
KEY ` image_count ` ( ` images_count ` ) ,
2018-12-28 18:58:37 +08:00
KEY ` article_category_id ` ( ` article_category_id ` )
2020-07-03 23:21:49 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 30 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 文章 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_article`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_article ` WRITE ;
/* !40000 ALTER TABLE `sxo_article` DISABLE KEYS */ ;
INSERT INTO ` sxo_article ` VALUES ( 1 , ' 如何注册成为会员 ' , 7 , ' ' , ' ' , 1 , ' <p>如何注册成为会员</p><p>如何注册成为会员</p><p>如何注册成为会员</p><p>如何注册成为会员</p> ' , ' [] ' , 0 , 223 , 1 , ' ' , ' ' , ' ' , 1484965691 , 1534228456 ) , ( 3 , ' 积分细则 ' , 7 , ' #FF0000 ' , ' ' , 1 , ' <p>积分细则</p><p>积分细则</p><p>积分细则</p><p>积分细则</p><p>积分细则</p><p>积分细则</p><p>积分细则</p> ' , ' [] ' , 0 , 54 , 1 , ' ' , ' ' , ' ' , 1484985139 , 1534228496 ) , ( 4 , ' 积分兑换说明 ' , 17 , ' ' , ' ' , 1 , ' <p>积分兑换说明</p><p>积分兑换说明</p><p>积分兑换说明</p><p>积分兑换说明</p><p>积分兑换说明</p><p>积分兑换说明</p> ' , ' [] ' , 0 , 46 , 1 , ' ' , ' ' , ' ' , 1484989903 , 1534228520 ) , ( 5 , ' 如何搜索 ' , 7 , ' ' , ' ' , 1 , ' <p>如何搜索</p><p>如何搜索</p><p>如何搜索</p><p>如何搜索</p><p>如何搜索</p><p>如何搜索</p><p>如何搜索</p> ' , ' [] ' , 0 , 41 , 1 , ' ' , ' ' , ' ' , 1485064767 , 1534228544 ) , ( 6 , ' 忘记密码 ' , 17 , ' ' , ' ' , 1 , ' <p>忘记密码</p><p>忘记密码</p><p>忘记密码</p><p>忘记密码</p><p>忘记密码</p> ' , ' [] ' , 0 , 24 , 1 , ' ' , ' ' , ' ' , 1485073500 , 1534228567 ) , ( 7 , ' 如何管理店铺 ' , 10 , ' ' , ' ' , 1 , ' <p>如何管理店铺</p><p>如何管理店铺</p><p>如何管理店铺</p><p>如何管理店铺</p><p>如何管理店铺</p><p>如何管理店铺</p> ' , ' [] ' , 0 , 60 , 1 , ' ' , ' ' , ' ' , 1487819252 , 1534228589 ) , ( 8 , ' 查看售出商品 ' , 10 , ' ' , ' ' , 1 , ' <p>查看售出商品</p><p>查看售出商品</p><p>查看售出商品</p><p>查看售出商品</p><p>查看售出商品</p> ' , ' [] ' , 0 , 59 , 1 , ' ' , ' ' , ' ' , 1487819408 , 1534228614 ) , ( 9 , ' 如何发货 ' , 10 , ' #CC0066 ' , ' ' , 1 , ' <p>如何发货</p><p>如何发货</p><p>如何发货</p><p>如何发货</p><p>如何发货</p> ' , ' ' , 0 , 44 , 1 , ' ' , ' ' , ' ' , 1487920130 , 1545500851 ) , ( 10 , ' 商城商品推荐 ' , 10 , ' ' , ' ' , 1 , ' <p>商城商品推荐</p><p>商城商品推荐</p><p>商城商品推荐</p><p>商城商品推荐</p><p>商城商品推荐</p> ' , ' [] ' , 0 , 14 , 1 , ' ' , ' ' , ' ' , 1534228650 , 1534228650 ) , ( 11 , ' 如何申请开店 ' , 10 , ' ' , ' ' , 1 , ' <p>如何申请开店</p><p>如何申请开店</p><p>如何申请开店</p><p>如何申请开店</p> ' , ' [] ' , 0 , 8 , 1 , ' ' , ' ' , ' ' , 1534228676 , 1534228676 ) , ( 12 , ' 分期付款 ' , 16 , ' ' , ' ' , 1 , ' <p>分期付款</p><p>分期付款</p><p>分期付款</p><p>分期付款</p><p>分期付款</p> ' , ' [] ' , 0 , 36 , 1 , ' ' , ' ' , ' ' , 1534228694 , 1534228694 ) , ( 13 , ' 邮局汇款 ' , 16 , ' ' , ' ' , 1 , ' <p>邮局汇款</p><p>邮局汇款</p><p>邮局汇款</p><p>邮局汇款</p><p>邮局汇款</p> ' , ' [] ' , 0 , 33 , 1 , ' ' , ' ' , ' ' , 1534228710 , 1534228710 ) , ( 14 , ' 公司转账 ' , 16 , ' ' , ' ' , 1 , ' <p>公司转账</p><p>公司转账</p><p>公司转账</p><p>公司转账</p><p>公司转账</p> ' , ' [] ' , 0 , 41 , 1 , ' ' , ' ' , ' ' , 1534228732 , 1534228732 ) , ( 15 , ' 如何注册支付宝 ' , 16 , ' ' , ' ' , 1 , ' <p>如何注册支付宝</p><p>如何注册支付宝</p><p>如何注册支付宝</p><p>如何注册支付宝</p><p>如何注册支付宝</p> ' , ' [] ' , 0 , 29 , 1 , ' ' , ' ' , ' ' , 1534228748 , 1534228748 ) , ( 16 , ' 在线支付 ' , 16 , ' ' , ' ' , 1 , ' <p>在线支付</p><p>在线支付</p><p>在线支付</p><p>在线支付</p><p>在线支付</p> ' , ' [] ' , 0 , 37 , 1 , ' ' , ' ' , ' ' , 1534228764 , 1534228764 ) , ( 17 , ' 联系卖家 ' , 17 , ' ' , ' ' , 1 , ' <p>联系卖家</p><p>联系卖家</p><p>联系卖家</p><p>联系卖家</p><p>联系卖家</p><p>联系卖家</p> ' , ' [] ' , 0 , 10 , 1 , ' ' , ' ' , ' ' , 1534228781 , 1534228781 ) , ( 18 , ' 退换货政策 ' , 17 , ' ' , ' ' , 1 , ' <p>退换货政策</p><p>退换货政策</p><p>退换货政策</p><p>退换货政策</p><p>退换货政策</p> ' , ' [] ' , 0 , 5 , 1 , ' ' , ' ' , ' ' , 1534228802 , 1534228802 ) , ( 19 , ' 退换货流程 ' , 17 , ' ' , ' ' , 1 , ' <p>退换货流程</p><p>退换货流程</p><p>退换货流程</p><p>退换货流程</p><p>退换货流程</p> ' , ' [] ' , 0 , 0 , 1 , ' ' , ' ' , ' ' , 1534228850 , 1534228850 ) , ( 20 , ' 返修/退换货 ' , 17 , ' ' , ' ' , 1 , ' <p>返修/退换货</p><p>返修/退换货</p><p>返修/退换货</p><p>返修/退换货</p><p>返修/退换货</p> ' , ' [] ' , 0 , 4 , 1 , ' ' , ' ' , ' ' , 1534228867 , 1534228867 ) , ( 21 , ' 退款申请 ' , 17 , ' ' , ' ' , 1 , ' <p>退款申请</p><p>退款申请</p><p>退款申请</p><p>退款申请</p><p>退款申请</p> ' , ' [] ' , 0 , 56 , 1 , ' ' , ' ' , ' ' , 1534228885 , 1534228885 ) , ( 22 , ' 会员修改密码 ' , 18 , ' ' , ' ' , 1 , ' <p>会员修改密码</p><p>会员修改密码</p><p>会员修改密码</p><p>会员修改密码</p> ' , ' [] ' , 0 , 69 , 1 , ' ' , ' ' , ' ' , 153422890
/* !40000 ALTER TABLE `sxo_article` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_article_category`
2021-02-23 12:26:26 +08:00
--
2018-12-28 18:58:37 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_article_category ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_article_category ` (
2018-12-28 18:58:37 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 分类id ' ,
` pid ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 父id ' ,
` name ` char ( 30 ) CHARACTER SET utf8 NOT NULL COMMENT ' 名称 ' ,
` 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 ` pid ` ( ` pid ` ) ,
KEY ` is_enable ` ( ` is_enable ` )
) ENGINE = InnoDB AUTO_INCREMENT = 25 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 文章分类 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_article_category`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_article_category ` WRITE ;
/* !40000 ALTER TABLE `sxo_article_category` DISABLE KEYS */ ;
INSERT INTO ` sxo_article_category ` VALUES ( 7 , 0 , ' 帮助中心 ' , 1 , 0 , 0 , 1545501262 ) , ( 10 , 0 , ' 店主之家 ' , 1 , 0 , 0 , 1607494981 ) , ( 16 , 0 , ' 支付方式 ' , 1 , 0 , 1482840545 , 1534228311 ) , ( 17 , 0 , ' 售后服务 ' , 1 , 0 , 1482840557 , 1605774851 ) , ( 18 , 0 , ' 客服中心 ' , 1 , 0 , 1482840577 , 1605775056 ) , ( 24 , 0 , ' 关于我们 ' , 1 , 0 , 1483951541 , 1605775135 ) ;
/* !40000 ALTER TABLE `sxo_article_category` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_attachment`
2021-02-23 12:26:26 +08:00
--
2021-01-14 14:01:25 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_attachment ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_attachment ` (
2019-06-26 18:03:16 +08:00
` id ` bigint ( 20 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` title ` char ( 160 ) NOT NULL DEFAULT ' ' COMMENT ' 名称 ' ,
` original ` char ( 160 ) NOT NULL DEFAULT ' ' COMMENT ' 原始名称 ' ,
` path_type ` char ( 80 ) NOT NULL DEFAULT ' ' COMMENT ' 路径标记 ' ,
` size ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 大小( 单位kb) ' ,
` ext ` char ( 30 ) NOT NULL DEFAULT ' ' COMMENT ' 类型(后缀名) ' ,
` type ` char ( 30 ) NOT NULL DEFAULT ' ' COMMENT ' 类型( file文件, image图片, scrawl涂鸦, video视频, remote远程抓取文件) ' ,
` url ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' url路径 ' ,
` hash ` text COMMENT ' hash值 ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` path_type ` ( ` path_type ` ) ,
KEY ` type ` ( ` type ` )
2021-05-27 20:20:23 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 641 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 附件 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_attachment`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_attachment ` WRITE ;
/* !40000 ALTER TABLE `sxo_attachment` DISABLE KEYS */ ;
2021-05-27 20:20:23 +08:00
INSERT INTO ` sxo_attachment ` VALUES ( 1 , ' 1547458876723311.mp4 ' , ' 1547458876723311.mp4 ' , ' goods ' , 5212749 , ' .mp4 ' , ' video ' , ' /static/upload/video/goods/2019/01/14/1547458876723311.mp4 ' , ' 7a926ee38e8c53b128b6ea9559ae0af95324dbbb4e8b8bff55c8020b72a8261e ' , 1561538565 ) , ( 2 , ' 2018111915461980516.png ' , ' 2018111915461980516.png ' , ' app_nav ' , 730 , ' .png ' , ' image ' , ' /static/upload/images/app_nav/2018/11/19/2018111915461980516.png ' , ' 7b7c3e3b0dcad495d0929f3c7b868aa08e753d7ed32e69c680479a31b8530ac4 ' , 1561538565 ) , ( 3 , ' 2018111915473948001.png ' , ' 2018111915473948001.png ' , ' app_nav ' , 894 , ' .png ' , ' image ' , ' /static/upload/images/app_nav/2018/11/19/2018111915473948001.png ' , ' bb122d0a92cc8472561ded9febb86704777541b0cc5f2582a2a78b51fb9c96f4 ' , 1561538565 ) , ( 4 , ' 2018111915482687655.png ' , ' 2018111915482687655.png ' , ' app_nav ' , 1430 , ' .png ' , ' image ' , ' /static/upload/images/app_nav/2018/11/19/2018111915482687655.png ' , ' 6ff6f72142d89359a57d63c7684e40f06f4a76f71648a745b8c9607b0b04e486 ' , 1561538565 ) , ( 5 , ' 2018111915491258361.png ' , ' 2018111915491258361.png ' , ' app_nav ' , 879 , ' .png ' , ' image ' , ' /static/upload/images/app_nav/2018/11/19/2018111915491258361.png ' , ' d76f8244968847868b66cd055f03a29afc3476e5385cef6b27351df7f54f98de ' , 1561538565 ) , ( 6 , ' 1551064260180298.jpeg ' , ' 1551064260180298.jpeg ' , ' brand ' , 2393 , ' .jpeg ' , ' image ' , ' /static/upload/images/brand/2019/02/25/1551064260180298.jpeg ' , ' 858f2f5aa01d2cecdc907b93a99765b8dccc6a8d1015a0ab048ad2a46c96e65e ' , 1561538565 ) , ( 7 , ' 1551064277207182.jpeg ' , ' 1551064277207182.jpeg ' , ' brand ' , 3063 , ' .jpeg ' , ' image ' , ' /static/upload/images/brand/2019/02/25/1551064277207182.jpeg ' , ' b1a4f186af72f1a2bb6cb425c5eff59c10fe11289a91944f016b0156021e55e6 ' , 1561538565 ) , ( 8 , ' 1547448705165706.png ' , ' 1547448705165706.png ' , ' common ' , 8725 , ' .png ' , ' image ' , ' /static/upload/images/common/2019/01/14/1547448705165706.png ' , ' 3e4a6cf6ea3ed26836a59275cdbe58d441109717dd9b961bd912cbc5f336c556 ' , 1561538565 ) , ( 9 , ' 1547448728921121.jpg ' , ' 1547448728921121.jpg ' , ' common ' , 43556 , ' .jpg ' , ' image ' , ' /static/upload/images/common/2019/01/14/1547448728921121.jpg ' , ' 829a7f9988db882fbd643ffdbd9a646e169b31f89641b3d4904338758016c2b4 ' , 1561538565 ) , ( 10 , ' 1547448748316693.png ' , ' 1547448748316693.png ' , ' common ' , 21102 , ' .png ' , ' image ' , ' /static/upload/images/common/2019/01/14/1547448748316693.png ' , ' 2db8ea9424e63d4a2affcd0ac52f8f0e89c417f5725833a97d5afd534809d9b4 ' , 1561538565 ) , ( 11 , ' 1554805439263794.jpeg ' , ' 1554805439263794.jpeg ' , ' common ' , 19885 , ' .jpeg ' , ' image ' , ' /static/upload/images/common/2019/04/09/1554805439263794.jpeg ' , ' f4b731035bac0627508caa101e1f537d25592c5201455647d2f1d1c5b7c3e3c4 ' , 1561538565 ) , ( 12 , ' 1558025141249118.png ' , ' 1558025141249118.png ' , ' common ' , 146965 , ' .png ' , ' image ' , ' /static/upload/images/common/2019/05/17/1558025141249118.png ' , ' 316b56dec84b3c8dcc01b7672c6dad6eff88a518495f6cf81ccf45e58306bf58 ' , 1561538565 ) , ( 13 , ' 1558062481107570.jpg ' , ' 1558062481107570.jpg ' , ' common ' , 67729 , ' .jpg ' , ' image ' , ' /static/upload/images/common/2019/05/17/1558062481107570.jpg ' , ' 66feea05a2fb10cb5983f4df2deeec6a35b5453876c14b7fabe62dbb3528d93c ' , 1561538565 ) , ( 14 , ' 1558072588843696.jpg ' , ' 1558072588843696.jpg ' , ' common ' , 61648 , ' .jpg ' , ' image ' , ' /static/upload/images/common/2019/05/17/1558072588843696.jpg ' , ' 18739da62d47b0062eef55bff5464809ac18bbcf500c18e5e130661ff40ad223 ' , 1561538565 ) , ( 15 , ' 1558073623385520.jpg ' , ' 1558073623385520.jpg ' , ' common ' , 83272 , ' .jpg ' , ' image ' , ' /static/upload/images/common/2019/05/17/1558073623385520.jpg ' , ' 49acf5646f5ea6d7daf439fbea4cc9421d2d40f5979203a554e36a1da462ce7f ' , 1561538565 ) , ( 16 , ' 1558073623641199.jpg ' , ' 1558073623641199.jpg ' , ' common ' , 76591 , ' .jpg ' , ' image ' , ' /static/upload/images/common/2019/05/17/1558073623641199.jpg ' , ' ffdf93c767c65745d2e0cd1694548f689f6f0b9108c5b6d19f499f2bbe7e6417 ' , 1561538565 ) , ( 17 , ' 1533779966550231.jpeg ' , ' 1533779966550231.jpeg ' , ' customview ' , 23584 , ' .jpeg ' , ' image ' , ' /static/upload/images/customview/image/2018/08/09/1533779966550231.jpeg ' , ' 2aa35a2f5037edba292bee25bc693c30422e969a13ce9d2228224efa7cfc9175 ' , 1561538565 ) , ( 18 , ' 20180917104528_logo.png ' , ' 20180917104528_logo.png ' , ' express ' , 1769 , ' .png ' , ' image ' , ' /static/upload/images/express/images/20180917104528_logo.png ' , ' c3d6d1a36d5f330f94c6135621ccb6d6f9b88ccb5f051aa3b6afc8142e3675b2 ' , 1561538565 ) , ( 19 , ' 2
2021-04-07 14:17:35 +08:00
/* !40000 ALTER TABLE `sxo_attachment` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_brand`
2021-02-23 12:26:26 +08:00
--
2021-01-14 14:01:25 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_brand ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_brand ` (
2018-12-28 18:58:37 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` logo ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' logo图标 ' ,
` name ` char ( 30 ) NOT NULL COMMENT ' 名称 ' ,
2021-01-11 13:18:04 +08:00
` describe ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 描述 ' ,
2018-12-28 18:58:37 +08:00
` website_url ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 官网地址 ' ,
` is_enable ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 1 ' COMMENT ' 是否启用( 0否, 1是) ' ,
` sort ` tinyint ( 3 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 顺序 ' ,
2019-08-20 13:18:59 +08:00
` seo_title ` char ( 100 ) NOT NULL DEFAULT ' ' COMMENT ' SEO标题 ' ,
` seo_keywords ` char ( 130 ) NOT NULL DEFAULT ' ' COMMENT ' SEO关键字 ' ,
` seo_desc ` char ( 230 ) NOT NULL DEFAULT ' ' COMMENT ' SEO描述 ' ,
2018-12-28 18:58:37 +08:00
` 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 ` )
2021-05-27 23:56:38 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 4 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 品牌 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_brand`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_brand ` WRITE ;
/* !40000 ALTER TABLE `sxo_brand` DISABLE KEYS */ ;
2021-05-27 20:20:23 +08:00
INSERT INTO ` sxo_brand ` VALUES ( 1 , ' /static/upload/images/brand/2019/02/25/1551064260180298.jpeg ' , ' 强生 ' , ' 强生公司一直注重在中国的发展,强生(中国)有限公司1992年1月在上海闵行经济技术开发区注册成立,注册资本超过一亿美元,是强生公司在中国大陆设立的首家独资企业。 ' , ' https://www.johnsonsbaby.com.cn/ ' , 1 , 0 , ' ' , ' ' , ' ' , 1551064263 , 1610346871 ) , ( 2 , ' /static/upload/images/brand/2019/02/25/1551064277207182.jpeg ' , ' 佳洁士 ' , ' 佳洁士是享誉全球的口腔护理品牌,旗下有牙膏,牙刷,牙贴和漱口水等多种产品。上佳洁士官网,了解更多佳洁士产品和口腔保健的资讯。 ' , ' https://www.crest.com.cn/ ' , 1 , 0 , ' ' , ' ' , ' ' , 1551064299 , 1610346851 ) , ( 3 , ' ' , ' 阿迪达斯 ' , ' 阿迪达斯一般指adidas。adidas( 阿迪达斯) 创办于1949年, 是德国运动用品制造商阿迪达斯AG成员公司。以其创办人阿道夫·阿迪·达斯勒( Adolf Adi Dassler) 。 ' , ' https://www.adidas.com.cn/ ' , 1 , 0 , ' ' , ' ' , ' ' , 1610019864 , 1610351690 ) ;
2021-04-07 14:17:35 +08:00
/* !40000 ALTER TABLE `sxo_brand` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_brand_category`
2021-02-23 12:26:26 +08:00
--
2021-01-14 14:01:25 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_brand_category ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_brand_category ` (
2018-12-28 18:58:37 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 分类id ' ,
` name ` char ( 30 ) CHARACTER SET utf8 NOT NULL COMMENT ' 名称 ' ,
` 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 ` )
) ENGINE = InnoDB AUTO_INCREMENT = 32 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 品牌分类 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_brand_category`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_brand_category ` WRITE ;
/* !40000 ALTER TABLE `sxo_brand_category` DISABLE KEYS */ ;
INSERT INTO ` sxo_brand_category ` VALUES ( 7 , ' 母婴用品 ' , 1 , 0 , 0 , 1606397242 ) , ( 10 , ' 运动健康 ' , 1 , 0 , 0 , 1610281945 ) , ( 16 , ' 食品饮料 ' , 1 , 0 , 1482840545 , 1535684635 ) , ( 17 , ' 珠宝手表 ' , 1 , 0 , 1482840557 , 1610281948 ) , ( 18 , ' 个护化妆 ' , 1 , 0 , 1482840577 , 1605775417 ) , ( 24 , ' 家用电器 ' , 1 , 0 , 1483951541 , 1535684669 ) , ( 25 , ' 数码办公 ' , 1 , 0 , 1535684676 , 0 ) , ( 26 , ' 服装鞋帽 ' , 1 , 0 , 1535684688 , 1605775408 ) , ( 27 , ' 家居家装 ' , 1 , 0 , 1535684701 , 1605775405 ) , ( 28 , ' 厨房餐饮 ' , 1 , 0 , 1535684707 , 1535684722 ) , ( 29 , ' 汽车用品 ' , 1 , 0 , 1535684729 , 0 ) , ( 30 , ' 虚拟充值 ' , 1 , 0 , 1535684745 , 1605775402 ) , ( 31 , ' 其他 ' , 1 , 0 , 1535684797 , 1605775399 ) ;
/* !40000 ALTER TABLE `sxo_brand_category` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_brand_category_join`
2021-02-23 12:26:26 +08:00
--
2021-01-14 14:01:25 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_brand_category_join ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_brand_category_join ` (
2020-08-01 22:17:32 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` brand_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 品牌id ' ,
` brand_category_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 分类id ' ,
` add_time ` int ( 11 ) unsigned DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` brand_id ` ( ` brand_id ` ) ,
KEY ` brand_category_id ` ( ` brand_category_id ` )
2021-01-12 21:51:39 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 56 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 品牌分类关联 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_brand_category_join`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_brand_category_join ` WRITE ;
/* !40000 ALTER TABLE `sxo_brand_category_join` DISABLE KEYS */ ;
INSERT INTO ` sxo_brand_category_join ` VALUES ( 19 , 4 , 16 , 1598276011 ) , ( 29 , 5 , 10 , 1598276166 ) , ( 51 , 2 , 18 , 1610346851 ) , ( 52 , 1 , 7 , 1610346871 ) , ( 53 , 1 , 18 , 1610346871 ) , ( 54 , 1 , 27 , 1610346871 ) , ( 55 , 3 , 10 , 1610351690 ) ;
/* !40000 ALTER TABLE `sxo_brand_category_join` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_cart`
2021-02-23 12:26:26 +08:00
--
2020-08-01 22:17:32 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_cart ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_cart ` (
2018-12-28 18:58:37 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` user_id ` int ( 11 ) unsigned DEFAULT ' 0 ' COMMENT ' 用户id ' ,
` goods_id ` int ( 11 ) unsigned DEFAULT ' 0 ' COMMENT ' 商品id ' ,
2020-12-25 18:23:01 +08:00
` title ` char ( 160 ) NOT NULL DEFAULT ' ' COMMENT ' 标题 ' ,
2018-12-28 18:58:37 +08:00
` images ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 封面图片 ' ,
` original_price ` decimal ( 10 , 2 ) unsigned NOT NULL DEFAULT ' 0.00 ' COMMENT ' 原价 ' ,
` price ` decimal ( 10 , 2 ) unsigned NOT NULL DEFAULT ' 0.00 ' COMMENT ' 销售价格 ' ,
` stock ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 购买数量 ' ,
2019-12-06 21:36:43 +08:00
` spec ` text COMMENT ' 规格 ' ,
2018-12-28 18:58:37 +08:00
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
` upd_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 更新时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` user_id ` ( ` user_id ` ) ,
KEY ` goods_id ` ( ` goods_id ` ) ,
KEY ` title ` ( ` title ` ) ,
KEY ` stock ` ( ` stock ` )
2021-03-16 14:48:48 +08:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 购物车 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_cart`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_cart ` WRITE ;
/* !40000 ALTER TABLE `sxo_cart` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `sxo_cart` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_config`
2021-02-23 12:26:26 +08:00
--
2018-12-28 18:58:37 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_config ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_config ` (
2018-12-28 18:58:37 +08:00
` id ` int ( 10 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 基本设置id ' ,
` value ` text COMMENT ' 值 ' ,
` name ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 名称 ' ,
` describe ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 描述 ' ,
` error_tips ` char ( 150 ) NOT NULL DEFAULT ' ' COMMENT ' 错误提示 ' ,
` type ` char ( 30 ) NOT NULL DEFAULT ' ' COMMENT ' 类型( admin后台, home前台) ' ,
` only_tag ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 唯一的标记 ' ,
` upd_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 更新时间 ' ,
PRIMARY KEY ( ` id ` ) ,
UNIQUE KEY ` only_tag ` ( ` only_tag ` )
2021-05-27 10:30:20 +08:00
) ENGINE = MyISAM AUTO_INCREMENT = 228 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 基本配置参数 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_config`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_config ` WRITE ;
/* !40000 ALTER TABLE `sxo_config` DISABLE KEYS */ ;
2021-05-27 23:56:38 +08:00
INSERT INTO ` sxo_config ` VALUES ( 15 , ' 15 ' , ' 分页数量 ' , ' 分页显示数量 ' , ' 分页不能超过3位数 ' , ' admin ' , ' common_page_size ' , 1622079879 ) , ( 59 , ' 1 ' , ' 扣减库存规则 ' , ' 需扣减库存开启方可有效,默认订单支付成功 ' , ' ' , ' common ' , ' common_deduction_inventory_rules ' , 1617521790 ) , ( 60 , ' 1 ' , ' 是否扣减库存 ' , ' 建议不要随意修改,以免造成库存数据错乱,关闭不影响库存回滚 ' , ' ' , ' common ' , ' common_is_deduction_inventory ' , 1617521790 ) , ( 11 , ' 0 ' , ' Excel编码 ' , ' excel模块编码选择 ' , ' 请选择编码 ' , ' admin ' , ' admin_excel_charset ' , 1622079879 ) , ( 16 , ' ShopXO企业级B2C电商系统提供商 - 演示站点 ' , ' 站点标题 ' , ' 浏览器标题, 一般不超过80个字符 ' , ' 站点标题不能为空 ' , ' home ' , ' home_seo_site_title ' , 1622084401 ) , ( 17 , ' 商城系统,开源电商系统,免费电商系统,PHP电商系统,商城系统,B2C电商系统,B2B2C电商系统 ' , ' 站点关键字 ' , ' 一般不超过100个字符, 多个关键字以半圆角逗号 [ , ] 隔开 ' , ' 站点关键字不能为空 ' , ' home ' , ' home_seo_site_keywords ' , 1622084401 ) , ( 18 , ' ShopXO是国内领先的商城系统提供商, 为企业提供php商城系统、微信商城、小程序。 ' , ' 站点描述 ' , ' 站点描述, 一般不超过200个字符 ' , ' 站点描述不能为空 ' , ' home ' , ' home_seo_site_description ' , 1622084401 ) , ( 19 , ' 沪ICP备xxx号 ' , ' ICP证书号 ' , ' ICP域名备案号 ' , ' ' , ' home ' , ' home_site_icp ' , 1620270345 ) , ( 20 , ' ' , ' 底部统计代码 ' , ' 支持html, 可用于添加流量统计代码 ' , ' ' , ' home ' , ' home_statistics_code ' , 0 ) , ( 21 , ' 1 ' , ' 站点状态 ' , ' 可暂时将站点关闭,其他人无法访问,但不影响管理员访问后台 ' , ' 请选择站点状态 ' , ' home ' , ' home_site_state ' , 1620270345 ) , ( 22 , ' 升级中... ' , ' 关闭原因 ' , ' 支持html, 当网站处于关闭状态时, 关闭原因将显示在前台 ' , ' ' , ' home ' , ' home_site_close_reason ' , 1620270345 ) , ( 23 , ' Asia/Shanghai ' , ' 默认时区 ' , ' 默认 亚洲/上海 [标准时+8] ' , ' 请选择默认时区 ' , ' common ' , ' common_timezone ' , 1620270345 ) , ( 24 , ' ' , ' 底部代码 ' , ' 支持html, 可用于添加流量统计代码 ' , ' ' , ' home ' , ' home_footer_info ' , 1620270345 ) , ( 28 , ' ShopXO ' , ' 站点名称 ' , ' ' , ' 站点名称不能为空 ' , ' home ' , ' home_site_name ' , 1620270345 ) , ( 29 , ' 0 ' , ' 链接模式 ' , ' 非兼容模式请确保配置好伪静态规则 ' , ' 请选择url模式 ' , ' home ' , ' home_seo_url_model ' , 1622084401 ) , ( 25 , ' 20480000 ' , ' 图片最大限制 ' , ' 单位B [上传图片还受到服务器空间PHP配置最大上传 20M 限制] ' , ' 请填写图片上传最大限制 ' , ' home ' , ' home_max_limit_image ' , 1617866089 ) , ( 26 , ' 51200000 ' , ' 文件最大限制 ' , ' 单位B [上传文件还受到服务器空间PHP配置最大上传 20M 限制] ' , ' 请填写文件上传最大限制 ' , ' home ' , ' home_max_limit_file ' , 1617866089 ) , ( 27 , ' 102400000 ' , ' 视频最大限制 ' , ' 单位B [上传视频还受到服务器空间PHP配置最大上传 20M 限制] ' , ' 请填写视频上传最大限制 ' , ' home ' , ' home_max_limit_video ' , 1617866089 ) , ( 30 , ' html ' , ' 伪静态后缀 ' , ' 链接后面的后缀别名,默认 [ html ] ' , ' 小写字母, 不能超过8个字符 ' , ' home ' , ' home_seo_url_html_suffix ' , 1622084401 ) , ( 31 , ' 0 ' , ' 用户注册开启审核 ' , ' 默认关闭,开启后用户注册需要审核通过方可登录 ' , ' 请选择用户注册开启审核 ' , ' common ' , ' common_register_is_enable_audit ' , 1621526952 ) , ( 32 , ' /static/upload/images/common/2019/01/14/1547448748316693.png ' , ' 手机端logo ' , ' 支持 [jpg, png, gif], 建议220x66px ' , ' 请上传手机端网站logo ' , ' home ' , ' home_site_logo_wap ' , 1620270345 ) , ( 33 , ' /static/upload/images/common/2019/01/14/1547448705165706.png ' , ' 电脑端logo ' , ' 支持 [jpg, png, gif], 建议220x60px ' , ' 请上传电脑端网站logo ' , ' home ' , ' home_site_logo ' , 1620270345 ) , ( 34 , ' 1200 ' , ' 页面最大宽度 ' , ' 页面最大宽度, 单位px, 0则100% ' , ' 请填写页面宽度值 ' , ' home ' , ' home_content_max_width ' , 1600008688 ) , ( 35 , ' /static/upload/images/common/2019/01/14/1547448728921121.jpg ' , ' 桌面图标 ' , ' 建议使用png格式, 建议300x300px ' , ' 请上传做面图标 ' , ' common ' , ' home_site_desktop_icon ' , 1620270345 ) , ( 36 , ' sms,email,username ' , ' 注册方式 ' , ' 未选择、前端站点将无法注册,可选择 [ 短<>
2021-04-07 14:17:35 +08:00
/* !40000 ALTER TABLE `sxo_config` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_custom_view`
2021-02-23 12:26:26 +08:00
--
2021-01-14 14:01:25 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_custom_view ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_custom_view ` (
2018-12-28 18:58:37 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` title ` char ( 60 ) CHARACTER SET utf8 NOT NULL DEFAULT ' ' COMMENT ' 标题 ' ,
2020-06-16 23:27:12 +08:00
` content ` longtext COMMENT ' 内容 ' ,
2018-12-28 18:58:37 +08:00
` is_enable ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 1 ' COMMENT ' 是否启用( 0否, 1是) ' ,
` is_header ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 1 ' COMMENT ' 是否包含头部( 0否, 1是) ' ,
` is_footer ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 1 ' COMMENT ' 是否包含尾部( 0否, 1是) ' ,
` is_full_screen ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 是否满屏( 0否, 1是) ' ,
2019-10-10 20:55:56 +08:00
` images ` text COMMENT ' 图片数据( 一维数组json) ' ,
` images_count ` tinyint ( 3 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 图片数量 ' ,
2018-12-28 18:58:37 +08:00
` access_count ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 访问次数 ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
` upd_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 更新时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` title ` ( ` title ` ) ,
KEY ` is_enable ` ( ` is_enable ` ) ,
KEY ` access_count ` ( ` access_count ` ) ,
2019-10-10 20:55:56 +08:00
KEY ` image_count ` ( ` images_count ` )
2020-11-03 09:27:09 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 2 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 自定义页面 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_custom_view`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_custom_view ` WRITE ;
/* !40000 ALTER TABLE `sxo_custom_view` DISABLE KEYS */ ;
INSERT INTO ` sxo_custom_view ` VALUES ( 1 , ' 测试自定义页面22沙发上冬瓜豆腐东方红甘肃光合谷 vV 币 vv 小白菜 v 吧俄国人搞活动个人风格 VC 不超过吧都是 ' , ' <p><img src=\"/static/upload/images/customview/image/2018/08/09/1533779966550231.jpeg\" title=\"1533779966550231.jpeg\" alt=\"1.jpeg\"/></p><p><span style=\"color: rgb(255, 0, 0);\">ShopXO</span></p><p><span style=\"color: rgb(38, 38, 38); font-family: 微软雅黑, \">秀,身材苗条!</span></p><p><span style=\"color: rgb(38, 38, 38); font-family: 微软雅黑, \"></span></p><p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 1.6rem; color: rgb(51, 51, 51); font-family: \">在欧美的排版业界中,使用 Arial 的作品意即是「不使用 Helvetica 的作品」,会被认為是设计师对字体的使用没有概念或是太容易妥协,基本上我大致也是同意。</p><p style=\"box-sizing: border-box; margin-top: 1.6rem; margin-bottom: 1.6rem; color: rgb(51, 51, 51); font-family: \"><br/></p><p style=\"box-sizing: border-box; margin-top: 1.6rem; margin-bottom: 1.6rem; color: rgb(51, 51, 51); font-family: \">因為 Helvetica 只有 Mac 上才有內建, Windows 用戶除非花錢買,不然是沒有 Helvetica 能用,所以使用 Arial 的設計師往往被看成是不願意對 Typography 花錢,專業素養不到家的人。除了在確保網頁相容性等絕對必需的情況外,幾乎可以說是不應該使用的字體。</p><p><span style=\"color: rgb(38, 38, 38); font-family: 微软雅黑, \"><br/></span></p><p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 1.6rem; color: rgb(51, 51, 51); font-family: \">在欧美的排版业界中,使用 Arial 的作品意即是「不使用 Helvetica 的作品」,会被认為是设计师对字体的使用没有概念或是太容易妥协,基本上我大致也是同意。</p><p style=\"box-sizing: border-box; margin-top: 1.6rem; margin-bottom: 1.6rem; color: rgb(51, 51, 51); font-family: \">因為 Helvetica 只有 Mac 上才有內建, Windows 用戶除非花錢買,不然是沒有 Helvetica 能用,所以使用 Arial 的設計師往往被看成是不願意對 Typography 花錢,專業素養不到家的人。除了在確保網頁相容性等絕對必需的情況外,幾乎可以說是不應該使用的字體。</p><p><span style=\"color: rgb(38, 38, 38); font-family: 微软雅黑, \"><br/></span></p><p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 1.6rem; color: rgb(51, 51, 51); font-family: \">在欧美的排版业界中,使用 Arial 的作品意即是「不使用 Helvetica 的作品」,会被认為是设计师对字体的使用没有概念或是太容易妥协,基本上我大致也是同意。</p><p style=\"box-sizing: border-box; margin-top: 1.6rem; margin-bottom: 1.6rem; color: rgb(51, 51, 51); font-family: \">因為 Helvetica 只有 Mac 上才有內建, Windows 用戶除非花錢買,不然是沒有 Helvetica 能用,所以使用 Arial 的設計師往往被看成是不願意對 Typography 花錢,專業素養不到家的人。除了在確保網頁相容性等絕對必需的情況外,幾乎可以說是不應該使用的字體。</p><p><span style=\"color: rgb(38, 38, 38); font-family: 微软雅黑, \"><br/></span></p><p><span style=\"color: rgb(38, 38, 38); font-family: 微软雅黑, \"><br/></span></p><p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 1.6rem; color: rgb(51, 51, 51); font-family: \">在欧美的排版业界中,使用 Arial 的作品意即是「不使用 Helvetica 的作品」,会被认為是设计师对字体的使用没有概念或是太容易妥协,基本上我大致也是同意。</p><p style=\"box-sizing: border-box; margin-top: 1.6rem; margin-bottom: 1.6rem; color: rgb(51, 51, 51); font-family: \">因為 Helvetica 只有 Mac 上才有內建, Windows 用戶除非花錢買,不然是沒有 Helvetica 能用,所以使用 Arial 的設計師往往被看成是不願意對 Typography 花錢, 專業素養不到家的人。除了在確保網頁相容性<E5AEB9>
/* !40000 ALTER TABLE `sxo_custom_view` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
2021-01-14 14:01:25 +08:00
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_express`
2021-02-23 12:26:26 +08:00
--
2020-12-25 14:53:40 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_express ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_express ` (
2018-12-28 18:58:37 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` pid ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 父id ' ,
` icon ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' icon图标 ' ,
` name ` char ( 30 ) NOT NULL COMMENT ' 名称 ' ,
` 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 ` )
2020-11-23 11:27:15 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 15 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 快递公司 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_express`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_express ` WRITE ;
/* !40000 ALTER TABLE `sxo_express` DISABLE KEYS */ ;
INSERT INTO ` sxo_express ` VALUES ( 1 , 0 , ' /static/upload/images/express/images/20180917104528_logo.png ' , ' 顺丰快递 ' , 1 , 0 , 1526350443 , 1613626001 ) , ( 2 , 0 , ' /static/upload/images/express/images/20180917104538_logo.png ' , ' 圆通快递 ' , 1 , 0 , 1526350453 , 1613626234 ) , ( 3 , 0 , ' /static/upload/images/express/images/20180917104550_logo.png ' , ' 申通快递 ' , 1 , 0 , 1526350461 , 1583070213 ) , ( 4 , 0 , ' /static/upload/images/express/images/20180917104559_logo.png ' , ' 中通快递 ' , 1 , 0 , 1526350469 , 1537152359 ) , ( 5 , 0 , ' /static/upload/images/express/images/20180917104839_logo.png ' , ' EMS速递 ' , 1 , 0 , 1530429633 , 1537152519 ) , ( 6 , 0 , ' /static/upload/images/express/images/20180917104631_logo.png ' , ' 韵达快递 ' , 1 , 0 , 1530429687 , 1537152391 ) , ( 7 , 0 , ' /static/upload/images/express/images/20180917104848_logo.png ' , ' 邮政包裹 ' , 1 , 0 , 1530429743 , 1537152528 ) , ( 8 , 0 , ' /static/upload/images/express/images/20180917104816_logo.png ' , ' 百世汇通 ' , 1 , 0 , 1530429765 , 1537152496 ) , ( 9 , 0 , ' /static/upload/images/express/images/20180917104616_logo.png ' , ' 国通快递 ' , 1 , 0 , 1530429794 , 1537152376 ) , ( 10 , 0 , ' /static/upload/images/express/images/20180917104650_logo.png ' , ' 天天快递 ' , 1 , 0 , 1530429830 , 1537152410 ) , ( 11 , 0 , ' /static/upload/images/express/images/20180917104707_logo.png ' , ' 优速快递 ' , 1 , 0 , 1530429855 , 1537152427 ) , ( 12 , 0 , ' /static/upload/images/express/images/20180917104722_logo.png ' , ' 全峰快递 ' , 1 , 0 , 1530429873 , 1537152442 ) , ( 13 , 0 , ' /static/upload/images/express/images/20180917104750_logo.png ' , ' 宅急送 ' , 1 , 0 , 1530429907 , 1537152470 ) , ( 14 , 0 , ' /static/upload/images/express/images/20180917104757_logo.png ' , ' 京东快递 ' , 1 , 0 , 1530429926 , 1605775704 ) ;
/* !40000 ALTER TABLE `sxo_express` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_form_table_user_fields`
2021-02-23 12:26:26 +08:00
--
2021-01-14 14:01:25 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_form_table_user_fields ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_form_table_user_fields ` (
2020-10-09 22:11:25 +08:00
` id ` bigint ( 20 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` user_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 管理员id或用户id ' ,
` user_type ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 用户类型( 0后台管理员, 1用户端) ' ,
` md5_key ` char ( 32 ) NOT NULL DEFAULT ' ' COMMENT ' form表格数据唯一key ' ,
` fields ` text COMMENT ' 字段数据( json格式存储) ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
` upd_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 更新时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` user_id ` ( ` user_id ` ) ,
KEY ` user_type ` ( ` user_type ` ) ,
KEY ` md5_key ` ( ` md5_key ` )
2020-12-09 14:59:07 +08:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 动态表格用户自定义字段 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2021-01-14 14:01:25 +08:00
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_form_table_user_fields`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_form_table_user_fields ` WRITE ;
/* !40000 ALTER TABLE `sxo_form_table_user_fields` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `sxo_form_table_user_fields` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_goods`
2021-02-23 12:26:26 +08:00
--
2020-12-25 14:53:40 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_goods ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_goods ` (
2018-12-28 18:58:37 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` brand_id ` int ( 11 ) unsigned DEFAULT ' 0 ' COMMENT ' 品牌id ' ,
2020-07-03 23:21:49 +08:00
` site_type ` tinyint ( 1 ) NOT NULL DEFAULT ' -1 ' COMMENT ' 商品类型(跟随站点类型一致[0销售, 1展示, 2自提, 3虚拟销售, 4销售+自提]) ' ,
2020-09-11 18:43:54 +08:00
` title ` char ( 160 ) NOT NULL DEFAULT ' ' COMMENT ' 标题 ' ,
2019-04-11 18:27:50 +08:00
` title_color ` char ( 7 ) NOT NULL DEFAULT ' ' COMMENT ' 标题颜色 ' ,
2020-09-11 18:43:54 +08:00
` simple_desc ` char ( 230 ) NOT NULL DEFAULT ' ' COMMENT ' 简述 ' ,
2019-04-11 18:27:50 +08:00
` model ` char ( 30 ) NOT NULL DEFAULT ' ' COMMENT ' 型号 ' ,
2018-12-28 18:58:37 +08:00
` place_origin ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 产地( 地区省id) ' ,
` inventory ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 库存(所有规格库存总和) ' ,
2019-04-11 18:27:50 +08:00
` inventory_unit ` char ( 15 ) NOT NULL DEFAULT ' ' COMMENT ' 库存单位 ' ,
2018-12-28 18:58:37 +08:00
` 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 ' 最低原价 ' ,
` max_original_price ` decimal ( 10 , 2 ) unsigned NOT NULL DEFAULT ' 0.00 ' COMMENT ' 最大原价 ' ,
` price ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 销售价格(单值:10, 区间:10.00-20.00)一般用于展示使用 ' ,
` min_price ` decimal ( 10 , 2 ) unsigned NOT NULL DEFAULT ' 0.00 ' COMMENT ' 最低价格 ' ,
` max_price ` decimal ( 10 , 2 ) unsigned NOT NULL DEFAULT ' 0.00 ' COMMENT ' 最高价格 ' ,
2020-06-28 22:50:10 +08:00
` give_integral ` int ( 6 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 购买赠送积分比例 ' ,
2018-12-28 18:58:37 +08:00
` buy_min_number ` int ( 11 ) unsigned NOT NULL DEFAULT ' 1 ' COMMENT ' 最低起购数量 ( 默认1) ' ,
` buy_max_number ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 最大购买数量(最大数值 100000000, 小于等于0或空则不限) ' ,
` 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是) ' ,
2019-09-23 14:19:18 +08:00
` content_web ` mediumtext COMMENT ' 电脑端详情内容 ' ,
2018-12-28 18:58:37 +08:00
` 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 ' 访问次数 ' ,
` video ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 短视频 ' ,
2019-08-02 21:35:25 +08:00
` is_exist_many_spec ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 是否存在多个规格( 0否, 1是) ' ,
2019-09-23 14:19:18 +08:00
` spec_base ` text COMMENT ' 规格基础数据 ' ,
2019-11-20 18:35:38 +08:00
` fictitious_goods_value ` text COMMENT ' 虚拟商品展示数据 ' ,
2019-06-02 21:45:10 +08:00
` seo_title ` char ( 100 ) NOT NULL DEFAULT ' ' COMMENT ' SEO标题 ' ,
2019-05-05 11:29:55 +08:00
` seo_keywords ` char ( 130 ) NOT NULL DEFAULT ' ' COMMENT ' SEO关键字 ' ,
` seo_desc ` char ( 230 ) NOT NULL DEFAULT ' ' COMMENT ' SEO描述 ' ,
2018-12-28 18:58:37 +08:00
` is_delete_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 是否已删除( 0 未删除, 大于0则是删除时间) ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
` upd_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 更新时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` title ` ( ` title ` ) ,
KEY ` access_count ` ( ` access_count ` ) ,
KEY ` photo_count ` ( ` photo_count ` ) ,
2021-03-18 13:22:26 +08:00
KEY ` is_shelves ` ( ` is_shelves ` ) ,
KEY ` brand_id ` ( ` brand_id ` ) ,
KEY ` sales_count ` ( ` sales_count ` ) ,
KEY ` is_delete_time ` ( ` is_delete_time ` )
2021-04-11 23:37:24 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 13 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 商品 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_goods`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_goods ` WRITE ;
/* !40000 ALTER TABLE `sxo_goods` DISABLE KEYS */ ;
2021-05-27 20:20:23 +08:00
INSERT INTO ` sxo_goods ` VALUES ( 1 , 1 , - 1 , ' MIUI/小米 小米手机4 小米4代 MI4智能4G手机包邮 黑色 D-LTE( 4G) /TD-SCD ' , ' ' , ' ' , ' ' , 0 , 888888 , ' 步 ' , ' /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 , ' <p><img src=\"/static/upload/images/goods/2019/01/14/1547450880620837.png\" title=\"1547450880620837.png\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547450880750687.png\" title=\"1547450880750687.png\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547450880917418.png\" title=\"1547450880917418.png\"/></p><p><br/></p> ' , 2 , 10 , 820 , ' ' , 0 , ' ' , ' <p><a href=\"https://pan.baidu.com/s/18xyUNruvohr5JCdorvaz5w\" target=\"_blank\" style=\"box-sizing: border-box; background-color: rgb(255, 255, 255); color: rgb(0, 154, 97); text-decoration-line: none; font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "WenQuanYi Micro Hei", "Microsoft Yahei", sans-serif; font-size: 14px; white-space: normal;\">https://pan.baidu.com/s/18xyUNruvohr5JCdorvaz5w</a><span style=\"box-sizing: border-box; color: rgb(51, 51, 51); font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "WenQuanYi Micro Hei", "Microsoft Yahei", sans-serif; font-size: 14px;\"> 提取码 </span><span style=\"box-sizing: border-box; color: rgb(51, 51, 51); font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "WenQuanYi Micro Hei", "Microsoft Yahei", sans-serif; font-size: 14px;\">v3y4</span></p> ' , ' ' , ' ' , ' ' , 0 , 1547450921 , 1619434982 ) , ( 2 , 2 , - 1 , ' 苹果( Apple) iPhone 6 Plus (A1524)移动联通电信4G手机 金色 16G ' , ' ' , ' ' , ' iPhone 6 Plus ' , 0 , 7999992 , ' 步 ' , ' /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 , ' <p><img src=\"/static/upload/images/goods/2019/01/14/1547451595700972.jpg\" title=\"1547451595700972.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547451595528800.jpg\" title=\"1547451595528800.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547451595616298.jpg\" title=\"1547451595616298.jpg\"/></p><p><br/></p> ' , 2 , 38 , 1951 , ' /static/upload/video/goods/2019/01/14/1547458876723311.mp4 ' , 1 , ' ' , ' ' , ' ' , ' ' , ' ' , 0 , 1547451624 , 1619434982 ) , ( 3 , 2 , - 1 , ' Samsung/三星 SM-G8508S GALAXY Alpha四核智能手机 新品 闪耀白 ' , ' ' , ' ' , ' ' , 0 , 888888 , ' 步 ' , ' /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 , ' <p><img src=\"/static/upload/images/goods/2019/01/14/1547451947383902.jpg\" title=\"1547451947383902.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547451947686990.jpg\" title=\"1547451947686990.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547451947676180.jpg\" title=\"1547451947676180.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547451947791154.jpg\" title=\"1547451947791154.jpg\"/></p><p><br/></p> ' , 2 , 5 , 331 , ' ' , 0 , ' ' , ' ' , ' ' , ' ' , ' ' , 0 , 1547452007 , 1619434982 ) , ( 4 , 1 , - 1 , ' Huawei/华为 H60-L01 荣耀6 移动4G版智能手机 安卓 ' , ' ' , ' ' , ' ' , 0 , 888888 , ' 步 ' , ' /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 , ' <p><img src=\"/static/upload/images/goods/2019/01/14/1547452505568604.jpg\" title=\"1547452505568604.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547452505349986.jpg\" title=\"1547452505349986.jpg\"/></p><p><img src=\"/static/upload/images/goods/2019/01/14/1547452505184884.jpg\" title=\"1547452505184884.jpg\"/></p><p><br/></p> ' , 2 , 5 , 314 , ' ' , 0 , ' ' , ' ' , ' ' , ' ' , ' ' , 0 , 1547452553 , 1619434982 ) , ( 5 , 2 , - 1 , ' Meizu/魅族 MX4 Pro移动版 八核大屏智能手机 黑色 16G ' , ' ' , ' ' , ' ' , 0 , 455 , ' 步 ' , ' /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 , ' <p><img sr
2021-04-07 14:17:35 +08:00
/* !40000 ALTER TABLE `sxo_goods` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_goods_browse`
2021-02-23 12:26:26 +08:00
--
2018-12-28 18:58:37 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_goods_browse ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_goods_browse ` (
2018-12-28 18:58:37 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` goods_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 商品id ' ,
` user_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 用户id ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
` upd_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 更新时间 ' ,
PRIMARY KEY ( ` id ` )
2021-05-27 10:30:20 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 11 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 用户商品浏览 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_goods_browse`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_goods_browse ` WRITE ;
/* !40000 ALTER TABLE `sxo_goods_browse` DISABLE KEYS */ ;
2021-05-27 10:30:20 +08:00
INSERT INTO ` sxo_goods_browse ` VALUES ( 1 , 1 , 1 , 1619434953 , 0 ) , ( 2 , 8 , 1 , 1619435008 , 1621240076 ) , ( 3 , 7 , 1 , 1619435012 , 1621415273 ) , ( 4 , 2 , 1 , 1619588872 , 1619589667 ) , ( 5 , 6 , 1 , 1620285336 , 1622082488 ) , ( 6 , 5 , 1 , 1620285343 , 1622082491 ) , ( 7 , 12 , 1 , 1620366498 , 1622082497 ) , ( 8 , 9 , 1 , 1621248132 , 1621248694 ) , ( 9 , 10 , 1 , 1621418380 , 1621419601 ) , ( 10 , 11 , 1 , 1622082494 , 0 ) ;
2021-04-07 14:17:35 +08:00
/* !40000 ALTER TABLE `sxo_goods_browse` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_goods_category`
2021-02-23 12:26:26 +08:00
--
2018-12-28 18:58:37 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_goods_category ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_goods_category ` (
2018-12-28 18:58:37 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` pid ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 父id ' ,
` icon ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' icon图标 ' ,
` name ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 名称 ' ,
` vice_name ` char ( 80 ) NOT NULL DEFAULT ' ' COMMENT ' 副标题 ' ,
` describe ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 描述 ' ,
` bg_color ` char ( 30 ) NOT NULL DEFAULT ' ' COMMENT ' css背景色值 ' ,
` big_images ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 大图片 ' ,
` is_home_recommended ` tinyint ( 2 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 是否首页推荐( 0否, 1是) ' ,
` sort ` tinyint ( 3 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 排序 ' ,
` is_enable ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 1 ' COMMENT ' 是否启用( 0否, 1是) ' ,
2019-06-02 21:45:10 +08:00
` seo_title ` char ( 100 ) NOT NULL DEFAULT ' ' COMMENT ' SEO标题 ' ,
` seo_keywords ` char ( 130 ) NOT NULL DEFAULT ' ' COMMENT ' SEO关键字 ' ,
` seo_desc ` char ( 230 ) NOT NULL DEFAULT ' ' COMMENT ' SEO描述 ' ,
2018-12-28 18:58:37 +08:00
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
` upd_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 更新时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` pid ` ( ` pid ` ) ,
KEY ` is_enable ` ( ` is_enable ` ) ,
KEY ` sort ` ( ` sort ` )
2020-11-23 11:27:15 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 893 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 商品分类 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_goods_category`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_goods_category ` WRITE ;
/* !40000 ALTER TABLE `sxo_goods_category` DISABLE KEYS */ ;
INSERT INTO ` sxo_goods_category ` VALUES ( 1 , 0 , ' /static/upload/images/goods_category/2018/08/20180814174251211789.png ' , ' 数码办公 ' , ' 天天新品,科技带来快乐! ' , ' iphoneX新品发布了 ' , ' #23acff ' , ' /static/upload/images/goods_category/2018/08/20180814180843848554.png ' , 1 , 0 , 1 , ' 数码办公标题 ' , ' 数码办公,笔记本,手机 ' , ' 数码办公周边产品 ' , 1529042764 , 1613625376 ) , ( 2 , 0 , ' /static/upload/images/goods_category/2018/08/20180814174311166703.png ' , ' 服饰鞋包 ' , ' 因为美丽、所以神秘! ' , ' 追求美、你值得拥有 ' , ' #9761f7 ' , ' /static/upload/images/goods_category/2018/08/20180815182045222850.png ' , 1 , 0 , 1 , ' ' , ' ' , ' ' , 1529042764 , 1557131490 ) , ( 3 , 0 , ' /static/upload/images/goods_category/2018/08/20180814174638213368.png ' , ' 食品饮料 ' , ' 每一道甜品都有一个故事 ' , ' 美食天下之美 ' , ' #ff9229 ' , ' ' , 0 , 0 , 1 , ' ' , ' ' , ' ' , 1529042764 , 1547456413 ) , ( 7 , 0 , ' /static/upload/images/goods_category/2018/08/20180814174649846358.png ' , ' 个护化妆 ' , ' ' , ' ' , ' ' , ' ' , 0 , 0 , 1 , ' ' , ' ' , ' ' , 1529042764 , 1534240009 ) , ( 52 , 0 , ' /static/upload/images/goods_category/2018/08/20180814174659916405.png ' , ' 珠宝手表 ' , ' ' , ' ' , ' ' , ' ' , 0 , 0 , 1 , ' ' , ' ' , ' ' , 1529042764 , 1606372820 ) , ( 53 , 0 , ' /static/upload/images/goods_category/2018/08/20180814174708327545.png ' , ' 运动健康 ' , ' ' , ' 户外装备,应有尽有 ' , ' #53c0f3 ' , ' ' , 0 , 0 , 1 , ' ' , ' ' , ' ' , 1529042764 , 1547456464 ) , ( 54 , 0 , ' /static/upload/images/goods_category/2018/08/20180814174722490490.png ' , ' 汽车用品 ' , ' ' , ' ' , ' ' , ' ' , 0 , 0 , 1 , ' ' , ' ' , ' ' , 1529042764 , 1534240042 ) , ( 55 , 0 , ' /static/upload/images/goods_category/2018/08/20180814174732569726.png ' , ' 玩具乐器 ' , ' ' , ' ' , ' ' , ' ' , 0 , 0 , 1 , ' ' , ' ' , ' ' , 1529042764 , 1534240052 ) , ( 56 , 0 , ' /static/upload/images/goods_category/2018/08/20180814174748738821.png ' , ' 母婴用品 ' , ' ' , ' ' , ' ' , ' ' , 0 , 0 , 1 , ' ' , ' ' , ' ' , 1529042764 , 1566129608 ) , ( 57 , 0 , ' /static/upload/images/goods_category/2018/08/20180814174757134754.png ' , ' 生活服务 ' , ' ' , ' ' , ' ' , ' ' , 0 , 0 , 1 , ' ' , ' ' , ' ' , 1529042764 , 1534240077 ) , ( 58 , 1 , ' /static/upload/images/goods_category/2018/11/20/2018112015245128143.jpeg ' , ' 手机通讯 ' , ' ' , ' ' , ' ' , ' ' , 1 , 0 , 1 , ' ' , ' ' , ' ' , 1529042764 , 1605687744 ) , ( 59 , 1 , ' /static/upload/images/goods_category/2018/11/20/2018112015273175122.jpeg ' , ' 手机配件 ' , ' ' , ' ' , ' ' , ' ' , 1 , 0 , 1 , ' ' , ' ' , ' ' , 1529042764 , 1542698851 ) , ( 60 , 1 , ' /static/upload/images/goods_category/2018/11/20/2018112015252193663.jpeg ' , ' 摄影摄像 ' , ' ' , ' ' , ' ' , ' ' , 1 , 0 , 1 , ' ' , ' ' , ' ' , 1529042764 , 1542698721 ) , ( 61 , 1 , ' /static/upload/images/goods_category/2018/11/20/2018112015441996472.jpeg ' , ' 时尚影音 ' , ' ' , ' ' , ' ' , ' ' , 1 , 0 , 1 , ' ' , ' ' , ' ' , 1529042764 , 1542699859 ) , ( 62 , 1 , ' /static/upload/images/goods_category/2018/11/20/2018112015255390903.jpeg ' , ' 电脑整机 ' , ' ' , ' ' , ' ' , ' ' , 1 , 0 , 1 , ' ' , ' ' , ' ' , 1529042764 , 1542698753 ) , ( 63 , 1 , ' ' , ' 电脑配件 ' , ' ' , ' ' , ' ' , ' ' , 1 , 0 , 1 , ' ' , ' ' , ' ' , 1529042764 , 1534240077 ) , ( 64 , 1 , ' ' , ' 外设产品 ' , ' ' , ' ' , ' ' , ' ' , 1 , 0 , 1 , ' ' , ' ' , ' ' , 1529042764 , 1534240077 ) , ( 65 , 1 , ' ' , ' 网络产品 ' , ' ' , ' ' , ' ' , ' ' , 1 , 0 , 1 , ' ' , ' ' , ' ' , 1529042764 , 1534240077 ) , ( 66 , 1 , ' ' , ' 办公打印 ' , ' ' , ' ' , ' ' , ' ' , 1 , 0 , 1 , ' ' , ' ' , ' ' , 1529042764 , 1534240077 ) , ( 67 , 1 , ' ' , ' 办公文仪 ' , ' ' , ' ' , ' ' , ' ' , 1 , 0 , 1 , ' ' , ' ' , ' ' , 1529042764 , 1534240077 ) , ( 68 , 58 , ' /static/upload/images/goods_category/2018/11/20/2018112015245128143.jpeg ' , ' 手机 ' , ' ' , ' ' , ' ' , ' ' , 1 , 0 , 1 , ' ' , ' ' , ' ' , 1529042764 , 1596730214 ) , ( 69 , 58 , ' /static/upload/images/goods_category/2018/11/20/2018112015252193663.jpeg ' , ' 合约机 ' , ' ' , ' ' , ' ' , ' ' , 1 , 0 , 1 , ' ' , ' ' , ' ' , 1529042764 , 1596730232 ) , ( 70 , 58 , ' /static/upload/images/goods_category/2018/11/20/2018112015273175122.jpeg ' , ' 对讲机 ' , ' ' , ' ' , ' ' , ' ' , 1 , 0 , 1 , ' ' , ' ' , ' ' , 1529042764 , 1596730248 ) , ( 71 , 59 , ' ' , ' 手机电池 ' , ' ' , ' ' , ' ' , ' ' , 1 , 0 , 1 , ' ' , ' ' , ' ' , 1529042764 , 0 ) , ( 72 , 59 , ' ' , ' 蓝牙耳机 ' , ' ' , ' ' , ' ' , ' ' , 1 , 0 , 1 , ' ' , ' ' , ' ' , 1529042764 , 0 ) , ( 73 , 59 , ' ' , ' 充电器/数据线 ' , ' ' , ' ' , ' ' , ' ' , 1 , 0 , 1 , ' ' , ' ' , ' ' , 1529042764 , 0 ) , ( 74 , 59 , ' ' , ' 手机耳机 ' , ' ' , ' ' , ' ' , ' ' , 1 , 0 , 1 , ' ' , ' ' , ' ' , 1529042764 , 0 ) , ( 75 , 59 , ' ' , ' 手机贴膜 ' , ' ' , ' ' , ' ' , ' ' , 1 , 0 , 1 , ' ' , ' ' , ' ' , 1529042764 , 0 ) , ( 76 , 59 , ' ' , ' 手机存储卡 ' , ' ' , ' ' , ' ' , ' ' , 1 , 0 , 1 , ' ' , ' ' , ' ' , 1529042764 , 0 ) , ( 77 , 59 , ' ' , ' 手机保护套 ' , ' ' , ' ' , ' ' , ' ' , 1 , 0 , 1 , ' ' , ' ' , ' ' , 1529042764 , 0 ) , ( 78 , 59 , ' ' , ' 车载配件 ' , ' ' , ' ' , ' ' , ' ' , 1 , 0 , 1 , ' ' , ' ' , ' ' , 1529042764 , 0 ) , ( 79 , 59 , ' ' , ' iPhone ' , ' ' , ' ' , ' ' , ' ' , 1 , 0 , 1 , ' ' , ' ' , ' ' , 1529042764 , 0 ) , ( 80 , 59 , ' ' , ' 配件 ' , ' ' , ' ' , ' ' , ' ' , 1 , 0 , 1 , ' ' , ' ' , ' ' , 1529042764 , 0 ) , ( 81 , 59 , ' '
/* !40000 ALTER TABLE `sxo_goods_category` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_goods_category_join`
2021-02-23 12:26:26 +08:00
--
2021-01-14 14:01:25 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_goods_category_join ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_goods_category_join ` (
2018-12-28 18:58:37 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` goods_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 商品id ' ,
` category_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 分类id ' ,
` add_time ` int ( 11 ) unsigned DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` goods_id ` ( ` goods_id ` ) ,
KEY ` category_id ` ( ` category_id ` )
2021-05-27 10:30:20 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 1108 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 商品分类关联 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_goods_category_join`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_goods_category_join ` WRITE ;
/* !40000 ALTER TABLE `sxo_goods_category_join` DISABLE KEYS */ ;
2021-05-27 10:30:20 +08:00
INSERT INTO ` sxo_goods_category_join ` VALUES ( 10 , 5 , 68 , 1547452798 ) , ( 11 , 5 , 69 , 1547452798 ) , ( 299 , 1 , 68 , 1574168666 ) , ( 300 , 1 , 304 , 1574168666 ) , ( 479 , 6 , 1 , 1594957734 ) , ( 581 , 9 , 363 , 1599803472 ) , ( 582 , 3 , 68 , 1600151429 ) , ( 583 , 3 , 69 , 1600151429 ) , ( 584 , 3 , 305 , 1600151429 ) , ( 585 , 4 , 68 , 1600151450 ) , ( 586 , 4 , 69 , 1600151450 ) , ( 587 , 4 , 318 , 1600151450 ) , ( 726 , 10 , 304 , 1606792889 ) , ( 727 , 10 , 318 , 1606792889 ) , ( 728 , 10 , 446 , 1606792889 ) , ( 765 , 2 , 68 , 1609742103 ) , ( 766 , 2 , 69 , 1609742103 ) , ( 767 , 2 , 304 , 1609742103 ) , ( 774 , 11 , 304 , 1610109196 ) , ( 775 , 11 , 318 , 1610109196 ) , ( 889 , 30 , 68 , 1611575535 ) , ( 890 , 30 , 69 , 1611575535 ) , ( 891 , 30 , 70 , 1611575535 ) , ( 892 , 30 , 59 , 1611575535 ) , ( 893 , 30 , 74 , 1611575535 ) , ( 970 , 31 , 69 , 1611715921 ) , ( 971 , 31 , 70 , 1611715921 ) , ( 979 , 16 , 58 , 1611731836 ) , ( 980 , 17 , 68 , 1612336141 ) , ( 1013 , 20 , 69 , 1613830281 ) , ( 1023 , 18 , 58 , 1614961172 ) , ( 1024 , 18 , 70 , 1614961172 ) , ( 1026 , 19 , 58 , 1614961233 ) , ( 1044 , 15 , 894 , 1617348307 ) , ( 1065 , 14 , 894 , 1617793553 ) , ( 1066 , 13 , 1 , 1617863644 ) , ( 1082 , 8 , 706 , 1618474163 ) , ( 1083 , 7 , 706 , 1618474163 ) , ( 1105 , 12 , 53 , 1622044934 ) , ( 1106 , 12 , 611 , 1622044934 ) , ( 1107 , 12 , 612 , 1622044934 ) ;
2021-04-07 14:17:35 +08:00
/* !40000 ALTER TABLE `sxo_goods_category_join` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_goods_comments`
2021-02-23 12:26:26 +08:00
--
2021-01-14 14:01:25 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_goods_comments ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_goods_comments ` (
2019-05-14 18:39:05 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` user_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 用户id ' ,
` order_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 业务订单id ' ,
` goods_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 商品id ' ,
2019-05-15 01:09:10 +08:00
` business_type ` char ( 30 ) NOT NULL DEFAULT ' ' COMMENT ' 业务类型名称(如订单 order) ' ,
2019-05-14 18:39:05 +08:00
` content ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 评价内容 ' ,
2019-10-10 20:55:56 +08:00
` images ` text COMMENT ' 图片数据( 一维数组json) ' ,
2019-05-14 18:39:05 +08:00
` reply ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 回复内容 ' ,
` rating ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 评价级别( 默认0 1~5) ' ,
2019-05-15 01:09:10 +08:00
` is_show ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 是否显示( 0否, 1是) ' ,
2019-05-14 18:39:05 +08:00
` is_anonymous ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 是否匿名( 0否, 1是) ' ,
` is_reply ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 是否回复( 0否, 1是) ' ,
` reply_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 回复时间 ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
2019-05-15 01:09:10 +08:00
` upd_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 更新时间 ' ,
2019-05-14 18:39:05 +08:00
PRIMARY KEY ( ` id ` ) ,
KEY ` user_id ` ( ` user_id ` ) ,
KEY ` order_id ` ( ` order_id ` ) ,
KEY ` goods_id ` ( ` goods_id ` )
2020-08-15 17:58:22 +08:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 商品评论 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2021-01-14 14:01:25 +08:00
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_goods_comments`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_goods_comments ` WRITE ;
/* !40000 ALTER TABLE `sxo_goods_comments` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `sxo_goods_comments` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_goods_content_app`
2021-02-23 12:26:26 +08:00
--
2020-12-25 14:53:40 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_goods_content_app ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_goods_content_app ` (
2018-12-28 18:58:37 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` goods_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 商品id ' ,
` images ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 图片 ' ,
` content ` text COMMENT ' 内容 ' ,
` sort ` tinyint ( 3 ) unsigned DEFAULT ' 0 ' COMMENT ' 顺序 ' ,
` add_time ` int ( 11 ) unsigned DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` goods_id ` ( ` goods_id ` ) ,
KEY ` sort ` ( ` sort ` )
2021-05-27 10:30:20 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 1125 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 商品手机详情 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_goods_content_app`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_goods_content_app ` WRITE ;
/* !40000 ALTER TABLE `sxo_goods_content_app` DISABLE KEYS */ ;
2021-05-27 10:30:20 +08:00
INSERT INTO ` sxo_goods_content_app ` VALUES ( 17 , 5 , ' /static/upload/images/goods/2019/01/14/1547452760417982.jpg ' , ' ' , 0 , 1547452798 ) , ( 18 , 5 , ' /static/upload/images/goods/2019/01/14/1547452760984656.jpg ' , ' ' , 1 , 1547452798 ) , ( 19 , 5 , ' /static/upload/images/goods/2019/01/14/1547452760659259.jpg ' , ' ' , 2 , 1547452798 ) , ( 135 , 7 , ' /static/upload/images/goods/2019/01/14/1547453910353340.jpg ' , ' ' , 0 , 1554485498 ) , ( 136 , 7 , ' /static/upload/images/goods/2019/01/14/1547453910505349.jpg ' , ' ' , 1 , 1554485498 ) , ( 137 , 7 , ' /static/upload/images/goods/2019/01/14/1547453910394886.jpg ' , ' ' , 2 , 1554485498 ) , ( 507 , 1 , ' /static/upload/images/goods/2019/01/14/1547450880620837.png ' , ' ' , 0 , 1574168666 ) , ( 508 , 1 , ' /static/upload/images/goods/2019/01/14/1547450880750687.png ' , ' ' , 1 , 1574168666 ) , ( 509 , 1 , ' /static/upload/images/goods/2019/01/14/1547450880917418.png ' , ' ' , 2 , 1574168666 ) , ( 737 , 6 , ' /static/upload/images/goods/2019/01/14/1547453042405182.jpg ' , ' X5L/SL/V/M (5.0寸) X5max钢化膜(5.5寸) X5pro钢化膜(5.2寸) ' , 0 , 1594957734 ) , ( 738 , 6 , ' /static/upload/images/goods/2019/01/14/1547453042614480.jpg ' , ' ' , 1 , 1594957734 ) , ( 739 , 6 , ' /static/upload/images/goods/2019/01/14/1547453042816509.jpg ' , ' ' , 2 , 1594957734 ) , ( 843 , 9 , ' /static/upload/images/goods/2019/01/14/1547454712270511.jpg ' , ' ' , 0 , 1599803472 ) , ( 844 , 9 , ' /static/upload/images/goods/2019/01/14/1547454713556301.jpg ' , ' ' , 1 , 1599803472 ) , ( 845 , 9 , ' /static/upload/images/goods/2019/01/14/1547454713800333.jpg ' , ' ' , 2 , 1599803472 ) , ( 846 , 9 , ' /static/upload/images/goods/2019/01/14/1547454713456602.jpg ' , ' ' , 3 , 1599803472 ) , ( 847 , 3 , ' /static/upload/images/goods/2019/01/14/1547451947383902.jpg ' , ' ' , 0 , 1600151429 ) , ( 848 , 3 , ' /static/upload/images/goods/2019/01/14/1547451947686990.jpg ' , ' ' , 1 , 1600151429 ) , ( 849 , 3 , ' /static/upload/images/goods/2019/01/14/1547451947676180.jpg ' , ' ' , 2 , 1600151429 ) , ( 850 , 3 , ' /static/upload/images/goods/2019/01/14/1547451947791154.jpg ' , ' ' , 3 , 1600151429 ) , ( 851 , 4 , ' /static/upload/images/goods/2019/01/14/1547452505568604.jpg ' , ' ' , 0 , 1600151450 ) , ( 852 , 4 , ' /static/upload/images/goods/2019/01/14/1547452505349986.jpg ' , ' ' , 1 , 1600151450 ) , ( 853 , 4 , ' /static/upload/images/goods/2019/01/14/1547452505184884.jpg ' , ' ' , 2 , 1600151450 ) , ( 1023 , 10 , ' /static/upload/images/goods/2019/01/14/1547455266527628.jpg ' , ' 【品牌】欧单 学媛风 猫咪良品\n\n【吊牌】xueyuanfeng 猫咪良品\n\n【面料质地】涤棉拼接蕾丝 后中拉链 有内衬(非专业机构鉴定,介意请慎拍)\n\n好的衣服需要好好呵护, 务必请冷水手洗(切记别浸泡)拧干就晾晒或则干洗哦~\n\n【商品颜色】实物拍摄 蓝色 颜色很难拍有小色差属正常现象哦\n\n【商品尺寸】XS/S/M/L 小高腰设计 胸口纽扣是装饰的哦\n\n\nXS码尺寸: 悬挂衣长81CM.胸围80内合适.腰围63CM.臀围86CM\n\nS码尺寸: 悬挂衣长82CM.胸围84内合适.腰围67CM.臀围90CM\n\nM码尺寸: 悬挂衣长83CM.胸围88内合适.腰围71CM.臀围94CM\n\nL码尺寸: 悬挂衣长84CM.胸围92内合适.腰围75CM.臀围98CM\n\n\n( 测量单位是CM, 每个人的测量方式不一样, 测量的尺寸数据可能会有1~3厘米的差异, 请MM们谅解哦) \n\n\nPS: 常规码数, 可按平时号选择哦。修身版型~如果上身偏大可以适当考虑大1号~下摆蕾丝拼接不会很平整的哦~\n\n蕾丝花是手工修剪出来的, 每件都有不同和不规则的哦, 有小线头和节点是正常现象哦~请亲们谅解哦~ ' , 0 , 1606792889 ) , ( 1024 , 10 , ' /static/upload/images/goods/2019/01/14/1547455266234658.jpg ' , ' ' , 1 , 1606792889 ) , ( 1073 , 2 , ' /static/upload/images/goods/2019/01/14/1547451595700972.jpg ' , ' ' , 0 , 1609742104 ) , ( 1074 , 2 , ' /static/upload/images/goods/2019/01/14/1547451595528800.jpg ' , ' ' , 1 , 1609742104 ) , ( 1075 , 2 , ' /static/upload/images/goods/2019/01/14/1547451595616298.jpg ' , ' ' , 2 , 1609742104 ) , ( 1079 , 11 , ' /static/upload/images/goods/2019/01/14/1547455601314107.jpg ' , ' 【品牌】欧单 学媛风 猫咪良品\n\n【吊牌】xueyuanfeng 猫咪良品\n\n【面料质地】网纱绣花钉珠拼接蕾丝 有拉链有内衬(非专业机构鉴定,介意请慎拍)\n\n好的衣服需要好好呵护, 务必请冷水手洗(切记别浸泡)拧干就晾晒或则干洗哦~\n\n【商品颜色】<E889B2>
2021-04-07 14:17:35 +08:00
/* !40000 ALTER TABLE `sxo_goods_content_app` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_goods_favor`
2021-02-23 12:26:26 +08:00
--
2021-01-14 14:01:25 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_goods_favor ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_goods_favor ` (
2018-12-28 18:58:37 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` goods_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 商品id ' ,
` user_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 用户id ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
PRIMARY KEY ( ` id ` )
2021-01-13 09:52:39 +08:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 用户商品收藏 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_goods_favor`
2021-02-23 12:26:26 +08:00
--
2021-01-14 14:01:25 +08:00
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_goods_favor ` WRITE ;
/* !40000 ALTER TABLE `sxo_goods_favor` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `sxo_goods_favor` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_goods_params`
2021-02-23 12:26:26 +08:00
--
2020-12-25 14:53:40 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_goods_params ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_goods_params ` (
2020-09-11 18:43:54 +08:00
` id ` bigint ( 20 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` goods_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 商品id ' ,
` type ` tinyint ( 1 ) unsigned DEFAULT ' 1 ' COMMENT ' 展示范围( 0全部, 1详情, 2基础) 默认1详情 ' ,
` name ` char ( 180 ) NOT NULL DEFAULT ' ' COMMENT ' 参数名称 ' ,
` value ` char ( 230 ) NOT NULL DEFAULT ' ' COMMENT ' 参数值 ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` goods_id ` ( ` goods_id ` ) ,
2021-01-10 13:18:35 +08:00
KEY ` type ` ( ` type ` ) ,
KEY ` name ` ( ` name ` ) ,
KEY ` value ` ( ` value ` )
2021-05-27 10:30:20 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 703 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 商品参数 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_goods_params`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_goods_params ` WRITE ;
/* !40000 ALTER TABLE `sxo_goods_params` DISABLE KEYS */ ;
2021-05-27 10:30:20 +08:00
INSERT INTO ` sxo_goods_params ` VALUES ( 693 , 12 , 0 , ' 流行元素/工艺 ' , ' 树脂固色 ' , 1622044935 ) , ( 694 , 12 , 2 , ' 款式 ' , ' 长款连衣裙 ' , 1622044935 ) , ( 695 , 12 , 2 , ' 适用年龄 ' , ' 30-34周岁 ' , 1622044935 ) , ( 696 , 12 , 1 , ' 图案 ' , ' 纯色 ' , 1622044935 ) , ( 697 , 12 , 1 , ' 袖长 ' , ' 短袖 ' , 1622044935 ) , ( 698 , 12 , 1 , ' 风格 ' , ' 复古风 ' , 1622044935 ) , ( 699 , 12 , 1 , ' 衣门襟 ' , ' 套头 ' , 1622044935 ) , ( 700 , 12 , 1 , ' 裙型 ' , ' 大摆型 ' , 1622044935 ) , ( 701 , 12 , 1 , ' 组合形式 ' , ' 单件 ' , 1622044935 ) , ( 702 , 12 , 0 , ' 款式类别 ' , ' 图案花纹 ' , 1622044935 ) ;
2021-04-07 14:17:35 +08:00
/* !40000 ALTER TABLE `sxo_goods_params` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_goods_params_template`
2021-02-23 12:26:26 +08:00
--
2021-01-14 14:01:25 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_goods_params_template ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_goods_params_template ` (
2020-11-28 20:59:21 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` name ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 名称 ' ,
` is_enable ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 1 ' COMMENT ' 是否启用( 0否, 1是) ' ,
` config_count ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 参数配置数量 ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
` upd_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 更新时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` name ` ( ` name ` ) ,
KEY ` config_count ` ( ` config_count ` )
2020-11-29 20:22:45 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 2 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 商品参数模板 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_goods_params_template`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_goods_params_template ` WRITE ;
/* !40000 ALTER TABLE `sxo_goods_params_template` DISABLE KEYS */ ;
INSERT INTO ` sxo_goods_params_template ` VALUES ( 1 , ' 测试一下 ' , 1 , 10 , 1606554077 , 1606569364 ) ;
/* !40000 ALTER TABLE `sxo_goods_params_template` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
2021-01-14 14:01:25 +08:00
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_goods_params_template_config`
2021-02-23 12:26:26 +08:00
--
2020-12-25 14:53:40 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_goods_params_template_config ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_goods_params_template_config ` (
2020-11-28 20:59:21 +08:00
` id ` bigint ( 20 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` template_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 模板id ' ,
` type ` tinyint ( 1 ) unsigned DEFAULT ' 1 ' COMMENT ' 展示范围( 0全部, 1详情, 2基础) 默认1详情 ' ,
` name ` char ( 180 ) NOT NULL DEFAULT ' ' COMMENT ' 参数名称 ' ,
` value ` char ( 230 ) NOT NULL DEFAULT ' ' COMMENT ' 参数值 ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` template_id ` ( ` template_id ` ) ,
KEY ` type ` ( ` type ` )
2020-11-29 20:22:45 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 34 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 商品参数模板值 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_goods_params_template_config`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_goods_params_template_config ` WRITE ;
/* !40000 ALTER TABLE `sxo_goods_params_template_config` DISABLE KEYS */ ;
INSERT INTO ` sxo_goods_params_template_config ` VALUES ( 24 , 1 , 2 , ' 款式 ' , ' 长款连衣裙 ' , 1606555034 ) , ( 25 , 1 , 0 , ' 流行元素/工艺 ' , ' 树脂固色 ' , 1606555034 ) , ( 26 , 1 , 2 , ' 适用年龄 ' , ' 30-34周岁 ' , 1606555034 ) , ( 27 , 1 , 1 , ' 图案 ' , ' 纯色 ' , 1606555034 ) , ( 28 , 1 , 1 , ' 袖长 ' , ' 短袖 ' , 1606555034 ) , ( 29 , 1 , 1 , ' 风格 ' , ' 复古风 ' , 1606555034 ) , ( 30 , 1 , 1 , ' 衣门襟 ' , ' 套头 ' , 1606555034 ) , ( 31 , 1 , 1 , ' 裙型 ' , ' 大摆型 ' , 1606555034 ) , ( 32 , 1 , 1 , ' 组合形式 ' , ' 单件 ' , 1606555034 ) , ( 33 , 1 , 0 , ' 款式类别 ' , ' 图案花纹 ' , 1606555034 ) ;
/* !40000 ALTER TABLE `sxo_goods_params_template_config` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_goods_photo`
2021-02-23 12:26:26 +08:00
--
2021-01-14 14:01:25 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_goods_photo ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_goods_photo ` (
2018-12-28 18:58:37 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` goods_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 商品id ' ,
` images ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 图片 ' ,
` is_show ` tinyint ( 3 ) unsigned DEFAULT ' 1 ' COMMENT ' 是否显示( 0否, 1是) ' ,
` sort ` tinyint ( 3 ) unsigned DEFAULT ' 0 ' COMMENT ' 顺序 ' ,
` add_time ` int ( 11 ) unsigned DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` goods_id ` ( ` goods_id ` ) ,
KEY ` is_show ` ( ` is_show ` ) ,
KEY ` sort ` ( ` sort ` )
2021-05-27 10:30:20 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 874 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 商品相册图片 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_goods_photo`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_goods_photo ` WRITE ;
/* !40000 ALTER TABLE `sxo_goods_photo` DISABLE KEYS */ ;
2021-05-27 10:30:20 +08:00
INSERT INTO ` sxo_goods_photo ` VALUES ( 11 , 5 , ' /static/upload/images/goods/2019/01/14/1547452714324599.jpg ' , 1 , 0 , 1547452798 ) , ( 12 , 5 , ' /static/upload/images/goods/2019/01/14/1547452752648264.jpg ' , 1 , 1 , 1547452798 ) , ( 105 , 7 , ' /static/upload/images/goods/2019/01/14/1547453895416529.jpg ' , 1 , 0 , 1554485498 ) , ( 106 , 7 , ' /static/upload/images/goods/2019/01/14/1547453895864876.jpg ' , 1 , 1 , 1554485498 ) , ( 399 , 1 , ' /static/upload/images/goods/2019/01/14/1547450781101144.jpg ' , 1 , 0 , 1574168666 ) , ( 400 , 1 , ' /static/upload/images/goods/2019/01/14/1547450818141662.jpg ' , 1 , 1 , 1574168666 ) , ( 581 , 6 , ' /static/upload/images/goods/2019/01/14/1547453000703308.jpg ' , 1 , 0 , 1594957734 ) , ( 582 , 6 , ' /static/upload/images/goods/2019/01/14/1547453032949003.jpg ' , 1 , 1 , 1594957734 ) , ( 660 , 9 , ' /static/upload/images/goods/2019/01/14/1547454702543219.jpg ' , 1 , 0 , 1599803472 ) , ( 661 , 9 , ' /static/upload/images/goods/2019/01/14/1547454702272215.jpg ' , 1 , 1 , 1599803472 ) , ( 662 , 9 , ' /static/upload/images/goods/2019/01/14/1547454702814719.jpg ' , 1 , 2 , 1599803472 ) , ( 663 , 3 , ' /static/upload/images/goods/2019/01/14/1547451909951171.jpg ' , 1 , 0 , 1600151429 ) , ( 664 , 3 , ' /static/upload/images/goods/2019/01/14/1547451936230948.jpg ' , 1 , 1 , 1600151429 ) , ( 665 , 4 , ' /static/upload/images/goods/2019/01/14/1547452474332334.jpg ' , 1 , 0 , 1600151450 ) , ( 666 , 4 , ' /static/upload/images/goods/2019/01/14/1547452496713777.jpg ' , 1 , 1 , 1600151450 ) , ( 797 , 10 , ' /static/upload/images/goods/2019/01/14/1547455240794230.jpg ' , 1 , 0 , 1606792889 ) , ( 798 , 10 , ' /static/upload/images/goods/2019/01/14/1547455240700820.jpg ' , 1 , 1 , 1606792889 ) , ( 835 , 2 , ' /static/upload/images/goods/2019/01/14/1547451274847894.jpg ' , 1 , 0 , 1609742104 ) , ( 836 , 2 , ' /static/upload/images/goods/2019/01/14/1547451576558478.jpg ' , 1 , 1 , 1609742104 ) , ( 839 , 11 , ' /static/upload/images/goods/2019/01/14/1547455601314107.jpg ' , 1 , 0 , 1610109196 ) , ( 840 , 11 , ' /static/upload/images/goods/2019/01/14/1547455601168384.jpg ' , 1 , 1 , 1610109196 ) , ( 841 , 11 , ' /static/upload/images/goods/2019/01/14/1547455601898622.jpg ' , 1 , 2 , 1610109196 ) , ( 842 , 11 , ' /static/upload/images/goods/2019/01/14/1547455601528614.jpg ' , 1 , 3 , 1610109196 ) , ( 863 , 8 , ' /static/upload/images/goods/2019/01/14/1547454145355962.jpg ' , 1 , 0 , 1618468361 ) , ( 864 , 8 , ' /static/upload/images/goods/2019/01/14/1547454172213779.jpg ' , 1 , 1 , 1618468361 ) , ( 871 , 12 , ' /static/upload/images/goods/2019/01/14/1547455890402147.jpg ' , 1 , 0 , 1622044935 ) , ( 872 , 12 , ' /static/upload/images/goods/2019/01/14/1547455907256518.jpg ' , 1 , 1 , 1622044935 ) , ( 873 , 12 , ' /static/upload/images/goods/2019/01/14/1547455907486857.jpg ' , 1 , 2 , 1622044935 ) ;
2021-04-07 14:17:35 +08:00
/* !40000 ALTER TABLE `sxo_goods_photo` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_goods_spec_base`
2021-02-23 12:26:26 +08:00
--
2018-12-28 18:58:37 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_goods_spec_base ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_goods_spec_base ` (
2018-12-28 18:58:37 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` goods_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 商品id ' ,
` price ` decimal ( 10 , 2 ) NOT NULL DEFAULT ' 0.00 ' COMMENT ' 销售价格 ' ,
` inventory ` int ( 10 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 库存 ' ,
2019-02-25 11:15:31 +08:00
` weight ` decimal ( 10 , 2 ) unsigned NOT NULL DEFAULT ' 0.00 ' COMMENT ' 重量( kg) ' ,
2018-12-28 18:58:37 +08:00
` coding ` char ( 80 ) NOT NULL DEFAULT ' ' COMMENT ' 编码 ' ,
` barcode ` char ( 80 ) NOT NULL DEFAULT ' ' COMMENT ' 条形码 ' ,
` original_price ` decimal ( 10 , 2 ) NOT NULL DEFAULT ' 0.00 ' COMMENT ' 原价 ' ,
2019-07-22 00:46:16 +08:00
` extends ` longtext COMMENT ' 扩展数据(json格式存储) ' ,
2018-12-28 18:58:37 +08:00
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
PRIMARY KEY ( ` id ` ) ,
2020-09-11 18:43:54 +08:00
KEY ` goods_id ` ( ` goods_id ` )
2021-05-27 10:30:20 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 1495 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 商品规格基础 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_goods_spec_base`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_goods_spec_base ` WRITE ;
/* !40000 ALTER TABLE `sxo_goods_spec_base` DISABLE KEYS */ ;
2021-05-27 10:30:20 +08:00
INSERT INTO ` sxo_goods_spec_base ` VALUES ( 23 , 5 , 2499 . 00 , 455 , 0 . 00 , ' ' , ' ' , 3200 . 00 , NULL , 1547452798 ) , ( 155 , 7 , 168 . 00 , 888888 , 0 . 00 , ' ' , ' ' , 760 . 00 , NULL , 1554485498 ) , ( 626 , 1 , 2100 . 00 , 888888 , 0 . 00 , ' ' , ' ' , 3200 . 00 , NULL , 1574168666 ) , ( 909 , 6 , 2998 . 90 , 333 , 0 . 00 , ' ' , ' ' , 3200 . 00 , ' {\"plugins_distribution_rules_1\":\"r|10\\nr|10\\nr|10\",\"plugins_distribution_down_rules_1\":\"\"} ' , 1594957734 ) , ( 1072 , 9 , 120 . 00 , 888888 , 17 . 00 , ' ' , ' ' , 160 . 00 , ' {\"plugins_distribution_rules_1\":\"r|5\",\"plugins_distribution_down_rules_1\":\"\"} ' , 1599803472 ) , ( 1073 , 9 , 120 . 00 , 888888 , 17 . 00 , ' ' , ' ' , 160 . 00 , NULL , 1599803472 ) , ( 1074 , 9 , 120 . 00 , 888888 , 17 . 00 , ' ' , ' ' , 160 . 00 , NULL , 1599803472 ) , ( 1075 , 9 , 120 . 00 , 888888 , 17 . 00 , ' ' , ' ' , 160 . 00 , NULL , 1599803472 ) , ( 1076 , 9 , 136 . 00 , 888888 , 17 . 00 , ' ' , ' ' , 188 . 00 , NULL , 1599803472 ) , ( 1077 , 9 , 136 . 00 , 888888 , 17 . 00 , ' ' , ' ' , 188 . 00 , NULL , 1599803472 ) , ( 1078 , 9 , 136 . 00 , 888888 , 17 . 00 , ' ' , ' ' , 188 . 00 , NULL , 1599803472 ) , ( 1079 , 9 , 158 . 00 , 888888 , 17 . 00 , ' ' , ' ' , 216 . 00 , NULL , 1599803472 ) , ( 1080 , 9 , 158 . 00 , 888888 , 17 . 00 , ' ' , ' ' , 216 . 00 , NULL , 1599803472 ) , ( 1081 , 3 , 3888 . 00 , 888888 , 0 . 00 , ' ' , ' ' , 6866 . 00 , NULL , 1600151429 ) , ( 1082 , 4 , 1999 . 00 , 888888 , 0 . 00 , ' ' , ' ' , 2300 . 00 , NULL , 1600151450 ) , ( 1320 , 10 , 228 . 00 , 888888 , 0 . 00 , ' ' , ' ' , 568 . 00 , NULL , 1606792889 ) , ( 1393 , 2 , 6050 . 00 , 888888 , 12 . 00 , ' ' , ' ' , 6800 . 00 , ' {\"plugins_distribution_rules_1\":\"r|5\",\"plugins_distribution_down_rules_1\":\"\"} ' , 1609742103 ) , ( 1394 , 2 , 6600 . 00 , 888888 , 21 . 00 , ' ' , ' ' , 7200 . 00 , NULL , 1609742104 ) , ( 1395 , 2 , 6800 . 00 , 888888 , 22 . 00 , ' ' , ' ' , 7600 . 00 , NULL , 1609742104 ) , ( 1396 , 2 , 6050 . 00 , 888888 , 23 . 00 , ' ' , ' ' , 6800 . 00 , NULL , 1609742104 ) , ( 1397 , 2 , 6600 . 00 , 888888 , 12 . 00 , ' ' , ' ' , 7200 . 00 , NULL , 1609742104 ) , ( 1398 , 2 , 6800 . 00 , 888888 , 32 . 00 , ' ' , ' ' , 7600 . 00 , NULL , 1609742104 ) , ( 1399 , 2 , 4500 . 00 , 888888 , 23 . 00 , ' ' , ' ' , 6800 . 00 , NULL , 1609742104 ) , ( 1400 , 2 , 4800 . 00 , 888888 , 32 . 00 , ' ' , ' ' , 6600 . 00 , NULL , 1609742104 ) , ( 1401 , 2 , 5500 . 00 , 888888 , 11 . 00 , ' ' , ' ' , 6000 . 00 , NULL , 1609742104 ) , ( 1403 , 11 , 258 . 00 , 888888 , 0 . 00 , ' ' , ' ' , 268 . 00 , ' {\"plugins_distribution_rules_1\":\"r|5\\nr|3\\ns|2\",\"plugins_distribution_down_rules_1\":\"r|10\"} ' , 1610109196 ) , ( 1404 , 11 , 238 . 00 , 888888 , 0 . 00 , ' ' , ' ' , 343 . 00 , ' {\"plugins_distribution_rules_1\":\"r|5\\nr|3\\ns|2\",\"plugins_distribution_down_rules_1\":\"r|1\"} ' , 1610109196 ) , ( 1405 , 11 , 160 . 00 , 888888 , 0 . 00 , ' ' , ' ' , 422 . 00 , ' {\"plugins_distribution_rules_20191202164330784159\":\"r|8\",\"plugins_distribution_rules_20191204113948916981\":\"\"} ' , 1610109196 ) , ( 1431 , 8 , 356 . 00 , 888884 , 0 . 00 , ' ' , ' ' , 0 . 00 , ' {\"plugins_membershiplevelvip_price_1\":\"100\"} ' , 1618468361 ) , ( 1491 , 12 , 0 . 10 , 1656 , 0 . 00 , ' ' , ' ' , 0 . 00 , ' {\"plugins_distribution_rules_1\":\"\",\"plugins_distribution_down_rules_1\":\"\",\"plugins_distribution_self_buy_rules_1\":\"\",\"plugins_distribution_force_current_user_rules_1\":\"\"} ' , 1622044934 ) , ( 1492 , 12 , 0 . 10 , 1656 , 0 . 00 , ' ' , ' ' , 0 . 00 , NULL , 1622044935 ) , ( 1493 , 12 , 3 . 00 , 1656 , 0 . 00 , ' ' , ' ' , 0 . 00 , NULL , 1622044935 ) , ( 1494 , 12 , 99999999 . 00 , 1656 , 0 . 00 , ' ' , ' ' , 0 . 00 , NULL , 1622044935 ) ;
2021-04-07 14:17:35 +08:00
/* !40000 ALTER TABLE `sxo_goods_spec_base` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_goods_spec_type`
2021-02-23 12:26:26 +08:00
--
2018-12-28 18:58:37 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_goods_spec_type ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_goods_spec_type ` (
2018-12-28 18:58:37 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` goods_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 商品id ' ,
` value ` text NOT NULL COMMENT ' 类型值( json字符串存储) ' ,
2019-12-31 14:42:38 +08:00
` name ` char ( 230 ) NOT NULL DEFAULT ' ' COMMENT ' 类型名称 ' ,
2018-12-28 18:58:37 +08:00
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
PRIMARY KEY ( ` id ` ) ,
2019-05-28 18:40:01 +08:00
KEY ` goods_id ` ( ` goods_id ` )
2021-05-27 10:30:20 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 502 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 商品规格类型 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_goods_spec_type`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_goods_spec_type ` WRITE ;
/* !40000 ALTER TABLE `sxo_goods_spec_type` DISABLE KEYS */ ;
2021-05-27 10:30:20 +08:00
INSERT INTO ` sxo_goods_spec_type ` VALUES ( 354 , 9 , ' [{\"name\":\"白色\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547454702543219.jpg\"},{\"name\":\"粉色\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547454702272215.jpg\"},{\"name\":\"黑色\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547454702814719.jpg\"}] ' , ' 颜色 ' , 1599803472 ) , ( 355 , 9 , ' [{\"name\":\"S\",\"images\":\"\"},{\"name\":\"M\",\"images\":\"\"},{\"name\":\"L\",\"images\":\"\"},{\"name\":\"XL\",\"images\":\"\"}] ' , ' 尺码 ' , 1599803472 ) , ( 452 , 2 , ' [{\"name\":\"套餐一\",\"images\":\"\"},{\"name\":\"套餐二\",\"images\":\"\"}] ' , ' 套餐 ' , 1609742103 ) , ( 453 , 2 , ' [{\"name\":\"金色\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547451274847894.jpg\"},{\"name\":\"银色\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547451576558478.jpg\"}] ' , ' 颜色 ' , 1609742103 ) , ( 454 , 2 , ' [{\"name\":\"32G\",\"images\":\"\"},{\"name\":\"64G\",\"images\":\"\"},{\"name\":\"128G\",\"images\":\"\"}] ' , ' 容量 ' , 1609742103 ) , ( 455 , 11 , ' [{\"name\":\"M\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547455907486857.jpg\"},{\"name\":\"L\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547455907256518.jpg\"},{\"name\":\"XL\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547455601528614.jpg\"}] ' , ' 尺码 ' , 1610109196 ) , ( 500 , 12 , ' [{\"name\":\"粉色\",\"images\":\"\"},{\"name\":\"白色\",\"images\":\"\"}] ' , ' 颜色 ' , 1622044934 ) , ( 501 , 12 , ' [{\"name\":\"S+S\",\"images\":\"\"},{\"name\":\"M+M\",\"images\":\"\"}] ' , ' 尺码 ' , 1622044934 ) ;
2021-04-07 14:17:35 +08:00
/* !40000 ALTER TABLE `sxo_goods_spec_type` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_goods_spec_value`
2021-02-23 12:26:26 +08:00
--
2021-01-14 14:01:25 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_goods_spec_value ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_goods_spec_value ` (
2018-12-28 18:58:37 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` goods_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 商品id ' ,
` goods_spec_base_id ` int ( 10 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 商品规格基础id ' ,
2019-12-31 14:42:38 +08:00
` value ` char ( 230 ) NOT NULL DEFAULT ' ' COMMENT ' 规格值 ' ,
2018-12-28 18:58:37 +08:00
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
PRIMARY KEY ( ` id ` ) ,
2019-05-28 18:40:01 +08:00
KEY ` goods_id ` ( ` goods_id ` ) ,
2021-04-12 00:03:46 +08:00
KEY ` goods_spec_base_id ` ( ` goods_spec_base_id ` )
2021-05-27 10:30:20 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 2927 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 商品规格值 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_goods_spec_value`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_goods_spec_value ` WRITE ;
/* !40000 ALTER TABLE `sxo_goods_spec_value` DISABLE KEYS */ ;
2021-05-27 10:30:20 +08:00
INSERT INTO ` sxo_goods_spec_value ` VALUES ( 2105 , 9 , 1072 , ' 白色 ' , 1599803472 ) , ( 2106 , 9 , 1072 , ' S ' , 1599803472 ) , ( 2107 , 9 , 1073 , ' 白色 ' , 1599803472 ) , ( 2108 , 9 , 1073 , ' M ' , 1599803472 ) , ( 2109 , 9 , 1074 , ' 白色 ' , 1599803472 ) , ( 2110 , 9 , 1074 , ' L ' , 1599803472 ) , ( 2111 , 9 , 1075 , ' 白色 ' , 1599803472 ) , ( 2112 , 9 , 1075 , ' XL ' , 1599803472 ) , ( 2113 , 9 , 1076 , ' 粉色 ' , 1599803472 ) , ( 2114 , 9 , 1076 , ' S ' , 1599803472 ) , ( 2115 , 9 , 1077 , ' 粉色 ' , 1599803472 ) , ( 2116 , 9 , 1077 , ' M ' , 1599803472 ) , ( 2117 , 9 , 1078 , ' 粉色 ' , 1599803472 ) , ( 2118 , 9 , 1078 , ' L ' , 1599803472 ) , ( 2119 , 9 , 1079 , ' 黑色 ' , 1599803472 ) , ( 2120 , 9 , 1079 , ' S ' , 1599803472 ) , ( 2121 , 9 , 1080 , ' 黑色 ' , 1599803472 ) , ( 2122 , 9 , 1080 , ' XL ' , 1599803472 ) , ( 2723 , 2 , 1393 , ' 套餐一 ' , 1609742103 ) , ( 2724 , 2 , 1393 , ' 金色 ' , 1609742103 ) , ( 2725 , 2 , 1393 , ' 32G ' , 1609742103 ) , ( 2726 , 2 , 1394 , ' 套餐一 ' , 1609742104 ) , ( 2727 , 2 , 1394 , ' 金色 ' , 1609742104 ) , ( 2728 , 2 , 1394 , ' 64G ' , 1609742104 ) , ( 2729 , 2 , 1395 , ' 套餐一 ' , 1609742104 ) , ( 2730 , 2 , 1395 , ' 金色 ' , 1609742104 ) , ( 2731 , 2 , 1395 , ' 128G ' , 1609742104 ) , ( 2732 , 2 , 1396 , ' 套餐一 ' , 1609742104 ) , ( 2733 , 2 , 1396 , ' 银色 ' , 1609742104 ) , ( 2734 , 2 , 1396 , ' 32G ' , 1609742104 ) , ( 2735 , 2 , 1397 , ' 套餐一 ' , 1609742104 ) , ( 2736 , 2 , 1397 , ' 银色 ' , 1609742104 ) , ( 2737 , 2 , 1397 , ' 64G ' , 1609742104 ) , ( 2738 , 2 , 1398 , ' 套餐一 ' , 1609742104 ) , ( 2739 , 2 , 1398 , ' 银色 ' , 1609742104 ) , ( 2740 , 2 , 1398 , ' 128G ' , 1609742104 ) , ( 2741 , 2 , 1399 , ' 套餐二 ' , 1609742104 ) , ( 2742 , 2 , 1399 , ' 金色 ' , 1609742104 ) , ( 2743 , 2 , 1399 , ' 32G ' , 1609742104 ) , ( 2744 , 2 , 1400 , ' 套餐二 ' , 1609742104 ) , ( 2745 , 2 , 1400 , ' 金色 ' , 1609742104 ) , ( 2746 , 2 , 1400 , ' 128G ' , 1609742104 ) , ( 2747 , 2 , 1401 , ' 套餐二 ' , 1609742104 ) , ( 2748 , 2 , 1401 , ' 银色 ' , 1609742104 ) , ( 2749 , 2 , 1401 , ' 64G ' , 1609742104 ) , ( 2750 , 11 , 1403 , ' M ' , 1610109196 ) , ( 2751 , 11 , 1404 , ' L ' , 1610109196 ) , ( 2752 , 11 , 1405 , ' XL ' , 1610109196 ) , ( 2919 , 12 , 1491 , ' 粉色 ' , 1622044934 ) , ( 2920 , 12 , 1491 , ' S+S ' , 1622044934 ) , ( 2921 , 12 , 1492 , ' 粉色 ' , 1622044935 ) , ( 2922 , 12 , 1492 , ' M+M ' , 1622044935 ) , ( 2923 , 12 , 1493 , ' 白色 ' , 1622044935 ) , ( 2924 , 12 , 1493 , ' S+S ' , 1622044935 ) , ( 2925 , 12 , 1494 , ' 白色 ' , 1622044935 ) , ( 2926 , 12 , 1494 , ' M+M ' , 1622044935 ) ;
2021-04-07 14:17:35 +08:00
/* !40000 ALTER TABLE `sxo_goods_spec_value` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_link`
2021-02-23 12:26:26 +08:00
--
2021-01-14 14:01:25 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_link ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_link ` (
2018-12-28 18:58:37 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` name ` char ( 30 ) CHARACTER SET utf8 NOT NULL DEFAULT ' ' COMMENT ' 导航名称 ' ,
` url ` char ( 255 ) CHARACTER SET utf8 NOT NULL DEFAULT ' ' COMMENT ' url地址 ' ,
2019-01-08 23:55:17 +08:00
` describe ` char ( 60 ) CHARACTER SET utf8 NOT NULL DEFAULT ' ' COMMENT ' 描述 ' ,
2018-12-28 18:58:37 +08:00
` sort ` tinyint ( 3 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 排序 ' ,
` is_enable ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 1 ' COMMENT ' 是否启用( 0否, 1是) ' ,
` is_new_window_open ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 是否新窗口打开( 0否, 1是) ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
` upd_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 更新时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` sort ` ( ` sort ` ) ,
KEY ` is_enable ` ( ` is_enable ` )
2020-07-13 21:33:55 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 23 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 友情链接 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_link`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_link ` WRITE ;
/* !40000 ALTER TABLE `sxo_link` DISABLE KEYS */ ;
INSERT INTO ` sxo_link ` VALUES ( 1 , ' SchoolCMS ' , ' https://gitee.com/zongzhige/schoolcms ' , ' SchoolCMS学校教务管理系统 ' , 1 , 1 , 1 , 1486292373 , 1594273510 ) , ( 12 , ' AmazeUI ' , ' http://amazeui.shopxo.net/ ' , ' AmazeUI国内首个HTML5框架 ' , 4 , 1 , 1 , 1486353476 , 1563088005 ) , ( 13 , ' 龚哥哥的博客 ' , ' http://gong.gg/ ' , ' 龚哥哥的博客 ' , 2 , 1 , 1 , 1486353528 , 1592320862 ) , ( 14 , ' ThinkPHP ' , ' http://www.thinkphp.cn/ ' , ' ThinkPHP ' , 3 , 1 , 1 , 1487919160 , 0 ) , ( 15 , ' ShopXO ' , ' http://shopxo.net ' , ' ShopXO企业级B2C免费开源电商系统 ' , 0 , 1 , 1 , 1533711881 , 1592320866 ) , ( 16 , ' 码云 ' , ' https://gitee.com/zongzhige/shopxo ' , ' 代码托管平台 ' , 0 , 1 , 1 , 1547450105 , 1594273488 ) , ( 17 , ' GitHub ' , ' https://github.com/gongfuxiang/shopxo ' , ' 代码托管平台 ' , 0 , 1 , 1 , 1547450145 , 1563088069 ) , ( 18 , ' ShopXO应用商店 ' , ' http://store.shopxo.net/ ' , ' ShopXO应用商店 ' , 0 , 1 , 1 , 1563088117 , 1563088129 ) , ( 20 , ' 宝塔面板 ' , ' https://www.bt.cn/?invite_code=MV9kZHh6b2Y= ' , ' 宝塔服务器控制面板 ' , 5 , 1 , 1 , 1566531114 , 0 ) , ( 21 , ' 西部数码 ' , ' https://www.west.cn/active/freetc/?ReferenceID=934057 ' , ' 西部数码国内知名服务器提供商 ' , 6 , 1 , 1 , 1566531132 , 0 ) , ( 22 , ' 纵之格科技 ' , ' https://www.zongzhige.com/ ' , ' 纵之格科技 ' , 0 , 1 , 1 , 1594273577 , 0 ) ;
/* !40000 ALTER TABLE `sxo_link` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_message`
2021-02-23 12:26:26 +08:00
--
2021-01-14 14:01:25 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_message ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_message ` (
2018-12-28 18:58:37 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` user_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 用户id ' ,
` title ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 标题 ' ,
` detail ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 详情 ' ,
` business_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 业务id ' ,
2020-08-01 22:17:32 +08:00
` business_type ` char ( 180 ) NOT NULL DEFAULT ' ' COMMENT ' 业务类型,字符串(如:订单、充值、提现、等...) ' ,
2018-12-28 18:58:37 +08:00
` type ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 消息类型( 0普通通知, ...) ' ,
` is_read ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 1 ' COMMENT ' 是否已读( 0否, 1是) ' ,
` is_delete_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 是否已删除( 0否, 大于0删除时间) ' ,
` user_is_delete_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 用户是否已删除( 0否, 大于0删除时间) ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` user_id ` ( ` user_id ` )
2021-04-11 23:37:24 +08:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 消息 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_message`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_message ` WRITE ;
/* !40000 ALTER TABLE `sxo_message` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `sxo_message` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_navigation`
2021-02-23 12:26:26 +08:00
--
2018-12-28 18:58:37 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_navigation ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_navigation ` (
2018-12-28 18:58:37 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` pid ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 父id ' ,
2020-06-16 23:27:12 +08:00
` name ` char ( 30 ) NOT NULL DEFAULT ' ' COMMENT ' 导航名称 ' ,
` url ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 自定义url地址 ' ,
` value ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 数据 id ' ,
` data_type ` char ( 30 ) NOT NULL DEFAULT ' ' COMMENT ' 数据类型( custom:自定义导航, article_class:文章分类, customview:自定义页面) ' ,
` nav_type ` char ( 30 ) NOT NULL DEFAULT ' ' COMMENT ' 导航类型( header:顶部导航, footer:底部导航) ' ,
2018-12-28 18:58:37 +08:00
` sort ` tinyint ( 3 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 排序 ' ,
` is_show ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 1 ' COMMENT ' 是否显示( 0否, 1是) ' ,
` is_new_window_open ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 是否新窗口打开( 0否, 1是) ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
` upd_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 更新时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` is_show ` ( ` is_show ` ) ,
KEY ` sort ` ( ` sort ` ) ,
KEY ` nav_type ` ( ` nav_type ` ) ,
KEY ` pid ` ( ` pid ` )
2021-04-07 14:17:35 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 56 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 导航 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_navigation`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_navigation ` WRITE ;
/* !40000 ALTER TABLE `sxo_navigation` DISABLE KEYS */ ;
INSERT INTO ` sxo_navigation ` VALUES ( 8 , 0 , ' 自定义页面test ' , ' ' , 1 , ' customview ' , ' header ' , 0 , 0 , 0 , 1486352254 , 1613625451 ) , ( 17 , 0 , ' ShopXO ' , ' http://shopxo.net/ ' , 0 , ' custom ' , ' header ' , 10 , 1 , 1 , 1487923617 , 1533873171 ) , ( 24 , 54 , ' 服饰鞋包 ' , ' ' , 2 , ' goods_category ' , ' header ' , 0 , 1 , 0 , 1539150026 , 1592230670 ) , ( 34 , 0 , ' 信息咨询 ' , ' http://shopxo.net/ ' , 0 , ' custom ' , ' footer ' , 0 , 1 , 1 , 1554795563 , 1592232213 ) , ( 35 , 0 , ' 客户服务 ' , ' http://shopxo.net/ ' , 0 , ' custom ' , ' footer ' , 0 , 1 , 0 , 1554795788 , 0 ) , ( 36 , 0 , ' 支付方式 ' , ' http://shopxo.net/ ' , 0 , ' custom ' , ' footer ' , 0 , 1 , 0 , 1554796068 , 0 ) , ( 37 , 0 , ' 会员中心 ' , ' http://shopxo.net/ ' , 0 , ' custom ' , ' footer ' , 0 , 1 , 0 , 1554796082 , 0 ) , ( 38 , 34 , ' 关于ShopXO ' , ' ' , 29 , ' article ' , ' footer ' , 0 , 1 , 0 , 1554796171 , 0 ) , ( 39 , 34 , ' 联系我们 ' , ' ' , 28 , ' article ' , ' footer ' , 0 , 1 , 0 , 1554796188 , 0 ) , ( 40 , 34 , ' 招聘英才 ' , ' ' , 27 , ' article ' , ' footer ' , 0 , 1 , 0 , 1554796202 , 0 ) , ( 41 , 34 , ' 合作及洽谈 ' , ' ' , 26 , ' article ' , ' footer ' , 0 , 1 , 0 , 1554796211 , 0 ) , ( 42 , 35 , ' 如何注册成为会员 ' , ' ' , 1 , ' article ' , ' footer ' , 0 , 1 , 0 , 1554796239 , 0 ) , ( 43 , 35 , ' 积分细则 ' , ' ' , 3 , ' article ' , ' footer ' , 0 , 1 , 0 , 1554796245 , 0 ) , ( 44 , 35 , ' 如何搜索 ' , ' ' , 5 , ' article ' , ' footer ' , 0 , 1 , 0 , 1554796253 , 0 ) , ( 45 , 36 , ' 分期付款 ' , ' ' , 12 , ' article ' , ' footer ' , 0 , 1 , 0 , 1554796281 , 0 ) , ( 46 , 36 , ' 邮局汇款 ' , ' ' , 13 , ' article ' , ' footer ' , 0 , 1 , 0 , 1554796296 , 0 ) , ( 47 , 36 , ' 在线支付 ' , ' ' , 16 , ' article ' , ' footer ' , 0 , 1 , 0 , 1554796312 , 0 ) , ( 48 , 36 , ' 公司转账 ' , ' ' , 14 , ' article ' , ' footer ' , 0 , 1 , 0 , 1554796327 , 0 ) , ( 49 , 36 , ' 如何注册支付宝 ' , ' ' , 15 , ' article ' , ' footer ' , 0 , 1 , 0 , 1554796339 , 0 ) , ( 50 , 37 , ' 会员修改密码 ' , ' ' , 22 , ' article ' , ' footer ' , 0 , 1 , 0 , 1554796367 , 0 ) , ( 51 , 37 , ' 会员修改个人资料 ' , ' ' , 23 , ' article ' , ' footer ' , 0 , 1 , 0 , 1554796375 , 0 ) , ( 52 , 37 , ' 修改收货地址 ' , ' ' , 25 , ' article ' , ' footer ' , 0 , 1 , 0 , 1554796386 , 0 ) , ( 53 , 37 , ' 如何管理店铺 ' , ' ' , 7 , ' article ' , ' footer ' , 0 , 1 , 0 , 1554796399 , 0 ) , ( 54 , 0 , ' 商品分类 ' , ' http://shopxo.net/ ' , 0 , ' custom ' , ' header ' , 0 , 1 , 0 , 1556015784 , 0 ) , ( 55 , 0 , ' 如何注册成为会员 ' , ' ' , 1 , ' article ' , ' footer ' , 0 , 1 , 0 , 1616685505 , 0 ) ;
/* !40000 ALTER TABLE `sxo_navigation` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_order`
2021-02-23 12:26:26 +08:00
--
2021-01-14 14:01:25 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_order ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_order ` (
2018-12-28 18:58:37 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` order_no ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 订单号 ' ,
` user_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 用户id ' ,
2020-07-28 23:28:06 +08:00
` warehouse_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 仓库id ' ,
2018-12-28 18:58:37 +08:00
` user_note ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 用户备注 ' ,
` express_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 快递id ' ,
` express_number ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 快递单号 ' ,
2019-03-20 17:18:15 +08:00
` payment_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 支付方式id ' ,
2018-12-28 18:58:37 +08:00
` status ` tinyint ( 2 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 订单状态( 0待确认, 1已确认/待支付, 2已支付/待发货, 3已发货/待收货, 4已完成, 5已取消, 6已关闭) ' ,
2019-05-30 02:06:17 +08:00
` pay_status ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 支付状态( 0未支付, 1已支付, 2已退款, 3部分退款) ' ,
2019-08-14 19:32:24 +08:00
` extension_data ` longtext COMMENT ' 扩展展示数据 ' ,
2019-05-30 02:06:17 +08:00
` buy_number_count ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 购买商品总数量 ' ,
2019-03-20 17:18:15 +08:00
` increase_price ` decimal ( 10 , 2 ) unsigned NOT NULL DEFAULT ' 0.00 ' COMMENT ' 增加的金额 ' ,
2018-12-28 18:58:37 +08:00
` preferential_price ` decimal ( 10 , 2 ) unsigned NOT NULL DEFAULT ' 0.00 ' COMMENT ' 优惠金额 ' ,
` price ` decimal ( 10 , 2 ) unsigned NOT NULL DEFAULT ' 0.00 ' COMMENT ' 订单单价 ' ,
` total_price ` decimal ( 10 , 2 ) unsigned NOT NULL DEFAULT ' 0.00 ' COMMENT ' 订单总价(订单最终价格) ' ,
` pay_price ` decimal ( 10 , 2 ) unsigned NOT NULL DEFAULT ' 0.00 ' COMMENT ' 已支付金额 ' ,
2019-05-29 18:32:20 +08:00
` refund_price ` decimal ( 10 , 2 ) NOT NULL DEFAULT ' 0.00 ' COMMENT ' 退款金额 ' ,
2019-05-30 16:30:06 +08:00
` returned_quantity ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 退货数量 ' ,
` client_type ` char ( 30 ) NOT NULL DEFAULT ' ' COMMENT ' 客户端类型( pc, h5, ios, android, alipay, weixin, baidu) 取APPLICATION_CLIENT_TYPE常量值 ' ,
2019-11-19 21:46:22 +08:00
` order_model ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 订单模式( 0销售型, 1展示型, 2自提点, 3虚拟销售) ' ,
2020-04-20 15:09:38 +08:00
` is_under_line ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 是否线下支付( 0否, 1是) ' ,
2018-12-28 18:58:37 +08:00
` pay_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 支付时间 ' ,
` confirm_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 确认时间 ' ,
` delivery_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 发货时间 ' ,
` cancel_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 取消时间 ' ,
` collect_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 收货时间 ' ,
` close_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 关闭时间 ' ,
` comments_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 评论时间 ' ,
` is_comments ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 商家是否已评论( 0否, 大于0评论时间) ' ,
` user_is_comments ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 用户是否已评论( 0否, 大于0评论时间) ' ,
` is_delete_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 商家是否已删除( 0否, 大于0删除时间) ' ,
` user_is_delete_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 用户是否已删除( 0否, 大于0删除时间) ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
` upd_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 更新时间 ' ,
PRIMARY KEY ( ` id ` ) ,
UNIQUE KEY ` order_no ` ( ` order_no ` ) ,
KEY ` user_id ` ( ` user_id ` ) ,
KEY ` status ` ( ` status ` ) ,
2020-07-28 23:28:06 +08:00
KEY ` pay_status ` ( ` pay_status ` ) ,
KEY ` warehouse_id ` ( ` warehouse_id ` )
2021-04-11 23:37:24 +08:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 订单 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_order`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_order ` WRITE ;
/* !40000 ALTER TABLE `sxo_order` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `sxo_order` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_order_address`
2021-02-23 12:26:26 +08:00
--
2021-01-14 14:01:25 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_order_address ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_order_address ` (
2019-11-26 15:51:52 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` order_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 订单id ' ,
` user_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 用户id ' ,
` address_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 收件地址id ' ,
2019-11-27 18:23:38 +08:00
` alias ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 别名 ' ,
2019-11-26 15:51:52 +08:00
` name ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 收件人-姓名 ' ,
` tel ` char ( 15 ) NOT NULL DEFAULT ' ' COMMENT ' 收件人-电话 ' ,
` province ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 收件人-省 ' ,
` city ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 收件人-市 ' ,
` county ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 收件人-县/区 ' ,
` address ` char ( 200 ) NOT NULL DEFAULT ' ' COMMENT ' 收件人-详细地址 ' ,
` province_name ` char ( 30 ) NOT NULL DEFAULT ' ' COMMENT ' 收件人-省-名称 ' ,
` city_name ` char ( 30 ) NOT NULL DEFAULT ' ' COMMENT ' 收件人-市-名称 ' ,
` county_name ` char ( 30 ) NOT NULL DEFAULT ' ' COMMENT ' 收件人-县/区-名称 ' ,
2020-08-08 18:45:40 +08:00
` lng ` decimal ( 13 , 10 ) NOT NULL DEFAULT ' 0.0000000000 ' COMMENT ' 收货地址-经度 ' ,
` lat ` decimal ( 13 , 10 ) NOT NULL DEFAULT ' 0.0000000000 ' COMMENT ' 收货地址-纬度 ' ,
2020-10-13 14:29:14 +08:00
` idcard_name ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 身份证姓名 ' ,
` idcard_number ` char ( 30 ) NOT NULL DEFAULT ' ' COMMENT ' 身份证号码 ' ,
` idcard_front ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 身份证人像面图片 ' ,
` idcard_back ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 身份证国微面图片 ' ,
2019-11-26 15:51:52 +08:00
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
` upd_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 更新时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` order_id ` ( ` order_id ` ) ,
KEY ` user_id ` ( ` user_id ` )
2021-04-11 23:37:24 +08:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 订单地址 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_order_address`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_order_address ` WRITE ;
/* !40000 ALTER TABLE `sxo_order_address` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `sxo_order_address` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_order_aftersale`
2021-02-23 12:26:26 +08:00
--
2021-01-14 14:01:25 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_order_aftersale ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_order_aftersale ` (
2019-05-22 18:42:52 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
2019-05-24 13:57:10 +08:00
` order_no ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 订单号 ' ,
2019-05-28 18:40:01 +08:00
` order_detail_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 订单详情id ' ,
2019-05-22 18:42:52 +08:00
` order_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 订单id ' ,
2019-05-23 17:57:23 +08:00
` goods_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 商品id ' ,
2019-05-22 18:42:52 +08:00
` user_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 用户id ' ,
2019-05-24 13:57:10 +08:00
` status ` tinyint ( 2 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 状态( 0待确认, 1待退货, 2待审核, 3已完成, 4已拒绝, 5已取消) ' ,
` type ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 业务类型( 0仅退款, 1退货退款) ' ,
` refundment ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 退款类型( 0原路退回, 1退至钱包, 2手动处理) ' ,
2019-05-22 18:42:52 +08:00
` reason ` char ( 180 ) NOT NULL DEFAULT ' ' COMMENT ' 申请原因 ' ,
` number ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 退货数量 ' ,
` price ` decimal ( 10 , 2 ) unsigned NOT NULL DEFAULT ' 0.00 ' COMMENT ' 退款金额 ' ,
` msg ` char ( 230 ) NOT NULL DEFAULT ' ' COMMENT ' 退款说明 ' ,
` images ` text COMMENT ' 凭证图片( 一维数组json存储) ' ,
` refuse_reason ` char ( 230 ) NOT NULL DEFAULT ' ' COMMENT ' 拒绝原因 ' ,
2019-05-23 17:57:23 +08:00
` express_name ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 快递名称 ' ,
2019-05-22 18:42:52 +08:00
` express_number ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 快递单号 ' ,
2019-05-23 17:57:23 +08:00
` apply_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 申请时间 ' ,
` confirm_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 确认时间 ' ,
2019-05-24 13:57:10 +08:00
` delivery_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 退货时间 ' ,
` audit_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 审核时间 ' ,
` cancel_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 取消时间 ' ,
2019-05-22 18:42:52 +08:00
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
` upd_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 更新时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` order_id ` ( ` order_id ` ) ,
2019-05-23 17:57:23 +08:00
KEY ` goods_id ` ( ` goods_id ` ) ,
2019-05-22 18:42:52 +08:00
KEY ` user_id ` ( ` user_id ` ) ,
KEY ` status ` ( ` status ` )
2021-03-16 14:48:48 +08:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 订单售后 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_order_aftersale`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_order_aftersale ` WRITE ;
/* !40000 ALTER TABLE `sxo_order_aftersale` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `sxo_order_aftersale` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_order_currency`
2021-02-23 12:26:26 +08:00
--
2020-09-17 23:02:16 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_order_currency ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_order_currency ` (
2020-09-17 23:02:16 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` order_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 订单id ' ,
` user_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 用户id ' ,
` currency_name ` char ( 80 ) NOT NULL DEFAULT ' ' COMMENT ' 货币名称 ' ,
` currency_code ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 货币代码 ' ,
` currency_symbol ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 货币符号 ' ,
2020-09-25 23:37:04 +08:00
` currency_rate ` decimal ( 7 , 6 ) unsigned NOT NULL DEFAULT ' 0.000000 ' COMMENT ' 货币汇率 ' ,
2020-09-17 23:02:16 +08:00
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` order_id ` ( ` order_id ` ) ,
KEY ` user_id ` ( ` user_id ` ) ,
KEY ` currency_name ` ( ` currency_name ` ) ,
KEY ` currency_code ` ( ` currency_code ` ) ,
KEY ` currency_rate ` ( ` currency_rate ` )
2021-04-11 23:37:24 +08:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 订单货币 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_order_currency`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_order_currency ` WRITE ;
/* !40000 ALTER TABLE `sxo_order_currency` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `sxo_order_currency` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_order_detail`
2021-02-23 12:26:26 +08:00
--
2021-01-14 14:01:25 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_order_detail ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_order_detail ` (
2018-12-28 18:58:37 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` user_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 用户id ' ,
` order_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 订单id ' ,
` goods_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 商品id ' ,
2020-12-25 18:23:01 +08:00
` title ` char ( 160 ) NOT NULL DEFAULT ' ' COMMENT ' 标题 ' ,
2018-12-28 18:58:37 +08:00
` images ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 封面图片 ' ,
` original_price ` decimal ( 10 , 2 ) unsigned NOT NULL DEFAULT ' 0.00 ' COMMENT ' 原价 ' ,
2020-10-29 22:27:01 +08:00
` price ` decimal ( 10 , 2 ) unsigned NOT NULL DEFAULT ' 0.00 ' COMMENT ' 价格 ' ,
2019-05-30 16:30:06 +08:00
` total_price ` decimal ( 10 , 2 ) NOT NULL DEFAULT ' 0.00 ' COMMENT ' 当前总价(单价*数量) ' ,
2019-12-06 21:36:43 +08:00
` spec ` text COMMENT ' 规格 ' ,
2018-12-28 18:58:37 +08:00
` buy_number ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 购买数量 ' ,
2019-06-13 17:10:36 +08:00
` model ` char ( 30 ) NOT NULL DEFAULT ' ' COMMENT ' 型号 ' ,
2019-03-29 10:56:14 +08:00
` spec_weight ` decimal ( 10 , 2 ) unsigned NOT NULL DEFAULT ' 0.00 ' COMMENT ' 重量( kg) ' ,
2019-01-21 15:19:03 +08:00
` spec_coding ` char ( 80 ) NOT NULL DEFAULT ' ' COMMENT ' 编码 ' ,
2019-01-21 16:18:17 +08:00
` spec_barcode ` char ( 80 ) NOT NULL DEFAULT ' ' COMMENT ' 条形码 ' ,
2019-05-30 16:30:06 +08:00
` refund_price ` decimal ( 10 , 2 ) NOT NULL DEFAULT ' 0.00 ' COMMENT ' 退款金额 ' ,
` returned_quantity ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 退货数量 ' ,
2018-12-28 18:58:37 +08:00
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
` upd_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 更新时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` user_id ` ( ` user_id ` ) ,
KEY ` order_id ` ( ` order_id ` ) ,
2019-10-11 15:38:29 +08:00
KEY ` goods_id ` ( ` goods_id ` )
2021-04-11 23:37:24 +08:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 订单详情 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_order_detail`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_order_detail ` WRITE ;
/* !40000 ALTER TABLE `sxo_order_detail` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `sxo_order_detail` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_order_extraction_code`
2021-02-23 12:26:26 +08:00
--
2021-01-14 14:01:25 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_order_extraction_code ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_order_extraction_code ` (
2019-11-21 17:02:27 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` order_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 订单id ' ,
` user_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 用户id ' ,
` code ` 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 ` order_id ` ( ` order_id ` ) ,
KEY ` user_id ` ( ` user_id ` )
2021-04-11 23:37:24 +08:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 订单自提取货码关联 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_order_extraction_code`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_order_extraction_code ` WRITE ;
/* !40000 ALTER TABLE `sxo_order_extraction_code` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `sxo_order_extraction_code` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_order_fictitious_value`
2021-02-23 12:26:26 +08:00
--
2019-11-20 18:35:38 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_order_fictitious_value ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_order_fictitious_value ` (
2019-11-20 18:35:38 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` order_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 订单id ' ,
` order_detail_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 订单详情id ' ,
` user_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 用户id ' ,
` value ` text 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 ` order_id ` ( ` order_id ` ) ,
KEY ` order_detail_id ` ( ` order_detail_id ` ) ,
KEY ` user_id ` ( ` user_id ` )
2021-03-16 14:48:48 +08:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 订单虚拟销售数据关联 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_order_fictitious_value`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_order_fictitious_value ` WRITE ;
/* !40000 ALTER TABLE `sxo_order_fictitious_value` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `sxo_order_fictitious_value` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_order_goods_inventory_log`
2021-02-23 12:26:26 +08:00
--
2021-01-14 14:01:25 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_order_goods_inventory_log ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_order_goods_inventory_log ` (
2018-12-28 18:58:37 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` order_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 订单id ' ,
2019-10-09 22:49:28 +08:00
` order_detail_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 订单详情id ' ,
2018-12-28 18:58:37 +08:00
` goods_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 商品id ' ,
` order_status ` tinyint ( 2 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 订单状态( 0待确认, 1已确认/待支付, 2已支付/待发货, 3已发货/待收货, 4已完成, 5已取消, 6已关闭) ' ,
` original_inventory ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 原库存 ' ,
` new_inventory ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 最新库存 ' ,
` is_rollback ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 是否回滚( 0否, 1是) ' ,
` rollback_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 回滚时间 ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 创建时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` order_id ` ( ` order_id ` ) ,
KEY ` goods_id ` ( ` goods_id ` ) ,
2019-10-09 22:49:28 +08:00
KEY ` order_status ` ( ` order_status ` ) ,
KEY ` order_detail_id ` ( ` order_detail_id ` )
2021-04-11 23:37:24 +08:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 订单商品库存变更日志 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_order_goods_inventory_log`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_order_goods_inventory_log ` WRITE ;
/* !40000 ALTER TABLE `sxo_order_goods_inventory_log` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `sxo_order_goods_inventory_log` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_order_status_history`
2021-02-23 12:26:26 +08:00
--
2021-01-14 14:01:25 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_order_status_history ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_order_status_history ` (
2018-12-28 18:58:37 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` order_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 订单id ' ,
` original_status ` varchar ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 原始状态 ' ,
` new_status ` varchar ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 最新状态 ' ,
` msg ` varchar ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 操作描述 ' ,
` creator ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 创建-用户id ' ,
` creator_name ` varchar ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 创建人-姓名 ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 创建时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` order_id ` ( ` order_id ` ) ,
KEY ` original_status ` ( ` original_status ` ) ,
KEY ` new_status ` ( ` new_status ` )
2021-04-11 23:37:24 +08:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 订单状态历史纪录 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_order_status_history`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_order_status_history ` WRITE ;
/* !40000 ALTER TABLE `sxo_order_status_history` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `sxo_order_status_history` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_pay_log`
2021-02-23 12:26:26 +08:00
--
2018-12-28 18:58:37 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_pay_log ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_pay_log ` (
2018-12-28 18:58:37 +08:00
` id ` bigint ( 20 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 支付日志id ' ,
2020-07-28 23:28:06 +08:00
` log_no ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 支付日志订单号 ' ,
2018-12-28 18:58:37 +08:00
` user_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 用户id ' ,
2020-07-26 23:49:08 +08:00
` business_type ` char ( 180 ) NOT NULL DEFAULT ' ' COMMENT ' 业务类型,字符串(如:订单、钱包充值、会员购买、等...) ' ,
` status ` tinyint ( 2 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 状态( 0待支付, 1已支付, 2已关闭) 正常30分钟内未支付将关闭 ' ,
2018-12-28 18:58:37 +08:00
` payment ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 支付方式标记 ' ,
` payment_name ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 支付方式名称 ' ,
2020-07-26 23:49:08 +08:00
` subject ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 订单名称 ' ,
` total_price ` decimal ( 10 , 2 ) NOT NULL DEFAULT ' 0.00 ' COMMENT ' 业务订单金额 ' ,
` pay_price ` decimal ( 10 , 2 ) NOT NULL DEFAULT ' 0.00 ' COMMENT ' 支付金额 ' ,
` trade_no ` char ( 100 ) NOT NULL DEFAULT ' ' COMMENT ' 支付平台交易号 ' ,
` buyer_user ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 支付平台用户帐号 ' ,
2020-07-28 23:28:06 +08:00
` pay_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 支付时间 ' ,
` close_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 关闭时间 ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
2018-12-28 18:58:37 +08:00
PRIMARY KEY ( ` id ` ) ,
2020-07-26 23:49:08 +08:00
KEY ` payment ` ( ` payment ` ) ,
KEY ` status ` ( ` status ` ) ,
KEY ` business_type ` ( ` business_type ` ) ,
KEY ` total_price ` ( ` total_price ` ) ,
KEY ` pay_price ` ( ` pay_price ` ) ,
KEY ` add_time ` ( ` add_time ` ) ,
KEY ` pay_time ` ( ` pay_time ` ) ,
KEY ` close_time ` ( ` close_time ` )
2021-04-11 23:37:24 +08:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 支付日志 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_pay_log`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_pay_log ` WRITE ;
/* !40000 ALTER TABLE `sxo_pay_log` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `sxo_pay_log` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_pay_log_value`
2021-02-23 12:26:26 +08:00
--
2021-01-14 14:01:25 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_pay_log_value ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_pay_log_value ` (
2020-07-26 23:49:08 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` pay_log_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 支付日志id ' ,
` business_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 业务订单id ' ,
` business_no ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 业务订单号 ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` pay_log_id ` ( ` pay_log_id ` ) ,
KEY ` business_id ` ( ` business_id ` ) ,
KEY ` add_time ` ( ` add_time ` )
2021-04-11 23:37:24 +08:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 支付日志关联业务数据 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_pay_log_value`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_pay_log_value ` WRITE ;
/* !40000 ALTER TABLE `sxo_pay_log_value` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `sxo_pay_log_value` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_pay_request_log`
2021-02-23 12:26:26 +08:00
--
2021-01-14 14:01:25 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_pay_request_log ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_pay_request_log ` (
2020-09-25 23:37:04 +08:00
` id ` bigint ( 20 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` business_type ` char ( 180 ) NOT NULL DEFAULT ' ' COMMENT ' 业务类型,字符串(如:订单、钱包充值、会员购买、等...) ' ,
` request_params ` mediumtext COMMENT ' 请求参数( 数组则json字符串存储) ' ,
` response_data ` mediumtext COMMENT ' 响应参数( 数组则json字符串存储) ' ,
` business_handle ` text COMMENT ' 业务处理结果( 数组则json字符串存储) ' ,
` request_url ` text COMMENT ' 请求url地址 ' ,
` server_port ` char ( 10 ) NOT NULL DEFAULT ' ' COMMENT ' 端口号 ' ,
` server_ip ` char ( 15 ) NOT NULL DEFAULT ' ' COMMENT ' 服务器ip ' ,
` client_ip ` char ( 15 ) NOT NULL DEFAULT ' ' COMMENT ' 客户端ip ' ,
` os ` char ( 20 ) NOT NULL DEFAULT ' ' COMMENT ' 操作系统 ' ,
` browser ` char ( 20 ) NOT NULL DEFAULT ' ' COMMENT ' 浏览器 ' ,
` method ` char ( 4 ) NOT NULL DEFAULT ' ' COMMENT ' 请求类型 ' ,
` scheme ` char ( 5 ) NOT NULL DEFAULT ' ' COMMENT ' http类型 ' ,
` version ` char ( 5 ) NOT NULL DEFAULT ' ' COMMENT ' http版本 ' ,
` client ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 客户端详情信息 ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
` upd_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 更新时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` business_type ` ( ` business_type ` ) ,
KEY ` add_time ` ( ` add_time ` )
2020-11-03 09:27:09 +08:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 支付请求日志 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2018-12-28 18:58:37 +08:00
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_pay_request_log`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_pay_request_log ` WRITE ;
/* !40000 ALTER TABLE `sxo_pay_request_log` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `sxo_pay_request_log` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_payment`
2021-02-23 12:26:26 +08:00
--
2020-12-25 14:53:40 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_payment ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_payment ` (
2018-12-28 18:58:37 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` name ` char ( 30 ) NOT NULL COMMENT ' 名称 ' ,
` payment ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 唯一标记 ' ,
` logo ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' logo ' ,
` version ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 插件版本 ' ,
` apply_version ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 适用系统版本 ' ,
` desc ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 插件描述 ' ,
` author ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 作者 ' ,
` author_url ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 作者主页 ' ,
` element ` text COMMENT ' 配置项规则 ' ,
` config ` text COMMENT ' 配置数据 ' ,
2020-06-27 22:48:16 +08:00
` apply_terminal ` char ( 255 ) NOT NULL COMMENT ' 适用终端 php一维数组json字符串存储( pc, h5, ios, android, alipay, weixin, baidu, toutiao, qq) ' ,
` apply_terminal_old ` char ( 255 ) NOT NULL COMMENT ' 原始适用终端 php一维数组json字符串存储( pc, h5, ios, android, alipay, weixin, baidu, toutiao, qq) ' ,
2018-12-28 18:58:37 +08:00
` is_enable ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 1 ' COMMENT ' 是否启用( 0否, 1是) ' ,
` is_open_user ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 是否对用户开放 ' ,
` 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 ` ) ,
UNIQUE KEY ` payment ` ( ` payment ` ) ,
KEY ` is_enable ` ( ` is_enable ` )
2021-04-11 23:37:24 +08:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 支付方式 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_payment`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_payment ` WRITE ;
/* !40000 ALTER TABLE `sxo_payment` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `sxo_payment` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_plugins`
2021-02-23 12:26:26 +08:00
--
2021-01-13 09:52:39 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_plugins ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_plugins ` (
2019-02-09 09:15:23 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
2021-01-05 14:48:01 +08:00
` name ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 插件名称 ' ,
2019-02-09 09:15:23 +08:00
` plugins ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 唯一标记 ' ,
2019-06-26 23:24:04 +08:00
` data ` longtext COMMENT ' 应用数据 ' ,
2019-02-09 09:15:23 +08:00
` is_enable ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 1 ' COMMENT ' 是否启用( 0否, 1是) ' ,
2021-01-05 14:48:01 +08:00
` sort ` tinyint ( 3 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 排序 ' ,
2019-02-09 09:15:23 +08:00
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
` upd_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 更新时间 ' ,
PRIMARY KEY ( ` id ` ) ,
UNIQUE KEY ` plugins ` ( ` plugins ` ) ,
KEY ` is_enable ` ( ` is_enable ` )
2021-05-27 20:20:23 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 2 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 应用 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_plugins`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_plugins ` WRITE ;
/* !40000 ALTER TABLE `sxo_plugins` DISABLE KEYS */ ;
2021-05-27 20:20:23 +08:00
INSERT INTO ` sxo_plugins ` VALUES ( 1 , ' 用户卡密 ' , ' usercdkey ' , ' {\"api_url\":\"http:\\/\\/118.195.160.3:8282\\/api\\/logins\\/list\"} ' , 1 , 0 , 1622105036 , 1622111865 ) ;
2021-04-07 14:17:35 +08:00
/* !40000 ALTER TABLE `sxo_plugins` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
2021-04-07 14:17:35 +08:00
--
-- Table structure for table `sxo_power`
--
DROP TABLE IF EXISTS ` sxo_power ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` sxo_power ` (
2018-12-28 18:58:37 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 权限id ' ,
` pid ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 权限父级id ' ,
` name ` char ( 30 ) NOT NULL DEFAULT ' ' COMMENT ' 权限名称 ' ,
` control ` char ( 30 ) NOT NULL DEFAULT ' ' COMMENT ' 控制器名称 ' ,
` action ` char ( 30 ) NOT NULL DEFAULT ' ' COMMENT ' 方法名称 ' ,
2020-09-25 23:37:04 +08:00
` url ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 自定义url地址 ' ,
2018-12-28 18:58:37 +08:00
` sort ` tinyint ( 3 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 排序 ' ,
` is_show ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 1 ' COMMENT ' 是否显示( 0否, 1是) ' ,
` icon ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 图标class ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
PRIMARY KEY ( ` id ` )
2021-04-26 19:41:18 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 476 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 权限 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_power`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_power ` WRITE ;
/* !40000 ALTER TABLE `sxo_power` DISABLE KEYS */ ;
2021-04-26 19:41:18 +08:00
INSERT INTO ` sxo_power ` VALUES ( 1 , 0 , ' 权限控制 ' , ' Power ' , ' Index ' , ' ' , 3 , 1 , ' icon-quanxian ' , 1481612301 ) , ( 4 , 1 , ' 角色管理 ' , ' Role ' , ' Index ' , ' ' , 20 , 1 , ' ' , 1481639037 ) , ( 13 , 1 , ' 权限分配 ' , ' Power ' , ' Index ' , ' ' , 30 , 1 , ' ' , 1482156143 ) , ( 15 , 1 , ' 权限添加/编辑 ' , ' Power ' , ' Save ' , ' ' , 31 , 0 , ' ' , 1482243750 ) , ( 16 , 1 , ' 权限删除 ' , ' Power ' , ' Delete ' , ' ' , 32 , 0 , ' ' , 1482243797 ) , ( 17 , 1 , ' 角色组添加/编辑页面 ' , ' Role ' , ' SaveInfo ' , ' ' , 21 , 0 , ' ' , 1482243855 ) , ( 18 , 1 , ' 角色组添加/编辑 ' , ' Role ' , ' Save ' , ' ' , 22 , 0 , ' ' , 1482243888 ) , ( 19 , 1 , ' 管理员添加/编辑页面 ' , ' Admin ' , ' SaveInfo ' , ' ' , 2 , 0 , ' ' , 1482244637 ) , ( 20 , 1 , ' 管理员添加/编辑 ' , ' Admin ' , ' Save ' , ' ' , 3 , 0 , ' ' , 1482244666 ) , ( 21 , 1 , ' 管理员删除 ' , ' Admin ' , ' Delete ' , ' ' , 4 , 0 , ' ' , 1482244688 ) , ( 22 , 1 , ' 管理员列表 ' , ' Admin ' , ' Index ' , ' ' , 1 , 1 , ' ' , 1482568868 ) , ( 23 , 1 , ' 角色删除 ' , ' Role ' , ' Delete ' , ' ' , 23 , 0 , ' ' , 1482569155 ) , ( 38 , 0 , ' 商品管理 ' , ' Goods ' , ' Index ' , ' ' , 5 , 1 , ' icon-shangpin ' , 1483283430 ) , ( 39 , 38 , ' 商品管理 ' , ' Goods ' , ' Index ' , ' ' , 1 , 1 , ' ' , 1483283546 ) , ( 41 , 0 , ' 系统设置 ' , ' Config ' , ' Index ' , ' ' , 1 , 1 , ' icon-peizhi ' , 1483362358 ) , ( 42 , 41 , ' 配置保存 ' , ' Config ' , ' Save ' , ' ' , 10 , 0 , ' ' , 1483432335 ) , ( 57 , 38 , ' 商品添加/编辑页面 ' , ' Goods ' , ' SaveInfo ' , ' ' , 2 , 0 , ' ' , 1483616439 ) , ( 58 , 38 , ' 商品添加/编辑 ' , ' Goods ' , ' Save ' , ' ' , 3 , 0 , ' ' , 1483616492 ) , ( 59 , 38 , ' 商品删除 ' , ' Goods ' , ' Delete ' , ' ' , 4 , 0 , ' ' , 1483616569 ) , ( 81 , 0 , ' 站点配置 ' , ' Site ' , ' Index ' , ' ' , 2 , 1 , ' icon-zhandianpeizhi ' , 1486182943 ) , ( 103 , 81 , ' 站点设置 ' , ' Site ' , ' Index ' , ' ' , 0 , 1 , ' ' , 1486561470 ) , ( 104 , 81 , ' 短信设置 ' , ' Sms ' , ' Index ' , ' ' , 10 , 1 , ' ' , 1486561615 ) , ( 105 , 81 , ' 站点设置编辑 ' , ' Site ' , ' Save ' , ' ' , 1 , 0 , ' ' , 1486561780 ) , ( 107 , 81 , ' 短信设置编辑 ' , ' Sms ' , ' Save ' , ' ' , 11 , 0 , ' ' , 1486562011 ) , ( 118 , 0 , ' 工具 ' , ' Tool ' , ' Index ' , ' ' , 50 , 1 , ' icon-tools ' , 1488108044 ) , ( 119 , 118 , ' 缓存管理 ' , ' Cache ' , ' Index ' , ' ' , 1 , 1 , ' ' , 1488108107 ) , ( 120 , 118 , ' 站点缓存更新 ' , ' Cache ' , ' StatusUpdate ' , ' ' , 2 , 0 , ' ' , 1488108235 ) , ( 121 , 118 , ' 模板缓存更新 ' , ' Cache ' , ' TemplateUpdate ' , ' ' , 2 , 0 , ' ' , 1488108390 ) , ( 122 , 118 , ' 模块缓存更新 ' , ' Cache ' , ' ModuleUpdate ' , ' ' , 3 , 0 , ' ' , 1488108436 ) , ( 126 , 0 , ' 用户管理 ' , ' User ' , ' Index ' , ' ' , 4 , 1 , ' icon-yonghuguanli ' , 1490794162 ) , ( 127 , 126 , ' 用户列表 ' , ' User ' , ' Index ' , ' ' , 0 , 1 , ' ' , 1490794316 ) , ( 128 , 126 , ' 用户编辑/添加页面 ' , ' User ' , ' SaveInfo ' , ' ' , 1 , 0 , ' ' , 1490794458 ) , ( 129 , 126 , ' 用户添加/编辑 ' , ' User ' , ' Save ' , ' ' , 2 , 0 , ' ' , 1490794510 ) , ( 130 , 126 , ' 用户删除 ' , ' User ' , ' Delete ' , ' ' , 3 , 0 , ' ' , 1490794585 ) , ( 146 , 126 , ' Excel导出 ' , ' User ' , ' ExcelExport ' , ' ' , 6 , 0 , ' ' , 1522223773 ) , ( 153 , 222 , ' 地区管理 ' , ' Region ' , ' Index ' , ' ' , 60 , 1 , ' ' , 1526304473 ) , ( 154 , 222 , ' 地区添加/编辑 ' , ' Region ' , ' Save ' , ' ' , 61 , 0 , ' ' , 1526304503 ) , ( 155 , 222 , ' 地区删除 ' , ' Region ' , ' Delete ' , ' ' , 62 , 0 , ' ' , 1526304531 ) , ( 156 , 222 , ' 快递管理 ' , ' Express ' , ' Index ' , ' ' , 70 , 1 , ' ' , 1526304473 ) , ( 157 , 222 , ' 快递添加/编辑 ' , ' Express ' , ' Save ' , ' ' , 71 , 0 , ' ' , 1526304473 ) , ( 158 , 222 , ' 快递删除 ' , ' Express ' , ' Delete ' , ' ' , 72 , 0 , ' ' , 1526304473 ) , ( 172 , 222 , ' 首页轮播 ' , ' Slide ' , ' Index ' , ' ' , 40 , 1 , ' ' , 1527149117 ) , ( 173 , 222 , ' 轮播添加/编辑页面 ' , ' Slide ' , ' SaveInfo ' , ' ' , 41 , 0 , ' ' , 1527149152 ) , ( 174 , 222 , ' 轮播添加/编辑 ' , ' Slide ' , ' Save ' , ' ' , 42 , 0 , ' ' , 1527149186 ) , ( 175 , 222 , ' 轮播状态更新 ' , ' Slide ' , ' StatusUpdate ' , ' ' , 43 , 0 , ' ' , 1527156980 ) , ( 176 , 222 , ' 轮播删除 ' , ' Slide ' , ' Delete ' , ' ' , 44 , 0 , ' ' , 1527157260 ) , ( 177 , 0 , ' 订单管理 ' , ' Order ' , ' Index ' , ' ' , 6 , 1 , ' icon-dingdan ' , 1522229870 ) , ( 178 , 177 , ' 订单管理 ' , ' Order ' , ' Index ' , ' ' , 1 , 1 , ' ' , 1522317898 ) , ( 179 , 177 , ' 订单删除 ' , ' Order ' , ' Delete ' , ' ' , 2 , 0 , ' ' , 1522317917 ) , ( 180 , 177 , ' 订单取消 ' , ' Order ' , ' Cancel ' , ' ' , 3 , 0 , ' ' , 1527497803 ) , ( 181 , 38 , ' 商品状态更新 ' , ' Goods ' , ' StatusUpdate ' , ' ' , 5 , 0 , ' ' , 1528080200 ) , ( 182 , 0 , ' 数据管理 ' , ' Data ' , ' Index ' , ' ' , 22 , 1 , ' icon-shuju ' , 1528096661 ) , ( 183 , 182 , ' 消息管理 ' , ' Message ' , ' Index ' , ' ' , 10 , 1 , ' ' , 1528080200 ) , ( 184 , 182 , ' 消息删除 ' , ' Message ' , ' Delete ' , ' ' , 11 , 0 , ' ' , 1528080200 ) , ( 185 , 182 , ' 支付日志 ' , ' PayLog ' , ' Index ' , ' ' , 20 , 1 , ' ' , 1528080200 ) , ( 186 , 182 , ' 积分日志 ' , ' IntegralLog ' , ' Index ' , ' ' , 40 , 1 , ' ' , 1528103067 ) , ( 193 , 222 , ' 筛选价格 ' , ' ScreeningPrice ' , ' Index ' , ' ' , 50 , 1 , ' ' , 1528708578 ) , ( 194 , 222 , ' 筛选价格添加/编辑 ' , ' ScreeningPrice ' , ' Save ' , ' ' , 51 , 0 , ' ' , 1528708609 ) , ( 199 , 81 , ' SEO设置 ' , ' Seo ' , ' Index ' , ' ' , 30 , 1 , ' ' , 1528771081 ) , ( 200 , 81 , ' SEO设置编辑 ' , ' Seo ' , ' Save ' , ' ' , 31 , 0 , ' ' , 1528771105 ) , ( 201 , 38 , ' 商品分<EFBFBD> <EFBFBD>
2021-04-07 14:17:35 +08:00
/* !40000 ALTER TABLE `sxo_power` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_quick_nav`
2021-02-23 12:26:26 +08:00
--
2021-01-14 14:01:25 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_quick_nav ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_quick_nav ` (
2020-09-11 18:43:54 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` platform ` char ( 30 ) NOT NULL DEFAULT ' pc ' COMMENT ' 所属平台( pc PC网站, h5 H5手机网站, ios 苹果APP, android 安卓APP, alipay 支付宝小程序, weixin 微信小程序, baidu 百度小程序, toutiao 头条小程序, qq QQ小程序) ' ,
` event_type ` tinyint ( 2 ) NOT NULL DEFAULT ' -1 ' COMMENT ' 事件类型( 0 WEB页面, 1 内部页面(小程序或APP内部地址), 2 外部小程序(同一个主体下的小程序appid), 3 打开地图, 4 拨打电话) ' ,
` event_value ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 事件值 ' ,
` images_url ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 图片地址 ' ,
` name ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 名称 ' ,
` is_enable ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 1 ' COMMENT ' 是否启用( 0否, 1是) ' ,
` bg_color ` char ( 30 ) NOT NULL DEFAULT ' ' COMMENT ' css背景色值 ' ,
` 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 ` platform ` ( ` platform ` ) ,
KEY ` is_enable ` ( ` is_enable ` ) ,
KEY ` sort ` ( ` sort ` )
2020-09-17 23:02:16 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 29 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 快捷导航 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_quick_nav`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_quick_nav ` WRITE ;
/* !40000 ALTER TABLE `sxo_quick_nav` DISABLE KEYS */ ;
INSERT INTO ` sxo_quick_nav ` VALUES ( 1 , ' pc ' , 0 , ' index.php?s=/index/category/index.html ' , ' /static/upload/images/quick_nav/2020/09/11/1599806728463641.png ' , ' 分类 ' , 1 , ' #FF9933 ' , 0 , 1599806738 , 1600078209 ) , ( 2 , ' pc ' , 4 , ' 17688888888 ' , ' /static/upload/images/quick_nav/2020/09/17/1600322667732829.png ' , ' 电话 ' , 1 , ' #FF00CC ' , 0 , 1599807003 , 1600322701 ) , ( 3 , ' pc ' , 0 , ' index.php?s=/index/order/index.html ' , ' /static/upload/images/quick_nav/2020/09/11/1599808001838784.png ' , ' 订单 ' , 1 , ' #996633 ' , 0 , 1599808005 , 1599902921 ) , ( 4 , ' pc ' , 3 , ' ShopXO|上海浦东新区张江高科技园区XXX号|121.633055|31.21412 ' , ' /static/upload/images/quick_nav/2020/09/17/1600321639662998.png ' , ' 地图 ' , 1 , ' #0066FF ' , 0 , 1599808052 , 1599902922 ) , ( 5 , ' h5 ' , 0 , ' index.php?s=/index/category/index.html ' , ' /static/upload/images/quick_nav/2020/09/11/1599806728463641.png ' , ' 分类 ' , 1 , ' #FF9933 ' , 0 , 1599806738 , 1599810379 ) , ( 6 , ' h5 ' , 4 , ' 17688888888 ' , ' /static/upload/images/quick_nav/2020/09/17/1600322667732829.png ' , ' 电话 ' , 1 , ' #FF00CC ' , 0 , 1599807003 , 0 ) , ( 7 , ' h5 ' , 0 , ' index.php?s=/index/order/index.html ' , ' /static/upload/images/quick_nav/2020/09/11/1599808001838784.png ' , ' 订单 ' , 1 , ' #996633 ' , 0 , 1599808005 , 1599808064 ) , ( 8 , ' h5 ' , 3 , ' ShopXO|上海浦东新区张江高科技园区XXX号|121.633055|31.21412 ' , ' /static/upload/images/quick_nav/2020/09/17/1600321639662998.png ' , ' 地图 ' , 1 , ' #0066FF ' , 0 , 1599808052 , 0 ) , ( 9 , ' weixin ' , 1 , ' /pages/goods-category/goods-category ' , ' /static/upload/images/quick_nav/2020/09/11/1599806728463641.png ' , ' 分类 ' , 1 , ' #FF9933 ' , 0 , 1599806738 , 1599810379 ) , ( 10 , ' weixin ' , 4 , ' 17688888888 ' , ' /static/upload/images/quick_nav/2020/09/17/1600322667732829.png ' , ' 电话 ' , 1 , ' #FF00CC ' , 0 , 1599807003 , 1600076541 ) , ( 11 , ' weixin ' , 1 , ' /pages/user-order/user-order ' , ' /static/upload/images/quick_nav/2020/09/11/1599808001838784.png ' , ' 订单 ' , 1 , ' #996633 ' , 0 , 1599808005 , 1599808064 ) , ( 12 , ' weixin ' , 3 , ' ShopXO|上海浦东新区张江高科技园区XXX号|121.633055|31.21412 ' , ' /static/upload/images/quick_nav/2020/09/17/1600321639662998.png ' , ' 地图 ' , 1 , ' #0066FF ' , 0 , 1599808052 , 1600321670 ) , ( 13 , ' alipay ' , 1 , ' /pages/goods-category/goods-category ' , ' /static/upload/images/quick_nav/2020/09/11/1599806728463641.png ' , ' 分类 ' , 1 , ' #FF9933 ' , 0 , 1599806738 , 1599810379 ) , ( 14 , ' alipay ' , 4 , ' 17688888888 ' , ' /static/upload/images/quick_nav/2020/09/17/1600322667732829.png ' , ' 电话 ' , 1 , ' #FF00CC ' , 0 , 1599807003 , 1600076541 ) , ( 15 , ' alipay ' , 1 , ' /pages/user-order/user-order ' , ' /static/upload/images/quick_nav/2020/09/11/1599808001838784.png ' , ' 订单 ' , 1 , ' #996633 ' , 0 , 1599808005 , 1599808064 ) , ( 16 , ' alipay ' , 3 , ' ShopXO|上海浦东新区张江高科技园区XXX号|121.633055|31.21412 ' , ' /static/upload/images/quick_nav/2020/09/17/1600321639662998.png ' , ' 地图 ' , 1 , ' #0066FF ' , 0 , 1599808052 , 1600321670 ) , ( 17 , ' baidu ' , 1 , ' /pages/goods-category/goods-category ' , ' /static/upload/images/quick_nav/2020/09/11/1599806728463641.png ' , ' 分类 ' , 1 , ' #FF9933 ' , 0 , 1599806738 , 1599810379 ) , ( 18 , ' baidu ' , 4 , ' 17688888888 ' , ' /static/upload/images/quick_nav/2020/09/17/1600322667732829.png ' , ' 电话 ' , 1 , ' #FF00CC ' , 0 , 1599807003 , 1600323589 ) , ( 19 , ' baidu ' , 1 , ' /pages/user-order/user-order ' , ' /static/upload/images/quick_nav/2020/09/11/1599808001838784.png ' , ' 订单 ' , 1 , ' #996633 ' , 0 , 1599808005 , 1599808064 ) , ( 20 , ' baidu ' , 3 , ' ShopXO|上海浦东新区张江高科技园区XXX号|121.633055|31.21412 ' , ' /static/upload/images/quick_nav/2020/09/17/1600321639662998.png ' , ' 地图 ' , 1 , ' #0066FF ' , 0 , 1599808052 , 1600321670 ) , ( 21 , ' qq ' , 1 , ' /pages/goods-category/goods-category ' , ' /static/upload/images/quick_nav/2020/09/11/1599806728463641.png ' , ' 分类 ' , 1 , ' #FF9933 ' , 0 , 1599806738 , 1599810379 ) , ( 22 , ' qq ' , 4 , ' 17688888888 ' , ' /static/upload/images/quick_nav/2020/09/17/1600322667732829.png ' , ' 电话 ' , 1 , ' #FF00CC ' , 0 , 1599807003 , 1600076541 ) , ( 23 , ' qq ' , 1 , ' /pages/user-order/user-order ' , ' /static/upload/images/quick_nav/2020/09/11/1599808001838784.png ' , ' 订单 ' , 1 , ' #996633 ' , 0 , 1599808005 , 1599808064 ) , ( 24 , ' qq ' , 3 , ' ShopXO|上海浦东新区张江高科技园区XXX号|121.633055|31.21412 ' , ' /static/upload/images/quick_nav/2020/09/17/1600321639662998.png ' , ' 地图 ' , 1 , ' #0066FF ' , 0 , 1599808052 , 1600321670 ) , ( 25 , ' toutiao ' , 1 , ' /pages/goods-category/goods-category ' , ' /static/upload/images/quick_nav/2020/09/11/1599806728463641.png
/* !40000 ALTER TABLE `sxo_quick_nav` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_refund_log`
2021-02-23 12:26:26 +08:00
--
2021-01-14 14:01:25 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_refund_log ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_refund_log ` (
2019-05-28 18:40:01 +08:00
` id ` bigint ( 20 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 退款日志id ' ,
` user_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 用户id ' ,
2020-08-01 22:17:32 +08:00
` business_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 业务订单id ' ,
` business_type ` char ( 180 ) NOT NULL DEFAULT ' ' COMMENT ' 业务类型,字符串(如:订单、钱包充值、会员购买、等...) ' ,
2019-05-28 18:40:01 +08:00
` trade_no ` char ( 100 ) NOT NULL DEFAULT ' ' COMMENT ' 支付平台交易号 ' ,
` buyer_user ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 支付平台用户帐号 ' ,
` refund_price ` decimal ( 10 , 2 ) NOT NULL DEFAULT ' 0.00 ' COMMENT ' 退款金额 ' ,
2019-05-29 18:32:20 +08:00
` pay_price ` decimal ( 10 , 2 ) NOT NULL DEFAULT ' 0.00 ' COMMENT ' 订单实际支付金额 ' ,
2019-05-28 18:40:01 +08:00
` msg ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 描述 ' ,
` payment ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 支付方式标记 ' ,
` payment_name ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 支付方式名称 ' ,
2019-05-30 16:30:06 +08:00
` refundment ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 退款类型( 0原路退回, 1退至钱包, 2手动处理) ' ,
2019-05-28 18:40:01 +08:00
` return_params ` text COMMENT ' 支付平台返回参数( 以json存储) ' ,
` add_time ` int ( 11 ) unsigned NOT NULL COMMENT ' 添加时间 ' ,
PRIMARY KEY ( ` id ` ) ,
2020-04-20 15:09:38 +08:00
KEY ` payment ` ( ` payment ` ) ,
2020-08-01 22:17:32 +08:00
KEY ` business_id ` ( ` business_id ` ) ,
KEY ` business_type ` ( ` business_type ` )
2021-03-16 14:48:48 +08:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 退款日志 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
2019-05-28 18:40:01 +08:00
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_refund_log`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_refund_log ` WRITE ;
/* !40000 ALTER TABLE `sxo_refund_log` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `sxo_refund_log` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_region`
2021-02-23 12:26:26 +08:00
--
2020-12-25 14:53:40 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_region ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_region ` (
2018-12-28 18:58:37 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` pid ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 父id ' ,
` name ` varchar ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 名称 ' ,
` level ` tinyint ( 4 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 级别类型( 1:一级[所有省], 2: 二级[所有市], 3:三级[所有区县], 4:街道[所有街道]) ' ,
` letters ` char ( 3 ) NOT NULL DEFAULT ' ' COMMENT ' 城市首字母 ' ,
` sort ` tinyint ( 3 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 排序 ' ,
` is_enable ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 1 ' COMMENT ' 是否启用( 0否, 1是) ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
` upd_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 更新时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` pid ` ( ` pid ` ) ,
KEY ` is_enable ` ( ` is_enable ` ) ,
KEY ` sort ` ( ` sort ` )
2020-11-21 16:42:35 +08:00
) ENGINE = MyISAM AUTO_INCREMENT = 45065 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 地区 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_region`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_region ` WRITE ;
/* !40000 ALTER TABLE `sxo_region` DISABLE KEYS */ ;
INSERT INTO ` sxo_region ` VALUES ( 1 , 0 , ' 北京市 ' , 1 , ' ' , 0 , 1 , 0 , 1575617128 ) , ( 2 , 0 , ' 天津市 ' , 1 , ' ' , 0 , 1 , 0 , 0 ) , ( 3 , 0 , ' 河北省 ' , 1 , ' ' , 0 , 1 , 0 , 0 ) , ( 4 , 0 , ' 山西省 ' , 1 , ' ' , 0 , 1 , 0 , 1530347988 ) , ( 5 , 0 , ' 内蒙古自治区 ' , 1 , ' ' , 0 , 1 , 0 , 0 ) , ( 6 , 0 , ' 辽宁省 ' , 1 , ' ' , 0 , 1 , 0 , 0 ) , ( 7 , 0 , ' 吉林省 ' , 1 , ' ' , 0 , 1 , 0 , 0 ) , ( 8 , 0 , ' 黑龙江省 ' , 1 , ' ' , 0 , 1 , 0 , 0 ) , ( 9 , 0 , ' 上海市 ' , 1 , ' ' , 0 , 1 , 0 , 0 ) , ( 10 , 0 , ' 江苏省 ' , 1 , ' ' , 0 , 1 , 0 , 0 ) , ( 11 , 0 , ' 浙江省 ' , 1 , ' ' , 0 , 1 , 0 , 0 ) , ( 12 , 0 , ' 安徽省 ' , 1 , ' ' , 0 , 1 , 0 , 0 ) , ( 13 , 0 , ' 福建省 ' , 1 , ' ' , 0 , 1 , 0 , 0 ) , ( 14 , 0 , ' 江西省 ' , 1 , ' ' , 0 , 1 , 0 , 0 ) , ( 15 , 0 , ' 山东省 ' , 1 , ' ' , 0 , 1 , 0 , 0 ) , ( 16 , 0 , ' 河南省 ' , 1 , ' ' , 0 , 1 , 0 , 0 ) , ( 17 , 0 , ' 湖北省 ' , 1 , ' ' , 0 , 1 , 0 , 0 ) , ( 18 , 0 , ' 湖南省 ' , 1 , ' ' , 0 , 1 , 0 , 0 ) , ( 19 , 0 , ' 广东省 ' , 1 , ' ' , 0 , 1 , 0 , 0 ) , ( 20 , 0 , ' 广西壮族自治区 ' , 1 , ' ' , 0 , 1 , 0 , 0 ) , ( 21 , 0 , ' 海南省 ' , 1 , ' ' , 0 , 1 , 0 , 0 ) , ( 22 , 0 , ' 重庆市 ' , 1 , ' ' , 0 , 1 , 0 , 0 ) , ( 23 , 0 , ' 四川省 ' , 1 , ' ' , 0 , 1 , 0 , 0 ) , ( 24 , 0 , ' 贵州省 ' , 1 , ' ' , 0 , 1 , 0 , 0 ) , ( 25 , 0 , ' 云南省 ' , 1 , ' ' , 0 , 1 , 0 , 0 ) , ( 26 , 0 , ' 西藏自治区 ' , 1 , ' ' , 0 , 1 , 0 , 0 ) , ( 27 , 0 , ' 陕西省 ' , 1 , ' ' , 0 , 1 , 0 , 0 ) , ( 28 , 0 , ' 甘肃省 ' , 1 , ' ' , 0 , 1 , 0 , 0 ) , ( 29 , 0 , ' 青海省 ' , 1 , ' ' , 0 , 1 , 0 , 0 ) , ( 30 , 0 , ' 宁夏回族自治区 ' , 1 , ' ' , 0 , 1 , 0 , 0 ) , ( 31 , 0 , ' 新疆维吾尔自治区 ' , 1 , ' ' , 0 , 1 , 0 , 0 ) , ( 32 , 0 , ' 台湾省 ' , 1 , ' ' , 0 , 1 , 0 , 0 ) , ( 33 , 0 , ' 香港特别行政区 ' , 1 , ' ' , 0 , 1 , 0 , 0 ) , ( 34 , 0 , ' 澳门特别行政区 ' , 1 , ' ' , 0 , 1 , 0 , 0 ) , ( 35 , 0 , ' 海外 ' , 1 , ' ' , 0 , 1 , 0 , 0 ) , ( 36 , 0 , ' 其它 ' , 1 , ' ' , 0 , 1 , 0 , 1605776395 ) , ( 37 , 1 , ' 东城区 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 38 , 1 , ' 西城区 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 39 , 1 , ' 崇文区 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 40 , 1 , ' 宣武区 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 41 , 1 , ' 朝阳区 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 42 , 1 , ' 丰台区 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 43 , 1 , ' 石景山区 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 44 , 1 , ' 海淀区 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 45 , 1 , ' 门头沟区 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 46 , 1 , ' 房山区 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 47 , 1 , ' 通州区 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 48 , 1 , ' 顺义区 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 49 , 1 , ' 昌平区 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 50 , 1 , ' 大兴区 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 51 , 1 , ' 怀柔区 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 52 , 1 , ' 平谷区 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 53 , 1 , ' 密云县 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 54 , 1 , ' 延庆县 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 55 , 2 , ' 和平区 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 56 , 2 , ' 河东区 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 57 , 2 , ' 河西区 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 58 , 2 , ' 南开区 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 59 , 2 , ' 河北区 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 60 , 2 , ' 红桥区 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 61 , 2 , ' 塘沽区 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 62 , 2 , ' 汉沽区 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 63 , 2 , ' 大港区 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 64 , 2 , ' 东丽区 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 65 , 2 , ' 西青区 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 66 , 2 , ' 津南区 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 67 , 2 , ' 北辰区 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 68 , 2 , ' 武清区 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 69 , 2 , ' 宝坻区 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 70 , 2 , ' 宁河县 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 71 , 2 , ' 静海县 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 72 , 2 , ' 蓟县 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 73 , 3 , ' 石家庄市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 74 , 3 , ' 唐山市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 75 , 3 , ' 秦皇岛市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 76 , 3 , ' 邯郸市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 77 , 3 , ' 邢台市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 78 , 3 , ' 保定市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 79 , 3 , ' 张家口市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 80 , 3 , ' 承德市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 81 , 3 , ' 衡水市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 82 , 3 , ' 廊坊市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 83 , 3 , ' 沧州市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 84 , 4 , ' 太原市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 85 , 4 , ' 大同市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 86 , 4 , ' 阳泉市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 87 , 4 , ' 长治市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 88 , 4 , ' 晋城市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 89 , 4 , ' 朔州市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 90 , 4 , ' 晋中市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 91 , 4 , ' 运城市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 92 , 4 , ' 忻州市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 93 , 4 , ' 临汾市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 94 , 4 , ' 吕梁市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 95 , 5 , ' 呼和浩特市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 96 , 5 , ' 包头市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 97 , 5 , ' 乌海市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 98 , 5 , ' 赤峰市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 99 , 5 , ' 通辽市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 100 , 5 , ' 鄂尔多斯市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 101 , 5 , ' 呼伦贝尔市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 102 , 5 , ' 巴彦淖尔市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 103 , 5 , ' 乌兰察布市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 104 , 5 , ' 兴安盟 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 105 , 5 , ' 锡林郭勒盟 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 106 , 5 , ' 阿拉善盟 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 107 , 6 , ' 沈阳市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 108 , 6 , ' 大连市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 109 , 6 , ' 鞍山市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 110 , 6 , ' 抚顺市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 111 , 6 , ' 本溪市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 112 , 6 , ' 丹东市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 113 , 6 , ' 锦州市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 114 , 6 , ' 营口市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 115 , 6 , ' 阜新市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 116 , 6 , ' 辽阳市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 117 , 6 , ' 盘锦市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 118 , 6 , ' 铁岭市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 119 , 6 , ' 朝阳市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 120 , 6 , ' 葫芦岛市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 121 , 7 , ' 长春市 ' , 2 , ' ' , 0 , 1 , 0 , 0 ) , ( 122 , 7 , ' 吉林市 ' , 2 , '
INSERT INTO ` sxo_region ` VALUES ( 26191 , 2885 , ' 梅川镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26192 , 2885 , ' 武穴街道 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26193 , 2885 , ' 田镇街道 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26194 , 2885 , ' 石佛寺镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26195 , 2885 , ' 花桥镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26196 , 2885 , ' 龙坪镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26197 , 2886 , ' 丁司垱镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26198 , 2886 , ' 兰溪镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26199 , 2886 , ' 关口镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26200 , 2886 , ' 团陂镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26201 , 2886 , ' 巴河镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26202 , 2886 , ' 散花镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26203 , 2886 , ' 汪岗镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26204 , 2886 , ' 洗马镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26205 , 2886 , ' 清泉镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26206 , 2886 , ' 白莲镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26207 , 2886 , ' 竹瓦镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26208 , 2886 , ' 绿杨乡 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26209 , 2886 , ' 蔡河镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26210 , 2887 , ' 七里坪镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26211 , 2887 , ' 上新集镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26212 , 2887 , ' 二程镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26213 , 2887 , ' 八里湾镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26214 , 2887 , ' 华家河镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26215 , 2887 , ' 城关镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26216 , 2887 , ' 太平桥镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26217 , 2887 , ' 杏花乡 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26218 , 2887 , ' 永佳河镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26219 , 2887 , ' 觅儿寺镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26220 , 2887 , ' 高桥镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26221 , 2888 , ' 三里畈镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26222 , 2888 , ' 九资河镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26223 , 2888 , ' 凤山镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26224 , 2888 , ' 匡河乡 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26225 , 2888 , ' 千基坪林场 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26226 , 2888 , ' 大崎乡 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26227 , 2888 , ' 大河岸镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26228 , 2888 , ' 平湖乡 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26229 , 2888 , ' 河铺镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26230 , 2888 , ' 白庙河乡 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26231 , 2888 , ' 白莲河乡 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26232 , 2888 , ' 胜利镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26233 , 2888 , ' 薄刀峰林场 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26234 , 2888 , ' 青苔关林场 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26235 , 2888 , ' 骆驼坳镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26236 , 2888 , ' 黄狮寨林场 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26237 , 2889 , ' 南河镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26238 , 2889 , ' 孔家坊乡 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26239 , 2889 , ' 方家嘴乡 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26240 , 2889 , ' 杨柳湾镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26241 , 2889 , ' 温泉镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26242 , 2889 , ' 石头嘴镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26243 , 2889 , ' 红山镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26244 , 2889 , ' 草盘地镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26245 , 2889 , ' 金家铺镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26246 , 2889 , ' 陶家河乡 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26247 , 2889 , ' 雷家店镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26248 , 2890 , ' 刘河镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26249 , 2890 , ' 向桥乡 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26250 , 2890 , ' 大同镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26251 , 2890 , ' 张塝镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26252 , 2890 , ' 彭思镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26253 , 2890 , ' 株林镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26254 , 2890 , ' 横车镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26255 , 2890 , ' 檀林镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26256 , 2890 , ' 漕河镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26257 , 2890 , ' 狮子镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26258 , 2890 , ' 管窑镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26259 , 2890 , ' 蕲州镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26260 , 2890 , ' 赤东镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26261 , 2890 , ' 青石镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26262 , 2891 , ' 三河口镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26263 , 2891 , ' 中馆驿镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26264 , 2891 , ' 乘马岗镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26265 , 2891 , ' 南湖街道 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26266 , 2891 , ' 夫子河镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26267 , 2891 , ' 宋埠镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26268 , 2891 , ' 张家畈镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26269 , 2891 , ' 木子店镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26270 , 2891 , ' 歧亭镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26271 , 2891 , ' 白果镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26272 , 2891 , ' 盐田河镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26273 , 2891 , ' 福田河镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26274 , 2891 , ' 铁门岗乡 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26275 , 2891 , ' 阎家河镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26276 , 2891 , ' 顺河集镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26277 , 2891 , ' 黄土岗镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26278 , 2891 , ' 鼓楼街道 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26279 , 2891 , ' 龙池桥街道 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26280 , 2891 , ' 龟山乡 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26281 , 2892 , ' 东湖街道 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26282 , 2892 , ' 南湖街道 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26283 , 2892 , ' 堵城镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26284 , 2892 , ' 禹王街道 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26285 , 2892 , ' 赤壁街道 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26286 , 2892 , ' 路口镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26287 , 2892 , ' 陈策楼镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26288 , 2892 , ' 陶店乡 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26289 , 2893 , ' 下新镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26290 , 2893 , ' 五祖镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26291 , 2893 , ' 停前镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26292 , 2893 , ' 分路镇 ' , 4 , ' ' , 0 , 1 , 0 , 0 ) , ( 26293 , 2893 , ' 大河镇 ' , 4
/* !40000 ALTER TABLE `sxo_region` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_role`
2021-02-23 12:26:26 +08:00
--
2018-12-28 18:58:37 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_role ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_role ` (
2018-12-28 18:58:37 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 角色组id ' ,
` name ` char ( 30 ) NOT NULL DEFAULT ' ' COMMENT ' 角色名称 ' ,
` is_enable ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 1 ' COMMENT ' 是否启用( 0否, 1是) ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
2020-06-14 23:10:36 +08:00
` upd_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 更新时间 ' ,
2018-12-28 18:58:37 +08:00
PRIMARY KEY ( ` id ` )
2020-09-11 18:43:54 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 14 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 角色组 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_role`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_role ` WRITE ;
/* !40000 ALTER TABLE `sxo_role` DISABLE KEYS */ ;
2021-04-11 23:37:24 +08:00
INSERT INTO ` sxo_role ` VALUES ( 1 , ' 超级管理员 ' , 1 , 1481350313 , 0 ) , ( 13 , ' 管理员 ' , 1 , 1484402362 , 1618153827 ) ;
2021-04-07 14:17:35 +08:00
/* !40000 ALTER TABLE `sxo_role` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_role_power`
2021-02-23 12:26:26 +08:00
--
2021-01-14 14:01:25 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_role_power ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_role_power ` (
2018-12-28 18:58:37 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 关联id ' ,
` role_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 角色id ' ,
` power_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 权限id ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` role_id ` ( ` role_id ` ) ,
KEY ` power_id ` ( ` power_id ` )
2021-04-11 23:37:24 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 3641 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 角色与权限管理 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_role_power`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_role_power ` WRITE ;
/* !40000 ALTER TABLE `sxo_role_power` DISABLE KEYS */ ;
2021-04-11 23:37:24 +08:00
INSERT INTO ` sxo_role_power ` VALUES ( 3562 , 13 , 41 , 1618153827 ) , ( 3563 , 13 , 339 , 1618153827 ) , ( 3564 , 13 , 354 , 1618153827 ) , ( 3565 , 13 , 81 , 1618153827 ) , ( 3566 , 13 , 103 , 1618153827 ) , ( 3567 , 13 , 104 , 1618153827 ) , ( 3568 , 13 , 219 , 1618153827 ) , ( 3569 , 13 , 199 , 1618153827 ) , ( 3570 , 13 , 362 , 1618153827 ) , ( 3571 , 13 , 1 , 1618153827 ) , ( 3572 , 13 , 22 , 1618153827 ) , ( 3573 , 13 , 4 , 1618153827 ) , ( 3574 , 13 , 406 , 1618153827 ) , ( 3575 , 13 , 13 , 1618153827 ) , ( 3576 , 13 , 126 , 1618153827 ) , ( 3577 , 13 , 127 , 1618153827 ) , ( 3578 , 13 , 451 , 1618153827 ) , ( 3579 , 13 , 38 , 1618153827 ) , ( 3580 , 13 , 39 , 1618153827 ) , ( 3581 , 13 , 201 , 1618153827 ) , ( 3582 , 13 , 462 , 1618153827 ) , ( 3583 , 13 , 356 , 1618153827 ) , ( 3584 , 13 , 418 , 1618153827 ) , ( 3585 , 13 , 421 , 1618153827 ) , ( 3586 , 13 , 177 , 1618153827 ) , ( 3587 , 13 , 178 , 1618153827 ) , ( 3588 , 13 , 180 , 1618153827 ) , ( 3589 , 13 , 267 , 1618153827 ) , ( 3590 , 13 , 268 , 1618153827 ) , ( 3591 , 13 , 269 , 1618153827 ) , ( 3592 , 13 , 310 , 1618153827 ) , ( 3593 , 13 , 364 , 1618153827 ) , ( 3594 , 13 , 222 , 1618153827 ) , ( 3595 , 13 , 223 , 1618153827 ) , ( 3596 , 13 , 234 , 1618153827 ) , ( 3597 , 13 , 236 , 1618153827 ) , ( 3598 , 13 , 238 , 1618153827 ) , ( 3599 , 13 , 239 , 1618153827 ) , ( 3600 , 13 , 241 , 1618153827 ) , ( 3601 , 13 , 244 , 1618153827 ) , ( 3602 , 13 , 172 , 1618153827 ) , ( 3603 , 13 , 175 , 1618153827 ) , ( 3604 , 13 , 193 , 1618153827 ) , ( 3605 , 13 , 153 , 1618153827 ) , ( 3606 , 13 , 156 , 1618153827 ) , ( 3607 , 13 , 259 , 1618153827 ) , ( 3608 , 13 , 261 , 1618153827 ) , ( 3609 , 13 , 252 , 1618153827 ) , ( 3610 , 13 , 249 , 1618153827 ) , ( 3611 , 13 , 253 , 1618153827 ) , ( 3612 , 13 , 438 , 1618153827 ) , ( 3613 , 13 , 425 , 1618153827 ) , ( 3614 , 13 , 431 , 1618153827 ) , ( 3615 , 13 , 319 , 1618153827 ) , ( 3616 , 13 , 326 , 1618153827 ) , ( 3617 , 13 , 314 , 1618153827 ) , ( 3618 , 13 , 376 , 1618153827 ) , ( 3619 , 13 , 332 , 1618153827 ) , ( 3620 , 13 , 336 , 1618153827 ) , ( 3621 , 13 , 333 , 1618153827 ) , ( 3622 , 13 , 204 , 1618153827 ) , ( 3623 , 13 , 205 , 1618153827 ) , ( 3624 , 13 , 210 , 1618153827 ) , ( 3625 , 13 , 182 , 1618153827 ) , ( 3626 , 13 , 214 , 1618153827 ) , ( 3627 , 13 , 183 , 1618153827 ) , ( 3628 , 13 , 185 , 1618153827 ) , ( 3629 , 13 , 449 , 1618153827 ) , ( 3630 , 13 , 372 , 1618153827 ) , ( 3631 , 13 , 186 , 1618153827 ) , ( 3632 , 13 , 340 , 1618153827 ) , ( 3633 , 13 , 341 , 1618153827 ) , ( 3634 , 13 , 373 , 1618153827 ) , ( 3635 , 13 , 118 , 1618153827 ) , ( 3636 , 13 , 119 , 1618153827 ) , ( 3637 , 13 , 120 , 1618153827 ) , ( 3638 , 13 , 121 , 1618153827 ) , ( 3639 , 13 , 122 , 1618153827 ) , ( 3640 , 13 , 331 , 1618153827 ) ;
2021-04-07 14:17:35 +08:00
/* !40000 ALTER TABLE `sxo_role_power` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_screening_price`
2021-02-23 12:26:26 +08:00
--
2021-01-14 14:01:25 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_screening_price ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_screening_price ` (
2018-12-28 18:58:37 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 分类id ' ,
` pid ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 父id ' ,
` name ` char ( 30 ) CHARACTER SET utf8 NOT NULL COMMENT ' 名称 ' ,
` min_price ` int ( 10 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 最小价格 ' ,
` max_price ` int ( 10 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 最大价格 ' ,
` 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 ` pid ` ( ` pid ` ) ,
KEY ` is_enable ` ( ` is_enable ` )
) ENGINE = InnoDB AUTO_INCREMENT = 32 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 筛选价格 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_screening_price`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_screening_price ` WRITE ;
/* !40000 ALTER TABLE `sxo_screening_price` DISABLE KEYS */ ;
INSERT INTO ` sxo_screening_price ` VALUES ( 7 , 0 , ' 100以下 ' , 0 , 100 , 1 , 0 , 0 , 1605776851 ) , ( 10 , 0 , ' 100-300 ' , 100 , 300 , 1 , 0 , 0 , 1605776847 ) , ( 16 , 0 , ' 300-600 ' , 300 , 600 , 1 , 0 , 1482840545 , 1536284623 ) , ( 17 , 0 , ' 600-1000 ' , 600 , 1000 , 1 , 0 , 1482840557 , 1536284638 ) , ( 18 , 0 , ' 1000-1500 ' , 1000 , 1500 , 1 , 0 , 1482840577 , 1536284653 ) , ( 24 , 0 , ' 1500-2000 ' , 1500 , 2000 , 1 , 0 , 1483951541 , 1536284667 ) , ( 25 , 0 , ' 2000-3000 ' , 2000 , 3000 , 1 , 0 , 1535684676 , 1536284683 ) , ( 26 , 0 , ' 3000-5000 ' , 3000 , 5000 , 1 , 0 , 1535684688 , 1536284701 ) , ( 27 , 0 , ' 5000-8000 ' , 5000 , 8000 , 1 , 0 , 1535684701 , 1536284736 ) , ( 28 , 0 , ' 8000-12000 ' , 8000 , 12000 , 1 , 0 , 1535684707 , 1536284767 ) , ( 29 , 0 , ' 12000-16000 ' , 12000 , 16000 , 1 , 0 , 1535684729 , 1536284787 ) , ( 30 , 0 , ' 16000-20000 ' , 16000 , 20000 , 1 , 0 , 1535684745 , 1536284805 ) , ( 31 , 0 , ' 20000以上 ' , 20000 , 0 , 1 , 0 , 1535684797 , 1536284828 ) ;
/* !40000 ALTER TABLE `sxo_screening_price` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_search_history`
2021-02-23 12:26:26 +08:00
--
2018-12-28 18:58:37 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_search_history ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_search_history ` (
2018-12-28 18:58:37 +08:00
` id ` bigint ( 20 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` user_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 用户id ' ,
2021-01-10 13:18:35 +08:00
` brand_ids ` text COMMENT ' 品牌id( json存储) ' ,
` category_ids ` text COMMENT ' 商品分类id( json存储) ' ,
` keywords ` char ( 230 ) NOT NULL DEFAULT ' ' COMMENT ' 搜索关键字 ' ,
` screening_price_values ` text COMMENT ' 价格区间( json存储) ' ,
` goods_params_values ` text COMMENT ' 商品参数/属性( json存储) ' ,
` goods_spec_values ` text COMMENT ' 商品规格( json存储) ' ,
2018-12-28 18:58:37 +08:00
` order_by_field ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 排序类型(字段名称) ' ,
` order_by_type ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 排序方式( asc, desc) ' ,
2021-01-10 13:18:35 +08:00
` search_result ` text COMMENT ' 搜索结果( json存储) ' ,
2018-12-28 18:58:37 +08:00
` ymd ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 日期 ymd ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
PRIMARY KEY ( ` id ` )
2021-04-11 23:37:24 +08:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 搜索日志 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_search_history`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_search_history ` WRITE ;
/* !40000 ALTER TABLE `sxo_search_history` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `sxo_search_history` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_slide`
2021-02-23 12:26:26 +08:00
--
2021-01-14 14:01:25 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_slide ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_slide ` (
2018-12-28 18:58:37 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
2020-09-11 18:43:54 +08:00
` platform ` char ( 30 ) NOT NULL DEFAULT ' pc ' COMMENT ' 所属平台( pc PC网站, h5 H5手机网站, ios 苹果APP, android 安卓APP, alipay 支付宝小程序, weixin 微信小程序, baidu 百度小程序, toutiao 头条小程序, qq QQ小程序) ' ,
2018-12-28 18:58:37 +08:00
` event_type ` tinyint ( 2 ) NOT NULL DEFAULT ' -1 ' COMMENT ' 事件类型( 0 WEB页面, 1 内部页面(小程序或APP内部地址), 2 外部小程序(同一个主体下的小程序appid), 3 打开地图, 4 拨打电话) ' ,
` event_value ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 事件值 ' ,
` images_url ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 图片地址 ' ,
2020-09-11 18:43:54 +08:00
` name ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 名称 ' ,
2018-12-28 18:58:37 +08:00
` bg_color ` char ( 30 ) NOT NULL DEFAULT ' ' COMMENT ' css背景色值 ' ,
` 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 ` ) ,
KEY ` platform ` ( ` platform ` )
2020-07-03 23:21:49 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 19 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 轮播图片 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_slide`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_slide ` WRITE ;
/* !40000 ALTER TABLE `sxo_slide` DISABLE KEYS */ ;
INSERT INTO ` sxo_slide ` VALUES ( 6 , ' weixin ' , 1 , ' /pages/goods-search/goods-search?keywords=iphone ' , ' /static/upload/images/slide/2018/08/20180810094402044087.jpeg ' , ' 浪漫七夕 ' , ' #080718 ' , 1 , 0 , 1533865442 , 1593784918 ) , ( 7 , ' weixin ' , 1 , ' /pages/goods-detail/goods-detail?goods_id=12 ' , ' /static/upload/images/slide/2018/08/20180810095910423687.jpeg ' , ' 海洋的未来 ' , ' #016bcc ' , 1 , 0 , 1533866350 , 1593784922 ) , ( 8 , ' alipay ' , 1 , ' /pages/goods-search/goods-search?keywords=iphone ' , ' /static/upload/images/slide/2018/08/20180810100811853567.jpeg ' , ' 大闸蟹 ' , ' #f2efe6 ' , 1 , 0 , 1533866891 , 1542618684 ) , ( 9 , ' alipay ' , 1 , ' /pages/goods-detail/goods-detail?goods_id=1 ' , ' /static/upload/images/slide/2018/08/20180810101045451156.jpeg ' , ' 情定七夕 ' , ' #7ddcf3 ' , 1 , 0 , 1533867045 , 1563361583 ) , ( 10 , ' pc ' , 0 , ' https://shopxo.net/ ' , ' /static/upload/images/slide/2018/08/20180810101106984022.jpeg ' , ' 美酒 ' , ' #f4bccb ' , 1 , 0 , 1533867066 , 1597156954 ) , ( 11 , ' pc ' , 0 , ' https://ask.shopxo.net/ ' , ' /static/upload/images/slide/2018/08/20180810101154662873.jpeg ' , ' 助力七夕 ' , ' #85c8c7 ' , 1 , 0 , 1533867114 , 1597489638 ) , ( 12 , ' h5 ' , 0 , ' https://shopxo.net ' , ' /static/upload/images/slide/2018/08/20180810101224227323.jpeg ' , ' 爱在厨房 ' , ' #efc6c4 ' , 1 , 0 , 1533867144 , 1545290041 ) , ( 13 , ' baidu ' , 1 , ' /pages/goods-search/goods-search?keywords=iphone ' , ' /static/upload/images/slide/2018/08/20180810101305611263.jpeg ' , ' 预享甜蜜 ' , ' #f6f6f4 ' , 1 , 0 , 1533867185 , 1545290030 ) , ( 14 , ' baidu ' , 1 , ' /pages/goods-detail/goods-detail?goods_id=12 ' , ' /static/upload/images/slide/2018/08/20180810095910423687.jpeg ' , ' 海洋的未来 ' , ' #016bcc ' , 1 , 0 , 1533866350 , 1546281301 ) , ( 15 , ' toutiao ' , 1 , ' /pages/goods-search/goods-search?keywords=iphone ' , ' /static/upload/images/slide/2018/08/20180810094402044087.jpeg ' , ' 浪漫七夕 ' , ' #080718 ' , 1 , 0 , 1533865442 , 1561912492 ) , ( 16 , ' toutiao ' , 1 , ' /pages/goods-detail/goods-detail?goods_id=12 ' , ' /static/upload/images/slide/2018/08/20180810095910423687.jpeg ' , ' 海洋的未来 ' , ' #016bcc ' , 1 , 0 , 1533866350 , 1573648835 ) , ( 17 , ' qq ' , 1 , ' /pages/goods-search/goods-search?keywords=iphone ' , ' /static/upload/images/slide/2018/08/20180810094402044087.jpeg ' , ' 浪漫七夕 ' , ' #080718 ' , 1 , 0 , 1533865442 , 1572867692 ) , ( 18 , ' qq ' , 1 , ' /pages/goods-detail/goods-detail?goods_id=12 ' , ' /static/upload/images/slide/2018/08/20180810095910423687.jpeg ' , ' 海洋的未来 ' , ' #016bcc ' , 1 , 0 , 1533866350 , 1546281301 ) ;
/* !40000 ALTER TABLE `sxo_slide` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_user`
2021-02-23 12:26:26 +08:00
--
2021-01-14 14:01:25 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_user ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_user ` (
2018-12-28 18:58:37 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` alipay_openid ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 支付宝openid ' ,
` weixin_openid ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 微信openid ' ,
2019-10-04 17:48:23 +08:00
` weixin_unionid ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 微信unionid ' ,
2019-07-01 01:07:07 +08:00
` weixin_web_openid ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 微信web用户openid ' ,
2018-12-28 18:58:37 +08:00
` baidu_openid ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 百度openid ' ,
2019-10-28 00:26:09 +08:00
` toutiao_openid ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 百度openid ' ,
2019-11-01 17:31:06 +08:00
` qq_openid ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' QQopenid ' ,
` qq_unionid ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' QQunionid ' ,
2019-07-01 01:07:07 +08:00
` status ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 状态( 0正常, 1禁止发言, 2禁止登录) ' ,
2018-12-28 18:58:37 +08:00
` salt ` char ( 32 ) NOT NULL DEFAULT ' ' COMMENT ' 配合密码加密串 ' ,
` pwd ` char ( 32 ) NOT NULL DEFAULT ' ' COMMENT ' 登录密码 ' ,
2019-08-18 19:38:03 +08:00
` token ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' token ' ,
2018-12-28 18:58:37 +08:00
` username ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 用户名 ' ,
` nickname ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 用户昵称 ' ,
` mobile ` char ( 11 ) NOT NULL DEFAULT ' ' COMMENT ' 手机号码 ' ,
` email ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 电子邮箱( 最大长度60个字符) ' ,
` gender ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 性别( 0保密, 1女, 2男) ' ,
` avatar ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 用户头像地址 ' ,
` province ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 所在省 ' ,
` city ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 所在市 ' ,
` birthday ` int ( 11 ) NOT NULL DEFAULT ' 0 ' COMMENT ' 生日 ' ,
` address ` char ( 150 ) NOT NULL DEFAULT ' ' COMMENT ' 详细地址 ' ,
2020-07-13 21:33:55 +08:00
` integral ` int ( 10 ) NOT NULL DEFAULT ' 0 ' COMMENT ' 有效积分 ' ,
` locking_integral ` int ( 10 ) NOT NULL DEFAULT ' 0 ' COMMENT ' 锁定积分 ' ,
2018-12-28 18:58:37 +08:00
` referrer ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 推荐人用户id ' ,
` is_delete_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 是否已删除( 0否, 大于0删除时间) ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
` upd_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 更新时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` alipay_openid ` ( ` alipay_openid ` ) ,
KEY ` weixin_openid ` ( ` weixin_openid ` ) ,
KEY ` mobile ` ( ` mobile ` ) ,
2019-08-18 19:38:03 +08:00
KEY ` username ` ( ` username ` ) ,
KEY ` token ` ( ` token ` ) ,
KEY ` baidu_openid ` ( ` baidu_openid ` )
2021-04-11 23:37:24 +08:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 用户 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_user`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_user ` WRITE ;
/* !40000 ALTER TABLE `sxo_user` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `sxo_user` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_user_address`
2021-02-23 12:26:26 +08:00
--
2018-12-28 18:58:37 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_user_address ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_user_address ` (
2018-12-28 18:58:37 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 站点id ' ,
2021-05-27 10:30:20 +08:00
` user_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 用户id ' ,
2018-12-28 18:58:37 +08:00
` alias ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 别名 ' ,
` name ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 姓名 ' ,
` tel ` char ( 15 ) NOT NULL DEFAULT ' ' COMMENT ' 电话 ' ,
` province ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 所在省 ' ,
` city ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 所在市 ' ,
` county ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 所在县/区 ' ,
` address ` char ( 80 ) NOT NULL DEFAULT ' ' COMMENT ' 详细地址 ' ,
2020-08-08 18:45:40 +08:00
` lng ` decimal ( 13 , 10 ) NOT NULL DEFAULT ' 0.0000000000 ' COMMENT ' 经度 ' ,
` lat ` decimal ( 13 , 10 ) NOT NULL DEFAULT ' 0.0000000000 ' COMMENT ' 纬度 ' ,
2020-10-13 14:29:14 +08:00
` idcard_name ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 身份证姓名 ' ,
` idcard_number ` char ( 30 ) NOT NULL DEFAULT ' ' COMMENT ' 身份证号码 ' ,
` idcard_front ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 身份证人像面图片 ' ,
` idcard_back ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 身份证国微面图片 ' ,
2019-04-12 18:41:10 +08:00
` is_default ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 是否默认地址( 0否, 1是) ' ,
2018-12-28 18:58:37 +08:00
` is_delete_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 是否删除( 0否, 1删除时间戳) ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
` upd_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 更新时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` user_id ` ( ` user_id ` ) ,
2019-12-02 20:58:48 +08:00
KEY ` is_delete_time ` ( ` is_delete_time ` ) USING BTREE
2021-03-16 14:48:48 +08:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 用户地址 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_user_address`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_user_address ` WRITE ;
/* !40000 ALTER TABLE `sxo_user_address` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `sxo_user_address` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
2021-01-14 14:01:25 +08:00
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_user_integral_log`
2021-02-23 12:26:26 +08:00
--
2021-01-10 13:18:35 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_user_integral_log ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_user_integral_log ` (
2018-12-28 18:58:37 +08:00
` id ` bigint ( 20 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` user_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 用户id ' ,
` type ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 操作类型( 0减少, 1增加) ' ,
2020-07-13 21:33:55 +08:00
` original_integral ` int ( 11 ) NOT NULL DEFAULT ' 0 ' COMMENT ' 原始积分 ' ,
` new_integral ` int ( 11 ) NOT NULL DEFAULT ' 0 ' COMMENT ' 最新积分 ' ,
2020-06-28 22:50:10 +08:00
` operation_integral ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 操作积分 ' ,
2018-12-28 18:58:37 +08:00
` msg ` char ( 255 ) DEFAULT ' ' COMMENT ' 操作原因 ' ,
` operation_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 操作人员id ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` user_id ` ( ` user_id ` )
2021-03-16 14:48:48 +08:00
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 用户积分日志 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_user_integral_log`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_user_integral_log ` WRITE ;
/* !40000 ALTER TABLE `sxo_user_integral_log` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `sxo_user_integral_log` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_warehouse`
2021-02-23 12:26:26 +08:00
--
2021-01-14 14:01:25 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_warehouse ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_warehouse ` (
2020-07-08 19:47:19 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` name ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 名称 ' ,
` alias ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 别名 ' ,
` level ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 权重(数字越大权重越高) ' ,
` is_enable ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 1 ' COMMENT ' 是否启用( 0否, 1是) ' ,
` contacts_name ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 联系人姓名 ' ,
` contacts_tel ` char ( 15 ) NOT NULL DEFAULT ' ' COMMENT ' 联系电话 ' ,
` province ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 所在省 ' ,
` city ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 所在市 ' ,
` county ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 所在县/区 ' ,
` address ` char ( 80 ) NOT NULL DEFAULT ' ' COMMENT ' 详细地址 ' ,
2020-08-08 18:45:40 +08:00
` lng ` decimal ( 13 , 10 ) NOT NULL DEFAULT ' 0.0000000000 ' COMMENT ' 经度 ' ,
` lat ` decimal ( 13 , 10 ) NOT NULL DEFAULT ' 0.0000000000 ' COMMENT ' 纬度 ' ,
2020-07-08 19:47:19 +08:00
` is_default ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 是否默认( 0否, 1是) ' ,
2020-07-17 15:43:13 +08:00
` is_delete_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 是否删除( 0否, 大于0删除时间戳) ' ,
2020-07-08 19:47:19 +08:00
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
` upd_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 更新时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` name ` ( ` name ` ) ,
KEY ` level ` ( ` level ` ) ,
2020-07-17 15:43:13 +08:00
KEY ` is_enable ` ( ` is_enable ` ) ,
KEY ` is_default ` ( ` is_default ` ) ,
KEY ` is_delete_time ` ( ` is_delete_time ` )
2021-05-27 23:56:38 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 4 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 仓库 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_warehouse`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_warehouse ` WRITE ;
/* !40000 ALTER TABLE `sxo_warehouse` DISABLE KEYS */ ;
2021-04-11 23:37:24 +08:00
INSERT INTO ` sxo_warehouse ` VALUES ( 2 , ' 默认仓库 ' , ' 苏州仓 ' , 23 , 1 , ' 龚福祥 ' , ' 17666666655 ' , 9 , 155 , 1936 , ' 川沙新镇华川家园111号 ' , - 1 . 1732520000 , - 14 . 8172230000 , 1 , 0 , 1594207406 , 1602428921 ) , ( 3 , ' 上海仓库 ' , ' 上海浦东 ' , 0 , 1 , ' devil ' , ' 13222333333 ' , 9 , 155 , 1937 , ' 张江高科 ' , 121 . 5942780000 , 31 . 2079170000 , 0 , 0 , 1594953987 , 1606744797 ) ;
2021-04-07 14:17:35 +08:00
/* !40000 ALTER TABLE `sxo_warehouse` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_warehouse_goods`
2021-02-23 12:26:26 +08:00
--
2020-07-08 19:47:19 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_warehouse_goods ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_warehouse_goods ` (
2020-07-13 21:33:55 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` warehouse_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 仓库id ' ,
` goods_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 商品id ' ,
` is_enable ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 1 ' COMMENT ' 是否启用( 0否, 1是) ' ,
2020-07-16 22:34:56 +08:00
` inventory ` int ( 10 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 总库存 ' ,
2020-07-13 21:33:55 +08:00
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
` upd_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 更新时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` warehouse_id ` ( ` warehouse_id ` ) ,
KEY ` goods_id ` ( ` goods_id ` ) ,
2020-07-16 22:34:56 +08:00
KEY ` is_enable ` ( ` is_enable ` ) ,
KEY ` inventory ` ( ` inventory ` )
2021-05-27 10:30:20 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 22 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 仓库商品 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_warehouse_goods`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_warehouse_goods ` WRITE ;
/* !40000 ALTER TABLE `sxo_warehouse_goods` DISABLE KEYS */ ;
2021-05-27 10:30:20 +08:00
INSERT INTO ` sxo_warehouse_goods ` VALUES ( 1 , 2 , 12 , 1 , 3552 , 1618154141 , 1622044935 ) , ( 2 , 2 , 11 , 1 , 2666664 , 1618154141 , 1619434982 ) , ( 3 , 2 , 10 , 1 , 888888 , 1618154142 , 1619434982 ) , ( 4 , 2 , 9 , 1 , 7999992 , 1618154143 , 1619434982 ) , ( 5 , 2 , 8 , 1 , 888884 , 1618154143 , 1619435027 ) , ( 6 , 2 , 7 , 1 , 888888 , 1618154145 , 1619435027 ) , ( 14 , 2 , 4 , 1 , 888888 , 1618154285 , 1619434982 ) , ( 15 , 2 , 3 , 1 , 888888 , 1618154286 , 1619434982 ) , ( 16 , 2 , 2 , 1 , 7999992 , 1618154287 , 1619434982 ) , ( 17 , 2 , 1 , 1 , 888888 , 1618154287 , 1619434982 ) , ( 20 , 2 , 5 , 1 , 455 , 1622082320 , 1622082336 ) , ( 21 , 2 , 6 , 1 , 333 , 1622082321 , 1622082329 ) ;
2021-04-07 14:17:35 +08:00
/* !40000 ALTER TABLE `sxo_warehouse_goods` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
--
2021-04-07 14:17:35 +08:00
-- Table structure for table `sxo_warehouse_goods_spec`
2021-02-23 12:26:26 +08:00
--
2021-01-14 14:01:25 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_warehouse_goods_spec ` ;
2021-02-23 12:26:26 +08:00
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
2021-04-07 14:17:35 +08:00
CREATE TABLE ` sxo_warehouse_goods_spec ` (
2020-07-13 21:33:55 +08:00
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
2020-07-16 22:34:56 +08:00
` warehouse_goods_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 仓库商品id ' ,
2020-07-13 21:33:55 +08:00
` warehouse_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 仓库id ' ,
` goods_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 商品id ' ,
2020-07-16 22:34:56 +08:00
` md5_key ` char ( 32 ) NOT NULL DEFAULT ' ' COMMENT ' md5key值 ' ,
` spec ` text COMMENT ' 规格值 ' ,
2020-07-13 21:33:55 +08:00
` inventory ` int ( 10 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 库存 ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
PRIMARY KEY ( ` id ` ) ,
2020-07-16 22:34:56 +08:00
KEY ` warehouse_goods_id ` ( ` warehouse_goods_id ` ) ,
2020-07-13 21:33:55 +08:00
KEY ` warehouse_id ` ( ` warehouse_id ` ) ,
KEY ` goods_id ` ( ` goods_id ` ) ,
2020-07-16 22:34:56 +08:00
KEY ` md5_key ` ( ` md5_key ` ) ,
2020-07-13 21:33:55 +08:00
KEY ` inventory ` ( ` inventory ` )
2021-05-27 23:56:38 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 121 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 仓库商品规格 ' ;
2021-02-23 12:26:26 +08:00
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
2021-04-07 14:17:35 +08:00
-- Dumping data for table `sxo_warehouse_goods_spec`
2021-02-23 12:26:26 +08:00
--
2021-04-07 14:17:35 +08:00
LOCK TABLES ` sxo_warehouse_goods_spec ` WRITE ;
/* !40000 ALTER TABLE `sxo_warehouse_goods_spec` DISABLE KEYS */ ;
2021-05-27 10:30:20 +08:00
INSERT INTO ` sxo_warehouse_goods_spec ` VALUES ( 1 , 6 , 2 , 7 , ' c21f969b5f03d33d43e04f8f136e7682 ' , ' default ' , 888888 , 1618154175 ) , ( 3 , 4 , 2 , 9 , ' d15560adc3d2ddf952ec40d874566fc0 ' , ' [{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺码\",\"value\":\"S\"}] ' , 888888 , 1618154190 ) , ( 4 , 4 , 2 , 9 , ' 2767f06d6a715b3915ca3c5443efc170 ' , ' [{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺码\",\"value\":\"M\"}] ' , 888888 , 1618154190 ) , ( 5 , 4 , 2 , 9 , ' d0d686188b3e2b0b7ae12040fd508f03 ' , ' [{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺码\",\"value\":\"L\"}] ' , 888888 , 1618154190 ) , ( 6 , 4 , 2 , 9 , ' 910613b82f64796470c2243f8e306797 ' , ' [{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺码\",\"value\":\"XL\"}] ' , 888888 , 1618154190 ) , ( 7 , 4 , 2 , 9 , ' 4acc2580a89270113477b4b8466ecef9 ' , ' [{\"type\":\"颜色\",\"value\":\"粉色\"},{\"type\":\"尺码\",\"value\":\"S\"}] ' , 888888 , 1618154190 ) , ( 8 , 4 , 2 , 9 , ' b0935dae40102d2bcbd588fc50a6a118 ' , ' [{\"type\":\"颜色\",\"value\":\"粉色\"},{\"type\":\"尺码\",\"value\":\"M\"}] ' , 888888 , 1618154190 ) , ( 9 , 4 , 2 , 9 , ' 5b51b52dde87b3608c97ff80a2215275 ' , ' [{\"type\":\"颜色\",\"value\":\"粉色\"},{\"type\":\"尺码\",\"value\":\"L\"}] ' , 888888 , 1618154190 ) , ( 10 , 4 , 2 , 9 , ' 2f3924a3bf7c8491af2dad598b54764f ' , ' [{\"type\":\"颜色\",\"value\":\"黑色\"},{\"type\":\"尺码\",\"value\":\"S\"}] ' , 888888 , 1618154190 ) , ( 11 , 4 , 2 , 9 , ' 5f077e081d727adcb617a413f038d043 ' , ' [{\"type\":\"颜色\",\"value\":\"黑色\"},{\"type\":\"尺码\",\"value\":\"XL\"}] ' , 888888 , 1618154190 ) , ( 12 , 3 , 2 , 10 , ' c21f969b5f03d33d43e04f8f136e7682 ' , ' default ' , 888888 , 1618154224 ) , ( 13 , 2 , 2 , 11 , ' 69691c7bdcc3ce6d5d8a1361f22d04ac ' , ' [{\"type\":\"尺码\",\"value\":\"M\"}] ' , 888888 , 1618154235 ) , ( 14 , 2 , 2 , 11 , ' d20caec3b48a1eef164cb4ca81ba2587 ' , ' [{\"type\":\"尺码\",\"value\":\"L\"}] ' , 888888 , 1618154235 ) , ( 15 , 2 , 2 , 11 , ' a7a4ccc5e1a068d87f4965e014329201 ' , ' [{\"type\":\"尺码\",\"value\":\"XL\"}] ' , 888888 , 1618154235 ) , ( 20 , 17 , 2 , 1 , ' c21f969b5f03d33d43e04f8f136e7682 ' , ' default ' , 888888 , 1618154298 ) , ( 21 , 16 , 2 , 2 , ' 674eee93efe8de506e9f7f776d09f1e5 ' , ' [{\"type\":\"套餐\",\"value\":\"套餐一\"},{\"type\":\"颜色\",\"value\":\"金色\"},{\"type\":\"容量\",\"value\":\"32G\"}] ' , 888888 , 1618154305 ) , ( 22 , 16 , 2 , 2 , ' 40c2afb68f3cc84cc305bce8ab8d5f47 ' , ' [{\"type\":\"套餐\",\"value\":\"套餐一\"},{\"type\":\"颜色\",\"value\":\"金色\"},{\"type\":\"容量\",\"value\":\"64G\"}] ' , 888888 , 1618154305 ) , ( 23 , 16 , 2 , 2 , ' 7ffbb29c5dfb16f6c6b32034d22e3fef ' , ' [{\"type\":\"套餐\",\"value\":\"套餐一\"},{\"type\":\"颜色\",\"value\":\"金色\"},{\"type\":\"容量\",\"value\":\"128G\"}] ' , 888888 , 1618154305 ) , ( 24 , 16 , 2 , 2 , ' ca455d91ca7da72892f87745a04500bc ' , ' [{\"type\":\"套餐\",\"value\":\"套餐一\"},{\"type\":\"颜色\",\"value\":\"银色\"},{\"type\":\"容量\",\"value\":\"32G\"}] ' , 888888 , 1618154305 ) , ( 25 , 16 , 2 , 2 , ' 107e3e2e6320d811564c2704b034d8fa ' , ' [{\"type\":\"套餐\",\"value\":\"套餐一\"},{\"type\":\"颜色\",\"value\":\"银色\"},{\"type\":\"容量\",\"value\":\"64G\"}] ' , 888888 , 1618154305 ) , ( 26 , 16 , 2 , 2 , ' a7cf0be020f452a8b7d8777e6bbfa041 ' , ' [{\"type\":\"套餐\",\"value\":\"套餐一\"},{\"type\":\"颜色\",\"value\":\"银色\"},{\"type\":\"容量\",\"value\":\"128G\"}] ' , 888888 , 1618154305 ) , ( 27 , 16 , 2 , 2 , ' 224734fbe895debc3c7999a2f157f05d ' , ' [{\"type\":\"套餐\",\"value\":\"套餐二\"},{\"type\":\"颜色\",\"value\":\"金色\"},{\"type\":\"容量\",\"value\":\"32G\"}] ' , 888888 , 1618154305 ) , ( 28 , 16 , 2 , 2 , ' 35c55bca127aa2f3c77fecfdd802c18f ' , ' [{\"type\":\"套餐\",\"value\":\"套餐二\"},{\"type\":\"颜色\",\"value\":\"金色\"},{\"type\":\"容量\",\"value\":\"128G\"}] ' , 888888 , 1618154305 ) , ( 29 , 16 , 2 , 2 , ' 3d09a0554e685e5de759819564ca592b ' , ' [{\"type\":\"套餐\",\"value\":\"套餐二\"},{\"type\":\"颜色\",\"value\":\"银色\"},{\"type\":\"容量\",\"value\":\"64G\"}] ' , 888888 , 1618154305 ) , ( 30 , 15 , 2 , 3 , ' c21f969b5f03d33d43e04f8f136e7682 ' , ' default ' , 888888 , 1618154311 ) , ( 31 , 14 , 2 , 4 , ' c21f969b5f03d33d43e04f8f136e7682 ' , ' default ' , 888888 , 1618154316 ) , ( 47 , 5 , 2 , 8 , ' c21f969b5f03d33d43e04f8f136e7682 ' , ' [] ' , 888884 , 1618468361 ) , ( 111 , 1 , 2 , 12 , ' 4f40eff650a2fc7768605aa9c16ef67d ' , ' [{\"type\":\"颜色\",\"value\":\"粉色\"},{\"type\":\"尺码\",\"value\":\"S+S\"}] ' , 888 , 1622044935 ) , ( 112 , 1 , 2 , 12 , ' f
2021-04-07 14:17:35 +08:00
/* !40000 ALTER TABLE `sxo_warehouse_goods_spec` ENABLE KEYS */ ;
2021-02-23 12:26:26 +08:00
UNLOCK TABLES ;
/* !40103 SET TIME_ZONE=@OLD_TIME_ZONE */ ;
/* !40101 SET SQL_MODE=@OLD_SQL_MODE */ ;
/* !40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */ ;
/* !40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */ ;
/* !40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */ ;
/* !40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */ ;
/* !40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */ ;
/* !40111 SET SQL_NOTES=@OLD_SQL_NOTES */ ;
2021-05-27 23:56:38 +08:00
-- Dump completed on 2021-05-27 23:55:52