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 */ ;
INSERT INTO ` sxo_admin ` VALUES ( 1 , ' admin ' , ' 0e54ffaecf777fa470062d8d82892b5d ' , ' 057807 ' , ' ' , ' s@zz.ge ' , 0 , 0 , 693 , 1616047324 , 1 , 1481350313 , 1616047300 ) , ( 4 , ' shopxo ' , ' c547c7fdfc244cef6747b306d390cc12 ' , ' 898429 ' , ' ' , ' ' , 0 , 0 , 9 , 1614781978 , 13 , 1580807200 , 1616047308 ) ;
/* !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-03-16 10:34:52 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 610 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 */ ;
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
/* !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 ' ,
2021-04-07 14:17:35 +08:00
` store_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 应用商店id ' ,
` store_user_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 应用商店用户id ' ,
2018-12-28 18:58:37 +08:00
` 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-04-07 14:17:35 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 9 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 */ ;
INSERT INTO ` sxo_brand ` VALUES ( 1 , 0 , 0 , ' /static/upload/images/brand/2019/02/25/1551064260180298.jpeg ' , ' 强生 ' , ' 强生公司一直注重在中国的发展,强生(中国)有限公司1992年1月在上海闵行经济技术开发区注册成立,注册资本超过一亿美元,是强生公司在中国大陆设立的首家独资企业。 ' , ' https://www.johnsonsbaby.com.cn/ ' , 1 , 0 , ' ' , ' ' , ' ' , 1551064263 , 1610346871 ) , ( 2 , 0 , 0 , ' /static/upload/images/brand/2019/02/25/1551064277207182.jpeg ' , ' 佳洁士 ' , ' 佳洁士是享誉全球的口腔护理品牌,旗下有牙膏,牙刷,牙贴和漱口水等多种产品。上佳洁士官网,了解更多佳洁士产品和口腔保健的资讯。 ' , ' https://www.crest.com.cn/ ' , 1 , 0 , ' ' , ' ' , ' ' , 1551064299 , 1610346851 ) , ( 3 , 0 , 0 , ' ' , ' 阿迪达斯 ' , ' 阿迪达斯一般指adidas。adidas( 阿迪达斯) 创办于1949年, 是德国运动用品制造商阿迪达斯AG成员公司。以其创办人阿道夫·阿迪·达斯勒( Adolf Adi Dassler) 。 ' , ' https://www.adidas.com.cn/ ' , 1 , 0 , ' ' , ' ' , ' ' , 1610019864 , 1610351690 ) , ( 7 , 0 , 0 , ' /static/upload/images/plugins_store/user_store/1/2021/02/09/1612864738940468.png ' , ' ShopXO官方 ' , ' 租房子佛挡杀佛 ' , ' ' , 1 , 0 , ' ' , ' ' , ' ' , 1612764752 , 1613407547 ) , ( 8 , 1 , 1 , ' /static/upload/images/plugins_store/user_store/1/2021/02/09/1612864738940468.png ' , ' ShopXO官方 ' , ' 我们专注提供专业的软件产品和技术。为合作伙伴提供安全可靠的软件产品与解决方案,共同帮助终端用户实现业务创新、快速发展。 ' , ' ' , 1 , 0 , ' ' , ' ' , ' ' , 1616225671 , 0 ) ;
/* !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-03-16 10:34:52 +08:00
) ENGINE = MyISAM AUTO_INCREMENT = 217 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 */ ;
INSERT INTO ` sxo_config ` VALUES ( 15 , ' 15 ' , ' 分页数量 ' , ' 分页显示数量 ' , ' 分页不能超过3位数 ' , ' admin ' , ' common_page_size ' , 1616216144 ) , ( 59 , ' 1 ' , ' 扣减库存规则 ' , ' 需扣减库存开启方可有效,默认订单支付成功 ' , ' ' , ' common ' , ' common_deduction_inventory_rules ' , 1615861332 ) , ( 60 , ' 1 ' , ' 是否扣减库存 ' , ' 建议不要随意修改,以免造成库存数据错乱,关闭不影响库存回滚 ' , ' ' , ' common ' , ' common_is_deduction_inventory ' , 1615861332 ) , ( 11 , ' 0 ' , ' Excel编码 ' , ' excel模块编码选择 ' , ' 请选择编码 ' , ' admin ' , ' admin_excel_charset ' , 1616216144 ) , ( 16 , ' ShopXO企业级B2C电商系统提供商 - 演示站点 ' , ' 站点标题 ' , ' 浏览器标题, 一般不超过80个字符 ' , ' 站点标题不能为空 ' , ' home ' , ' home_seo_site_title ' , 1616044727 ) , ( 17 , ' 商城系统,开源电商系统,免费电商系统,PHP电商系统,商城系统,B2C电商系统,B2B2C电商系统 ' , ' 站点关键字 ' , ' 一般不超过100个字符, 多个关键字以半圆角逗号 [ , ] 隔开 ' , ' 站点关键字不能为空 ' , ' home ' , ' home_seo_site_keywords ' , 1616044727 ) , ( 18 , ' ShopXO是国内领先的商城系统提供商, 为企业提供php商城系统、微信商城、小程序。 ' , ' 站点描述 ' , ' 站点描述, 一般不超过200个字符 ' , ' 站点描述不能为空 ' , ' home ' , ' home_seo_site_description ' , 1616044727 ) , ( 19 , ' 沪ICP备20014383号 ' , ' ICP证书号 ' , ' ICP域名备案号 ' , ' ' , ' home ' , ' home_site_icp ' , 1613904867 ) , ( 20 , ' ' , ' 底部统计代码 ' , ' 支持html, 可用于添加流量统计代码 ' , ' ' , ' home ' , ' home_statistics_code ' , 0 ) , ( 21 , ' 1 ' , ' 站点状态 ' , ' 可暂时将站点关闭,其他人无法访问,但不影响管理员访问后台 ' , ' 请选择站点状态 ' , ' home ' , ' home_site_state ' , 1613904867 ) , ( 22 , ' 升级中... ' , ' 关闭原因 ' , ' 支持html, 当网站处于关闭状态时, 关闭原因将显示在前台 ' , ' ' , ' home ' , ' home_site_close_reason ' , 1613904867 ) , ( 23 , ' Asia/Shanghai ' , ' 默认时区 ' , ' 默认 亚洲/上海 [标准时+8] ' , ' 请选择默认时区 ' , ' common ' , ' common_timezone ' , 1613904867 ) , ( 24 , ' ' , ' 底部代码 ' , ' 支持html, 可用于添加流量统计代码 ' , ' ' , ' home ' , ' home_footer_info ' , 1613904867 ) , ( 28 , ' ShopXO ' , ' 站点名称 ' , ' ' , ' 站点名称不能为空 ' , ' home ' , ' home_site_name ' , 1613904867 ) , ( 29 , ' 0 ' , ' 链接模式 ' , ' 非兼容模式请确保配置好伪静态规则 ' , ' 请选择url模式 ' , ' home ' , ' home_seo_url_model ' , 1616044727 ) , ( 25 , ' 20480000 ' , ' 图片最大限制 ' , ' 单位B [上传图片还受到服务器空间PHP配置最大上传 20M 限制] ' , ' 请填写图片上传最大限制 ' , ' home ' , ' home_max_limit_image ' , 1603762525 ) , ( 26 , ' 51200000 ' , ' 文件最大限制 ' , ' 单位B [上传文件还受到服务器空间PHP配置最大上传 20M 限制] ' , ' 请填写文件上传最大限制 ' , ' home ' , ' home_max_limit_file ' , 1603762525 ) , ( 27 , ' 102400000 ' , ' 视频最大限制 ' , ' 单位B [上传视频还受到服务器空间PHP配置最大上传 20M 限制] ' , ' 请填写视频上传最大限制 ' , ' home ' , ' home_max_limit_video ' , 1603762525 ) , ( 30 , ' html ' , ' 伪静态后缀 ' , ' 链接后面的后缀别名,默认 [ html ] ' , ' 小写字母, 不能超过8个字符 ' , ' home ' , ' home_seo_url_html_suffix ' , 1616044727 ) , ( 31 , ' 0 ' , ' 用户注册开启审核 ' , ' 默认关闭,开启后用户注册需要审核通过方可登录 ' , ' 请选择用户注册开启审核 ' , ' common ' , ' common_register_is_enable_audit ' , 1614871153 ) , ( 32 , ' /static/upload/images/common/2019/01/14/1547448748316693.png ' , ' 手机端logo ' , ' 支持 [jpg, png, gif], 建议220x66px ' , ' 请上传手机端网站logo ' , ' home ' , ' home_site_logo_wap ' , 1613904867 ) , ( 33 , ' /static/upload/images/common/2019/01/14/1547448705165706.png ' , ' 电脑端logo ' , ' 支持 [jpg, png, gif], 建议220x60px ' , ' 请上传电脑端网站logo ' , ' home ' , ' home_site_logo ' , 1613904867 ) , ( 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 ' , 1613904867 ) , ( 36 , ' sms,email,username ' , ' 注册方式 ' , ' 未选择、前端站点将无法注册,可选择 [
/* !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 ' ,
2021-04-07 14:17:35 +08:00
` store_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 应用商店id ' ,
` store_user_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 应用商店用户id ' ,
` store_goods_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 应用商店商品id ' ,
` store_goods_type ` tinyint ( 2 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 商品类型( 0功能插件、1支付插件、2web端主题、3小程序主题、4APP主题) ' ,
` store_goods_deliver_type ` tinyint ( 3 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 交付方式( 0在线安装、1人工交付) ' ,
2018-12-28 18:58:37 +08:00
` 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 ' 虚拟商品展示数据 ' ,
2021-04-07 14:17:35 +08:00
` plugins_membershiplevelvip_price_extends ` mediumtext 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-07 14:17:35 +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_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 */ ;
INSERT INTO ` sxo_goods ` VALUES ( 1 , 0 , 0 , 0 , 0 , 0 , 1 , - 1 , ' MIUI/小米 小米手机4 小米4代 MI4智能4G手机包邮 黑色 D-LTE( 4G) /TD-SCD ' , ' ' , ' ' , ' ' , 0 , 8 , ' 步 ' , ' /static/upload/images/goods/2019/01/14/1547450781101144.jpg ' , ' 3200.00 ' , 3200 . 00 , 3200 . 00 , ' 2100.00 ' , 2100 . 00 , 2100 . 00 , 10 , 1 , 0 , 1 , 1 , ' <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 , 817 , ' ' , 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> ' , NULL , ' ' , ' ' , ' ' , 0 , 1547450921 , 1605345053 ) , ( 2 , 0 , 0 , 0 , 0 , 0 , 2 , - 1 , ' 苹果( Apple) iPhone 6 Plus (A1524)移动联通电信4G手机 金色 16G ' , ' ' , ' ' , ' iPhone 6 Plus ' , 0 , 1994 , ' 步 ' , ' /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 , 1939 , ' /static/upload/video/goods/2019/01/14/1547458876723311.mp4 ' , 1 , ' ' , ' ' , NULL , ' ' , ' ' , ' ' , 0 , 1547451624 , 1609742277 ) , ( 3 , 0 , 0 , 0 , 0 , 0 , 2 , - 1 , ' Samsung/三星 SM-G8508S GALAXY Alpha四核智能手机 新品 闪耀白 ' , ' ' , ' ' , ' ' , 0 , 332 , ' 步 ' , ' /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 , 325 , ' ' , 0 , ' ' , ' ' , NULL , ' ' , ' ' , ' ' , 0 , 1547452007 , 1606704142 ) , ( 4 , 0 , 0 , 0 , 0 , 0 , 1 , - 1 , ' Huawei/华为 H60-L01 荣耀6 移动4G版智能手机 安卓 ' , ' ' , ' ' , ' ' , 0 , 0 , ' 步 ' , ' /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 , 312 , ' ' , 0 , ' ' , ' ' , NULL , ' ' , ' ' , ' ' , 0 , 1547452553 , 1613732942 ) , ( 5 , 0 , 0 , 0 , 0 , 0 , 2 , - 1 , ' Meizu/魅族 MX4 Pro移动版 八核大屏智能手机 黑色 16G ' , ' ' , ' ' , ' ' , 0 , 554 , ' 步 ' , ' /static/upload/images/goods/2019/01/14/1547452714324599.jpg ' , ' 3200.00 ' , 3200 . 00 , 32
/* !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-04-07 14:17:35 +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_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 */ ;
INSERT INTO ` sxo_goods_browse ` VALUES ( 1 , 19 , 1 , 1615987292 , 1615987346 ) , ( 2 , 18 , 1 , 1615987301 , 0 ) , ( 3 , 8 , 1 , 1616053481 , 1616947475 ) , ( 4 , 13 , 1 , 1616226350 , 1616949037 ) ;
/* !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-04-07 14:17:35 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 1038 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 */ ;
INSERT INTO ` sxo_goods_category_join ` VALUES ( 10 , 5 , 68 , 1547452798 ) , ( 11 , 5 , 69 , 1547452798 ) , ( 79 , 7 , 58 , 1554485498 ) , ( 80 , 7 , 194 , 1554485498 ) , ( 81 , 7 , 196 , 1554485498 ) , ( 299 , 1 , 68 , 1574168666 ) , ( 300 , 1 , 304 , 1574168666 ) , ( 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 ) , ( 768 , 8 , 58 , 1609744193 ) , ( 769 , 8 , 195 , 1609744193 ) , ( 770 , 8 , 198 , 1609744193 ) , ( 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 ) , ( 973 , 14 , 68 , 1611717129 ) , ( 974 , 15 , 71 , 1611717496 ) , ( 979 , 16 , 58 , 1611731836 ) , ( 980 , 17 , 68 , 1612336141 ) , ( 1013 , 20 , 69 , 1613830281 ) , ( 1023 , 18 , 58 , 1614961172 ) , ( 1024 , 18 , 70 , 1614961172 ) , ( 1026 , 19 , 58 , 1614961233 ) , ( 1033 , 12 , 53 , 1616225714 ) , ( 1034 , 12 , 611 , 1616225714 ) , ( 1035 , 12 , 612 , 1616225714 ) , ( 1037 , 13 , 1 , 1616683740 ) ;
/* !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-04-07 14:17:35 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 1095 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 */ ;
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 ) , ( 1076 , 8 , ' /static/upload/images/goods/2019/01/14/1547454192301566.jpg ' , ' ' , 0 , 1609744193 ) , ( 1077 , 8 , ' /static/upload/images/goods/2019/01/14/1547454192448116.jpg ' , ' ' , 1 , 1609744193 ) , ( 1078 , 8 , ' /static/upload/images/goods/2019/01/14/1547454192474638.jpg ' , ' ' , 2 , 1609744193 ) , ( 1079 , 11 , ' /static/upload/images/goods/2019/01/14/1547455601314107.jpg ' , ' 【品牌】欧单 学媛风 猫咪良品\n\n【吊牌】xueyuanf
/* !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-04-07 14:17:35 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 643 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 */ ;
INSERT INTO ` sxo_goods_params ` VALUES ( 633 , 12 , 0 , ' 流行元素/工艺 ' , ' 树脂固色 ' , 1616225714 ) , ( 634 , 12 , 2 , ' 款式 ' , ' 长款连衣裙 ' , 1616225714 ) , ( 635 , 12 , 2 , ' 适用年龄 ' , ' 30-34周岁 ' , 1616225714 ) , ( 636 , 12 , 1 , ' 图案 ' , ' 纯色 ' , 1616225714 ) , ( 637 , 12 , 1 , ' 袖长 ' , ' 短袖 ' , 1616225714 ) , ( 638 , 12 , 1 , ' 风格 ' , ' 复古风 ' , 1616225714 ) , ( 639 , 12 , 1 , ' 衣门襟 ' , ' 套头 ' , 1616225714 ) , ( 640 , 12 , 1 , ' 裙型 ' , ' 大摆型 ' , 1616225714 ) , ( 641 , 12 , 1 , ' 组合形式 ' , ' 单件 ' , 1616225714 ) , ( 642 , 12 , 0 , ' 款式类别 ' , ' 图案花纹 ' , 1616225714 ) ;
/* !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-04-07 14:17:35 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 854 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 */ ;
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 ) , ( 837 , 8 , ' /static/upload/images/goods/2019/01/14/1547454145355962.jpg ' , 1 , 0 , 1609744193 ) , ( 838 , 8 , ' /static/upload/images/goods/2019/01/14/1547454172213779.jpg ' , 1 , 1 , 1609744193 ) , ( 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 ) , ( 849 , 12 , ' /static/upload/images/goods/2019/01/14/1547455890402147.jpg ' , 1 , 0 , 1616225714 ) , ( 850 , 12 , ' /static/upload/images/goods/2019/01/14/1547455907256518.jpg ' , 1 , 1 , 1616225714 ) , ( 851 , 12 , ' /static/upload/images/goods/2019/01/14/1547455907486857.jpg ' , 1 , 2 , 1616225714 ) , ( 853 , 13 , ' /static/upload/images/plugins_store/user_goods/1/2021/01/27/1611731827223665.png ' , 1 , 0 , 1616683740 ) ;
/* !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-04-07 14:17:35 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 1420 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 */ ;
INSERT INTO ` sxo_goods_spec_base ` VALUES ( 23 , 5 , 2499 . 00 , 554 , 0 . 00 , ' ' , ' ' , 3200 . 00 , NULL , 1547452798 ) , ( 155 , 7 , 168 . 00 , 217 , 0 . 00 , ' ' , ' ' , 760 . 00 , NULL , 1554485498 ) , ( 626 , 1 , 2100 . 00 , 8 , 0 . 00 , ' ' , ' ' , 3200 . 00 , NULL , 1574168666 ) , ( 909 , 6 , 2998 . 90 , 664 , 0 . 00 , ' ' , ' ' , 3200 . 00 , ' {\"plugins_distribution_rules_1\":\"r|10\\nr|10\\nr|10\",\"plugins_distribution_down_rules_1\":\"\"} ' , 1594957734 ) , ( 1072 , 9 , 120 . 00 , 105 , 17 . 00 , ' ' , ' ' , 160 . 00 , ' {\"plugins_distribution_rules_1\":\"r|5\",\"plugins_distribution_down_rules_1\":\"\"} ' , 1599803472 ) , ( 1073 , 9 , 120 . 00 , 102 , 17 . 00 , ' ' , ' ' , 160 . 00 , NULL , 1599803472 ) , ( 1074 , 9 , 120 . 00 , 104 , 17 . 00 , ' ' , ' ' , 160 . 00 , NULL , 1599803472 ) , ( 1075 , 9 , 120 . 00 , 105 , 17 . 00 , ' ' , ' ' , 160 . 00 , NULL , 1599803472 ) , ( 1076 , 9 , 136 . 00 , 105 , 17 . 00 , ' ' , ' ' , 188 . 00 , NULL , 1599803472 ) , ( 1077 , 9 , 136 . 00 , 100 , 17 . 00 , ' ' , ' ' , 188 . 00 , NULL , 1599803472 ) , ( 1078 , 9 , 136 . 00 , 101 , 17 . 00 , ' ' , ' ' , 188 . 00 , NULL , 1599803472 ) , ( 1079 , 9 , 158 . 00 , 105 , 17 . 00 , ' ' , ' ' , 216 . 00 , NULL , 1599803472 ) , ( 1080 , 9 , 158 . 00 , 104 , 17 . 00 , ' ' , ' ' , 216 . 00 , NULL , 1599803472 ) , ( 1081 , 3 , 3888 . 00 , 332 , 0 . 00 , ' ' , ' ' , 6866 . 00 , NULL , 1600151429 ) , ( 1082 , 4 , 1999 . 00 , 0 , 0 . 00 , ' ' , ' ' , 2300 . 00 , NULL , 1600151450 ) , ( 1320 , 10 , 228 . 00 , 8 , 0 . 00 , ' ' , ' ' , 568 . 00 , NULL , 1606792889 ) , ( 1393 , 2 , 6050 . 00 , 221 , 12 . 00 , ' ' , ' ' , 6800 . 00 , ' {\"plugins_distribution_rules_1\":\"r|5\",\"plugins_distribution_down_rules_1\":\"\"} ' , 1609742103 ) , ( 1394 , 2 , 6600 . 00 , 222 , 21 . 00 , ' ' , ' ' , 7200 . 00 , NULL , 1609742104 ) , ( 1395 , 2 , 6800 . 00 , 222 , 22 . 00 , ' ' , ' ' , 7600 . 00 , NULL , 1609742104 ) , ( 1396 , 2 , 6050 . 00 , 222 , 23 . 00 , ' ' , ' ' , 6800 . 00 , NULL , 1609742104 ) , ( 1397 , 2 , 6600 . 00 , 222 , 12 . 00 , ' ' , ' ' , 7200 . 00 , NULL , 1609742104 ) , ( 1398 , 2 , 6800 . 00 , 222 , 32 . 00 , ' ' , ' ' , 7600 . 00 , NULL , 1609742104 ) , ( 1399 , 2 , 4500 . 00 , 221 , 23 . 00 , ' ' , ' ' , 6800 . 00 , NULL , 1609742104 ) , ( 1400 , 2 , 4800 . 00 , 222 , 32 . 00 , ' ' , ' ' , 6600 . 00 , NULL , 1609742104 ) , ( 1401 , 2 , 5500 . 00 , 220 , 11 . 00 , ' ' , ' ' , 6000 . 00 , NULL , 1609742104 ) , ( 1402 , 8 , 356 . 00 , 2 , 0 . 00 , ' ' , ' ' , 0 . 00 , ' {\"plugins_membershiplevelvip_price_1\":\"100\"} ' , 1609744193 ) , ( 1403 , 11 , 258 . 00 , 677 , 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 , 688 , 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 , 33 , 0 . 00 , ' ' , ' ' , 422 . 00 , ' {\"plugins_distribution_rules_20191202164330784159\":\"r|8\",\"plugins_distribution_rules_20191204113948916981\":\"\"} ' , 1610109196 ) , ( 1414 , 12 , 0 . 10 , 0 , 0 . 00 , ' ' , ' ' , 0 . 00 , ' {\"plugins_membershiplevelvip_price_1\":\"11\",\"plugins_membershiplevelvip_price_2\":\"22\"} ' , 1616225714 ) , ( 1415 , 12 , 0 . 10 , 20 , 0 . 00 , ' ' , ' ' , 0 . 00 , NULL , 1616225714 ) , ( 1416 , 12 , 0 . 10 , 20 , 0 . 00 , ' ' , ' ' , 0 . 00 , NULL , 1616225714 ) , ( 1417 , 12 , 0 . 10 , 20 , 0 . 00 , ' ' , ' ' , 0 . 00 , NULL , 1616225714 ) , ( 1419 , 13 , 1 . 00 , 1105 , 0 . 00 , ' ' , ' ' , 0 . 00 , NULL , 1616683740 ) ;
/* !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-04-07 14:17:35 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 462 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 */ ;
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 ) , ( 460 , 12 , ' [{\"name\":\"粉色\",\"images\":\"\"},{\"name\":\"白色\",\"images\":\"\"}] ' , ' 颜色 ' , 1616225714 ) , ( 461 , 12 , ' [{\"name\":\"S+S\",\"images\":\"\"},{\"name\":\"M+M\",\"images\":\"\"}] ' , ' 尺码 ' , 1616225714 ) ;
/* !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-03-18 13:22:26 +08:00
KEY ` goods_spec_base_id ` ( ` goods_spec_base_id ` ) ,
KEY ` value ` ( ` value ` )
2021-04-07 14:17:35 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 2777 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 */ ;
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 ) , ( 2769 , 12 , 1414 , ' 粉色 ' , 1616225714 ) , ( 2770 , 12 , 1414 , ' S+S ' , 1616225714 ) , ( 2771 , 12 , 1415 , ' 粉色 ' , 1616225714 ) , ( 2772 , 12 , 1415 , ' M+M ' , 1616225714 ) , ( 2773 , 12 , 1416 , ' 白色 ' , 1616225714 ) , ( 2774 , 12 , 1416 , ' S+S ' , 1616225714 ) , ( 2775 , 12 , 1417 , ' 白色 ' , 1616225714 ) , ( 2776 , 12 , 1417 , ' M+M ' , 1616225714 ) ;
/* !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-07 14:17:35 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 21 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 */ ;
INSERT INTO ` sxo_message ` VALUES ( 1 , 1 , ' 订单支付 ' , ' 订单支付成功, 金额356元 ' , 1 , ' 订单 ' , 0 , 0 , 0 , 0 , 1616056637 ) , ( 2 , 1 , ' 应用商店收益新增 ' , ' qqqqqq用户下单1元, 预计收益0.7元 ' , 1 , ' 应用商店 ' , 0 , 0 , 0 , 0 , 1616226931 ) , ( 3 , 1 , ' 订单支付 ' , ' 订单支付成功, 金额1元 ' , 3 , ' 订单 ' , 0 , 0 , 0 , 0 , 1616226952 ) , ( 4 , 1 , ' 应用商店收益新增 ' , ' qqqqqq用户下单1元, 预计收益0.7元 ' , 2 , ' 应用商店 ' , 0 , 0 , 0 , 0 , 1616227036 ) , ( 5 , 1 , ' 订单支付 ' , ' 订单支付成功, 金额1元 ' , 4 , ' 订单 ' , 0 , 0 , 0 , 0 , 1616227043 ) , ( 6 , 1 , ' 应用商店收益新增 ' , ' qqqqqq用户下单1元, 预计收益0.7元 ' , 3 , ' 应用商店 ' , 0 , 0 , 0 , 0 , 1616227139 ) , ( 10 , 1 , ' 订单支付 ' , ' 订单支付成功, 金额1元 ' , 5 , ' 订单 ' , 0 , 0 , 0 , 0 , 1616227276 ) , ( 11 , 1 , ' 应用商店收益新增 ' , ' qqqqqq用户下单1元, 预计收益0.7元 ' , 4 , ' 应用商店 ' , 0 , 0 , 0 , 0 , 1616227312 ) , ( 14 , 1 , ' 订单支付 ' , ' 订单支付成功, 金额1元 ' , 6 , ' 订单 ' , 0 , 0 , 0 , 0 , 1616227355 ) , ( 15 , 1 , ' 订单发货 ' , ' 订单已发货 ' , 6 , ' 订单 ' , 0 , 0 , 0 , 0 , 1616249871 ) , ( 16 , 1 , ' 订单收货 ' , ' 订单收货成功 ' , 6 , ' 订单 ' , 0 , 0 , 0 , 0 , 1616249881 ) , ( 17 , 1 , ' 应用商店收益新增 ' , ' qqqqqq用户下单1元, 预计收益0.7元 ' , 5 , ' 应用商店 ' , 0 , 0 , 0 , 0 , 1616683656 ) , ( 18 , 1 , ' 订单支付 ' , ' 订单支付成功, 金额1元 ' , 7 , ' 订单 ' , 0 , 0 , 0 , 0 , 1616683668 ) , ( 19 , 1 , ' 应用商店收益新增 ' , ' qqqqqq用户下单1元, 预计收益0.7元 ' , 6 , ' 应用商店 ' , 0 , 0 , 0 , 0 , 1616948806 ) , ( 20 , 1 , ' 订单支付 ' , ' 订单支付成功, 金额1元 ' , 8 , ' 订单 ' , 0 , 0 , 0 , 0 , 1616948814 ) ;
/* !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 ' ,
2021-04-07 14:17:35 +08:00
` store_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 应用商店id ' ,
` store_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删除时间) ' ,
2021-04-07 14:17:35 +08:00
` store_is_delete_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 商店是否已删除( 0否, 大于0删除时间) ' ,
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 ` ) ,
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-07 14:17:35 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 9 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 */ ;
INSERT INTO ` sxo_order ` VALUES ( 1 , ' 20210318154649978637 ' , 1 , 0 , 0 , 4 , ' ' , 0 , ' ' , 1 , 2 , 1 , ' ' , 1 , 0 . 00 , 0 . 00 , 356 . 00 , 356 . 00 , 356 . 00 , 0 . 00 , 0 , ' pc ' , 2 , 1 , 1616056637 , 1616053609 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 1616053609 , 1616056637 ) , ( 2 , ' 20210318171605635366 ' , 1 , 0 , 0 , 4 , ' ' , 0 , ' ' , 1 , 1 , 0 , ' ' , 1 , 0 . 00 , 0 . 00 , 356 . 00 , 356 . 00 , 0 . 00 , 0 . 00 , 0 , ' pc ' , 2 , 1 , 0 , 1616058965 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 1616058965 , 0 ) , ( 3 , ' 20210320155531378127 ' , 1 , 1 , 1 , 11 , ' ' , 0 , ' ' , 1 , 2 , 1 , ' ' , 1 , 0 . 00 , 0 . 00 , 1 . 00 , 1 . 00 , 1 . 00 , 0 . 00 , 0 , ' pc ' , 2 , 1 , 1616226952 , 1616226931 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 1616226931 , 1616226952 ) , ( 4 , ' 20210320155716655960 ' , 1 , 1 , 1 , 11 , ' ' , 0 , ' ' , 1 , 2 , 1 , ' ' , 1 , 0 . 00 , 0 . 00 , 1 . 00 , 1 . 00 , 1 . 00 , 0 . 00 , 0 , ' pc ' , 2 , 1 , 1616227043 , 1616227036 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 1616227036 , 1616227043 ) , ( 5 , ' 20210320155859257808 ' , 1 , 1 , 1 , 11 , ' ' , 0 , ' ' , 1 , 2 , 1 , ' ' , 1 , 0 . 00 , 0 . 00 , 1 . 00 , 1 . 00 , 1 . 00 , 0 . 00 , 0 , ' pc ' , 2 , 1 , 1616227276 , 1616227139 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 1616227139 , 1616227276 ) , ( 6 , ' 20210320160152853518 ' , 1 , 1 , 1 , 11 , ' ' , 0 , ' ' , 1 , 4 , 1 , ' ' , 1 , 0 . 00 , 0 . 00 , 1 . 00 , 1 . 00 , 1 . 00 , 0 . 00 , 0 , ' pc ' , 2 , 1 , 1616227355 , 1616227312 , 1616249871 , 0 , 1616249881 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 1616227312 , 1616249881 ) , ( 7 , ' 20210325224736170598 ' , 1 , 1 , 1 , 11 , ' ' , 0 , ' ' , 1 , 2 , 1 , ' ' , 1 , 0 . 00 , 0 . 00 , 1 . 00 , 1 . 00 , 1 . 00 , 0 . 00 , 0 , ' pc ' , 2 , 1 , 1616683668 , 1616683656 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 1616683656 , 1616683668 ) , ( 8 , ' 20210329002646938023 ' , 1 , 1 , 1 , 11 , ' ' , 0 , ' ' , 1 , 2 , 1 , ' ' , 1 , 0 . 00 , 0 . 00 , 1 . 00 , 1 . 00 , 1 . 00 , 0 . 00 , 0 , ' pc ' , 2 , 1 , 1616948814 , 1616948806 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 1616948806 , 1616948814 ) ;
/* !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-07 14:17:35 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 9 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 */ ;
INSERT INTO ` sxo_order_address ` VALUES ( 1 , 1 , 1 , 0 , ' 总部 ' , ' devil ' , ' 13222333333 ' , 9 , 155 , 1937 , ' 张江高科 ' , ' 上海市 ' , ' 浦东新区 ' , ' 张江镇 ' , 121 . 5942780000 , 31 . 2079170000 , ' ' , ' ' , ' ' , ' ' , 1616053609 , 0 ) , ( 2 , 2 , 1 , 1 , ' ' , ' sky ' , ' 021-88888888 ' , 9 , 155 , 1936 , ' 川沙地铁站 ' , ' 上海市 ' , ' 浦东新区 ' , ' 川沙新镇 ' , 121 . 6990770000 , 31 . 2014090000 , ' ' , ' ' , ' ' , ' ' , 1616058965 , 0 ) , ( 3 , 3 , 1 , 1 , ' ' , ' sky ' , ' 021-88888888 ' , 9 , 155 , 1936 , ' 川沙地铁站 ' , ' 上海市 ' , ' 浦东新区 ' , ' 川沙新镇 ' , 121 . 6990770000 , 31 . 2014090000 , ' ' , ' ' , ' ' , ' ' , 1616226931 , 0 ) , ( 4 , 4 , 1 , 1 , ' ' , ' sky ' , ' 021-88888888 ' , 9 , 155 , 1936 , ' 川沙地铁站 ' , ' 上海市 ' , ' 浦东新区 ' , ' 川沙新镇 ' , 121 . 6990770000 , 31 . 2014090000 , ' ' , ' ' , ' ' , ' ' , 1616227036 , 0 ) , ( 5 , 5 , 1 , 1 , ' ' , ' sky ' , ' 021-88888888 ' , 9 , 155 , 1936 , ' 川沙地铁站 ' , ' 上海市 ' , ' 浦东新区 ' , ' 川沙新镇 ' , 121 . 6990770000 , 31 . 2014090000 , ' ' , ' ' , ' ' , ' ' , 1616227139 , 0 ) , ( 6 , 6 , 1 , 1 , ' ' , ' sky ' , ' 021-88888888 ' , 9 , 155 , 1936 , ' 川沙地铁站 ' , ' 上海市 ' , ' 浦东新区 ' , ' 川沙新镇 ' , 121 . 6990770000 , 31 . 2014090000 , ' ' , ' ' , ' ' , ' ' , 1616227312 , 0 ) , ( 7 , 7 , 1 , 0 , ' 总部 ' , ' devil ' , ' 13222333333 ' , 9 , 155 , 1937 , ' 张江高科 ' , ' 上海市 ' , ' 浦东新区 ' , ' 张江镇 ' , 121 . 5942780000 , 31 . 2079170000 , ' ' , ' ' , ' ' , ' ' , 1616683656 , 0 ) , ( 8 , 8 , 1 , 1 , ' ' , ' sky ' , ' 021-88888888 ' , 9 , 155 , 1936 , ' 川沙地铁站 ' , ' 上海市 ' , ' 浦东新区 ' , ' 川沙新镇 ' , 121 . 6990770000 , 31 . 2014090000 , ' ' , ' ' , ' ' , ' ' , 1616948806 , 0 ) ;
/* !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-07 14:17:35 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 9 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 */ ;
INSERT INTO ` sxo_order_currency ` VALUES ( 1 , 1 , 1 , ' 人民币 ' , ' RMB ' , ' ¥ ' , 0 . 000000 , 1616053609 ) , ( 2 , 2 , 1 , ' 人民币 ' , ' RMB ' , ' ¥ ' , 0 . 000000 , 1616058965 ) , ( 3 , 3 , 1 , ' 人民币 ' , ' RMB ' , ' ¥ ' , 0 . 000000 , 1616226931 ) , ( 4 , 4 , 1 , ' 人民币 ' , ' RMB ' , ' ¥ ' , 0 . 000000 , 1616227036 ) , ( 5 , 5 , 1 , ' 人民币 ' , ' RMB ' , ' ¥ ' , 0 . 000000 , 1616227139 ) , ( 6 , 6 , 1 , ' 人民币 ' , ' RMB ' , ' ¥ ' , 0 . 000000 , 1616227312 ) , ( 7 , 7 , 1 , ' 人民币 ' , ' RMB ' , ' ¥ ' , 0 . 000000 , 1616683656 ) , ( 8 , 8 , 1 , ' 人民币 ' , ' RMB ' , ' ¥ ' , 0 . 000000 , 1616948806 ) ;
/* !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-07 14:17:35 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 9 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 */ ;
INSERT INTO ` sxo_order_detail ` VALUES ( 1 , 1 , 1 , 8 , ' MARNI Trunk 女士 中号拼色十字纹小牛皮 斜挎风琴包 ' , ' /static/upload/images/goods/2019/01/14/1547454145355962.jpg ' , 0 . 00 , 356 . 00 , 356 . 00 , ' ' , 1 , ' ' , 0 . 00 , ' ' , ' ' , 0 . 00 , 0 , 1616053609 , 0 ) , ( 2 , 1 , 2 , 8 , ' MARNI Trunk 女士 中号拼色十字纹小牛皮 斜挎风琴包 ' , ' /static/upload/images/goods/2019/01/14/1547454145355962.jpg ' , 0 . 00 , 356 . 00 , 356 . 00 , ' ' , 1 , ' ' , 0 . 00 , ' ' , ' ' , 0 . 00 , 0 , 1616058965 , 0 ) , ( 3 , 1 , 3 , 13 , ' ShopXO免费开源商城v1.9.2发布更新介绍 ' , ' /static/upload/images/plugins_store/user_goods/1/2021/01/27/1611731827223665.png ' , 0 . 00 , 1 . 00 , 1 . 00 , ' ' , 1 , ' ' , 0 . 00 , ' ' , ' ' , 0 . 00 , 0 , 1616226931 , 0 ) , ( 4 , 1 , 4 , 13 , ' ShopXO免费开源商城v1.9.2发布更新介绍 ' , ' /static/upload/images/plugins_store/user_goods/1/2021/01/27/1611731827223665.png ' , 0 . 00 , 1 . 00 , 1 . 00 , ' ' , 1 , ' ' , 0 . 00 , ' ' , ' ' , 0 . 00 , 0 , 1616227036 , 0 ) , ( 5 , 1 , 5 , 13 , ' ShopXO免费开源商城v1.9.2发布更新介绍 ' , ' /static/upload/images/plugins_store/user_goods/1/2021/01/27/1611731827223665.png ' , 0 . 00 , 1 . 00 , 1 . 00 , ' ' , 1 , ' ' , 0 . 00 , ' ' , ' ' , 0 . 00 , 0 , 1616227139 , 0 ) , ( 6 , 1 , 6 , 13 , ' ShopXO免费开源商城v1.9.2发布更新介绍 ' , ' /static/upload/images/plugins_store/user_goods/1/2021/01/27/1611731827223665.png ' , 0 . 00 , 1 . 00 , 1 . 00 , ' ' , 1 , ' ' , 0 . 00 , ' ' , ' ' , 0 . 00 , 0 , 1616227312 , 0 ) , ( 7 , 1 , 7 , 13 , ' ShopXO免费开源商城v1.9.2发布更新介绍 ' , ' /static/upload/images/plugins_store/user_goods/1/2021/01/27/1611731827223665.png ' , 0 . 00 , 1 . 00 , 1 . 00 , ' ' , 1 , ' ' , 0 . 00 , ' ' , ' ' , 0 . 00 , 0 , 1616683656 , 0 ) , ( 8 , 1 , 8 , 13 , ' ShopXO免费开源商城v1.9.2发布更新介绍 ' , ' /static/upload/images/plugins_store/user_goods/1/2021/01/27/1611731827223665.png ' , 0 . 00 , 1 . 00 , 1 . 00 , ' ' , 1 , ' ' , 0 . 00 , ' ' , ' ' , 0 . 00 , 0 , 1616948806 , 0 ) ;
/* !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-07 14:17:35 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 9 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 */ ;
INSERT INTO ` sxo_order_extraction_code ` VALUES ( 1 , 1 , 1 , ' 0135 ' , 1616053609 , 0 ) , ( 2 , 2 , 1 , ' 8613 ' , 1616058965 , 0 ) , ( 3 , 3 , 1 , ' 5590 ' , 1616226931 , 0 ) , ( 4 , 4 , 1 , ' 8270 ' , 1616227036 , 0 ) , ( 5 , 5 , 1 , ' 6498 ' , 1616227139 , 0 ) , ( 6 , 6 , 1 , ' 2855 ' , 1616227312 , 0 ) , ( 7 , 7 , 1 , ' 3938 ' , 1616683656 , 0 ) , ( 8 , 8 , 1 , ' 8213 ' , 1616948806 , 0 ) ;
/* !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-07 14:17:35 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 8 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 */ ;
INSERT INTO ` sxo_order_goods_inventory_log ` VALUES ( 1 , 1 , 1 , 8 , 2 , 3 , 2 , 0 , 0 , 1616056637 ) , ( 2 , 3 , 3 , 13 , 2 , 1111 , 1110 , 0 , 0 , 1616226952 ) , ( 3 , 4 , 4 , 13 , 2 , 1110 , 1109 , 0 , 0 , 1616227043 ) , ( 4 , 5 , 5 , 13 , 2 , 1109 , 1108 , 0 , 0 , 1616227276 ) , ( 5 , 6 , 6 , 13 , 2 , 1108 , 1107 , 0 , 0 , 1616227355 ) , ( 6 , 7 , 7 , 13 , 2 , 1107 , 1106 , 0 , 0 , 1616683668 ) , ( 7 , 8 , 8 , 13 , 2 , 1106 , 1105 , 0 , 0 , 1616948815 ) ;
/* !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-07 14:17:35 +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_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 */ ;
INSERT INTO ` sxo_order_status_history ` VALUES ( 1 , 1 , ' 1 ' , ' 2 ' , ' 支付[待付款-待发货] ' , 0 , ' 系统 ' , 1616056637 ) , ( 2 , 3 , ' 1 ' , ' 2 ' , ' 支付[待付款-待发货] ' , 0 , ' 系统 ' , 1616226952 ) , ( 3 , 4 , ' 1 ' , ' 2 ' , ' 支付[待付款-待发货] ' , 0 , ' 系统 ' , 1616227043 ) , ( 7 , 5 , ' 1 ' , ' 2 ' , ' 支付[待付款-待发货] ' , 0 , ' 系统 ' , 1616227276 ) , ( 10 , 6 , ' 1 ' , ' 2 ' , ' 支付[待付款-待发货] ' , 0 , ' 系统 ' , 1616227355 ) , ( 11 , 6 , ' 2 ' , ' 3 ' , ' 收货[待发货-待收货] ' , 1 , ' admin ' , 1616249871 ) , ( 12 , 6 , ' 3 ' , ' 4 ' , ' 收货[待收货-已完成] ' , 1 , ' admin ' , 1616249881 ) , ( 13 , 7 , ' 1 ' , ' 2 ' , ' 支付[待付款-待发货] ' , 0 , ' 系统 ' , 1616683668 ) , ( 14 , 8 , ' 1 ' , ' 2 ' , ' 支付[待付款-待发货] ' , 0 , ' 系统 ' , 1616948814 ) ;
/* !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-07 14:17:35 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 102 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 */ ;
INSERT INTO ` sxo_pay_log ` VALUES ( 1 , ' 20210318154650796478 ' , 1 , ' 订单 ' , 0 , ' CashPayment ' , ' 现金支付 ' , ' 订单支付 ' , 356 . 00 , 0 . 00 , ' ' , ' ' , 0 , 0 , 1616053610 ) , ( 2 , ' 20210318154807675733 ' , 1 , ' 订单 ' , 0 , ' CashPayment ' , ' 现金支付 ' , ' 订单支付 ' , 356 . 00 , 0 . 00 , ' ' , ' ' , 0 , 0 , 1616053687 ) , ( 3 , ' 20210318154811374376 ' , 1 , ' 订单 ' , 0 , ' CashPayment ' , ' 现金支付 ' , ' 订单支付 ' , 356 . 00 , 0 . 00 , ' ' , ' ' , 0 , 0 , 1616053691 ) , ( 4 , ' 20210318154858426033 ' , 1 , ' 订单 ' , 0 , ' CashPayment ' , ' 现金支付 ' , ' 订单支付 ' , 356 . 00 , 0 . 00 , ' ' , ' ' , 0 , 0 , 1616053738 ) , ( 5 , ' 20210318154911517050 ' , 1 , ' 订单 ' , 0 , ' CashPayment ' , ' 现金支付 ' , ' 订单支付 ' , 356 . 00 , 0 . 00 , ' ' , ' ' , 0 , 0 , 1616053751 ) , ( 6 , ' 20210318154929919635 ' , 1 , ' 订单 ' , 0 , ' CashPayment ' , ' 现金支付 ' , ' 订单支付 ' , 356 . 00 , 0 . 00 , ' ' , ' ' , 0 , 0 , 1616053769 ) , ( 7 , ' 20210318155500221895 ' , 1 , ' 订单 ' , 0 , ' CashPayment ' , ' 现金支付 ' , ' 订单支付 ' , 356 . 00 , 0 . 00 , ' ' , ' ' , 0 , 0 , 1616054100 ) , ( 8 , ' 20210318155531497443 ' , 1 , ' 订单 ' , 0 , ' CashPayment ' , ' 现金支付 ' , ' 订单支付 ' , 356 . 00 , 0 . 00 , ' ' , ' ' , 0 , 0 , 1616054131 ) , ( 9 , ' 20210318155545848522 ' , 1 , ' 订单 ' , 0 , ' CashPayment ' , ' 现金支付 ' , ' 订单支付 ' , 356 . 00 , 0 . 00 , ' ' , ' ' , 0 , 0 , 1616054145 ) , ( 10 , ' 20210318155614900817 ' , 1 , ' 订单 ' , 0 , ' CashPayment ' , ' 现金支付 ' , ' 订单支付 ' , 356 . 00 , 0 . 00 , ' ' , ' ' , 0 , 0 , 1616054174 ) , ( 11 , ' 20210318155636613244 ' , 1 , ' 订单 ' , 0 , ' CashPayment ' , ' 现金支付 ' , ' 订单支付 ' , 356 . 00 , 0 . 00 , ' ' , ' ' , 0 , 0 , 1616054196 ) , ( 12 , ' 20210318155638761642 ' , 1 , ' 订单 ' , 0 , ' CashPayment ' , ' 现金支付 ' , ' 订单支付 ' , 356 . 00 , 0 . 00 , ' ' , ' ' , 0 , 0 , 1616054198 ) , ( 13 , ' 20210318155725176474 ' , 1 , ' 订单 ' , 0 , ' CashPayment ' , ' 现金支付 ' , ' 订单支付 ' , 356 . 00 , 0 . 00 , ' ' , ' ' , 0 , 0 , 1616054245 ) , ( 14 , ' 20210318155819425891 ' , 1 , ' 订单 ' , 0 , ' CashPayment ' , ' 现金支付 ' , ' 订单支付 ' , 356 . 00 , 0 . 00 , ' ' , ' ' , 0 , 0 , 1616054299 ) , ( 15 , ' 20210318155821981624 ' , 1 , ' 订单 ' , 0 , ' CashPayment ' , ' 现金支付 ' , ' 订单支付 ' , 356 . 00 , 0 . 00 , ' ' , ' ' , 0 , 0 , 1616054301 ) , ( 16 , ' 20210318155821630816 ' , 1 , ' 订单 ' , 0 , ' CashPayment ' , ' 现金支付 ' , ' 订单支付 ' , 356 . 00 , 0 . 00 , ' ' , ' ' , 0 , 0 , 1616054301 ) , ( 17 , ' 20210318155857803555 ' , 1 , ' 订单 ' , 0 , ' CashPayment ' , ' 现金支付 ' , ' 订单支付 ' , 356 . 00 , 0 . 00 , ' ' , ' ' , 0 , 0 , 1616054337 ) , ( 18 , ' 20210318155858757461 ' , 1 , ' 订单 ' , 0 , ' CashPayment ' , ' 现金支付 ' , ' 订单支付 ' , 356 . 00 , 0 . 00 , ' ' , ' ' , 0 , 0 , 1616054338 ) , ( 19 , ' 20210318155926485204 ' , 1 , ' 订单 ' , 0 , ' CashPayment ' , ' 现金支付 ' , ' 订单支付 ' , 356 . 00 , 0 . 00 , ' ' , ' ' , 0 , 0 , 1616054366 ) , ( 20 , ' 20210318155928414725 ' , 1 , ' 订单 ' , 0 , ' CashPayment ' , ' 现金支付 ' , ' 订单支付 ' , 356 . 00 , 0 . 00 , ' ' , ' ' , 0 , 0 , 1616054368 ) , ( 21 , ' 20210318155953665638 ' , 1 , ' 订单 ' , 0 , ' CashPayment ' , ' 现金支付 ' , ' 订单支付 ' , 356 . 00 , 0 . 00 , ' ' , ' ' , 0 , 0 , 1616054393 ) , ( 22 , ' 20210318155954297994 ' , 1 , ' 订单 ' , 0 , ' CashPayment ' , ' 现金支付 ' , ' 订单支付 ' , 356 . 00 , 0 . 00 , ' ' , ' ' , 0 , 0 , 1616054394 ) , ( 23 , ' 20210318155958699243 ' , 1 , ' 订单 ' , 0 , ' CashPayment ' , ' 现金支付 ' , ' 订单支付 ' , 356 . 00 , 0 . 00 , ' ' , ' ' , 0 , 0 , 1616054398 ) , ( 24 , ' 20210318160000591755 ' , 1 , ' 订单 ' , 0 , ' CashPayment ' , ' 现金支付 ' , ' 订单支付 ' , 356 . 00 , 0 . 00 , ' ' , ' ' , 0 , 0 , 1616054400 ) , ( 25 , ' 20210318160059985757 ' , 1 , ' 订单 ' , 0 , ' CashPayment ' , ' 现金支付 ' , ' 订单支付 ' , 356 . 00 , 0 . 00 , ' ' , ' ' , 0 , 0 , 1616054459 ) , ( 26 , ' 20210318160317153158 ' , 1 , ' 订单 ' , 0 , ' CashPayment ' , ' 现金支付 ' , ' 订单支付 ' , 356 . 00 , 0 . 00 , ' ' , ' ' , 0 , 0 , 1616054597 ) , ( 27 , ' 20210318160318472888 ' , 1 , ' 订单 ' , 0 , ' CashPayment ' , ' 现金支付 ' , ' 订单支付 ' , 356 . 00 , 0 . 00 , ' ' , ' ' , 0 , 0 , 1616054598 ) , ( 28 , ' 20210318160341601859 ' , 1 , ' 订单 ' , 0 , ' CashPayment ' , ' 现金支付 ' , ' 订单支付 ' , 356 . 00 , 0 . 00 , ' ' , ' ' , 0 , 0 , 1616054621 ) , ( 29 , ' 20210318160353668935 ' , 1 , ' 订单 ' , 0 , ' CashPayment ' , ' 现金支付 ' , ' 订单支付 ' , 356 . 00 , 0 . 00 , ' ' , ' ' , 0 , 0 , 1616054633 ) , ( 30 , ' 20210318160450212656 ' , 1 , ' 订单 ' , 0 , ' CashPayment ' , ' 现金支付 ' , ' 订单支付 ' , 356 . 00 , 0 . 00 , ' ' , ' ' , 0 , 0 , 1616054690 ) , ( 31 , ' 20210318160458295868 ' , 1 , ' 订单 ' , 0 , ' CashPayment ' , ' 现金支付 ' , ' 订单支付 ' , 356 . 00 , 0 . 00 , ' ' , ' ' , 0 , 0 , 1616054698 ) , ( 32 , ' 20210318160521713415 ' , 1 , ' 订单 ' , 0 , ' CashPayment ' , ' 现金支付 ' , ' 订单支付 ' , 356 . 00 , 0 . 00 , ' ' , ' ' , 0 , 0 , 1616054721 ) , ( 33 , ' 20210318160617375298 ' , 1 , ' 订单 ' , 0 , ' CashPayment ' , ' 现金支付 ' , ' 订单支付 ' , 356 . 00 , 0 . 00 , ' ' , ' ' , 0 , 0 , 1616054777 ) , ( 34 , ' 20210318160635853516 ' , 1 , ' 订单 ' , 0 , ' CashPayment ' , ' 现金支付 ' , ' 订单支付 ' , 356 . 00 , 0 . 00 , ' ' , ' ' , 0 , 0 , 1616054795 ) , ( 35 , ' 20210318160751179830 ' , 1 , ' 订单 ' , 0 , ' CashPayment ' , ' 现<EFBFBD>
/* !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-07 14:17:35 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 102 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 */ ;
INSERT INTO ` sxo_pay_log_value ` VALUES ( 1 , 1 , 1 , ' 20210318154649978637 ' , 1616053610 ) , ( 2 , 2 , 1 , ' 20210318154649978637 ' , 1616053687 ) , ( 3 , 3 , 1 , ' 20210318154649978637 ' , 1616053691 ) , ( 4 , 4 , 1 , ' 20210318154649978637 ' , 1616053738 ) , ( 5 , 5 , 1 , ' 20210318154649978637 ' , 1616053751 ) , ( 6 , 6 , 1 , ' 20210318154649978637 ' , 1616053769 ) , ( 7 , 7 , 1 , ' 20210318154649978637 ' , 1616054100 ) , ( 8 , 8 , 1 , ' 20210318154649978637 ' , 1616054131 ) , ( 9 , 9 , 1 , ' 20210318154649978637 ' , 1616054145 ) , ( 10 , 10 , 1 , ' 20210318154649978637 ' , 1616054174 ) , ( 11 , 11 , 1 , ' 20210318154649978637 ' , 1616054196 ) , ( 12 , 12 , 1 , ' 20210318154649978637 ' , 1616054198 ) , ( 13 , 13 , 1 , ' 20210318154649978637 ' , 1616054245 ) , ( 14 , 14 , 1 , ' 20210318154649978637 ' , 1616054299 ) , ( 15 , 15 , 1 , ' 20210318154649978637 ' , 1616054301 ) , ( 16 , 16 , 1 , ' 20210318154649978637 ' , 1616054301 ) , ( 17 , 17 , 1 , ' 20210318154649978637 ' , 1616054337 ) , ( 18 , 18 , 1 , ' 20210318154649978637 ' , 1616054338 ) , ( 19 , 19 , 1 , ' 20210318154649978637 ' , 1616054366 ) , ( 20 , 20 , 1 , ' 20210318154649978637 ' , 1616054368 ) , ( 21 , 21 , 1 , ' 20210318154649978637 ' , 1616054393 ) , ( 22 , 22 , 1 , ' 20210318154649978637 ' , 1616054394 ) , ( 23 , 23 , 1 , ' 20210318154649978637 ' , 1616054398 ) , ( 24 , 24 , 1 , ' 20210318154649978637 ' , 1616054400 ) , ( 25 , 25 , 1 , ' 20210318154649978637 ' , 1616054459 ) , ( 26 , 26 , 1 , ' 20210318154649978637 ' , 1616054597 ) , ( 27 , 27 , 1 , ' 20210318154649978637 ' , 1616054598 ) , ( 28 , 28 , 1 , ' 20210318154649978637 ' , 1616054621 ) , ( 29 , 29 , 1 , ' 20210318154649978637 ' , 1616054633 ) , ( 30 , 30 , 1 , ' 20210318154649978637 ' , 1616054690 ) , ( 31 , 31 , 1 , ' 20210318154649978637 ' , 1616054698 ) , ( 32 , 32 , 1 , ' 20210318154649978637 ' , 1616054721 ) , ( 33 , 33 , 1 , ' 20210318154649978637 ' , 1616054777 ) , ( 34 , 34 , 1 , ' 20210318154649978637 ' , 1616054795 ) , ( 35 , 35 , 1 , ' 20210318154649978637 ' , 1616054871 ) , ( 36 , 36 , 1 , ' 20210318154649978637 ' , 1616054872 ) , ( 37 , 37 , 1 , ' 20210318154649978637 ' , 1616054873 ) , ( 38 , 38 , 1 , ' 20210318154649978637 ' , 1616054912 ) , ( 39 , 39 , 1 , ' 20210318154649978637 ' , 1616054966 ) , ( 40 , 40 , 1 , ' 20210318154649978637 ' , 1616054972 ) , ( 41 , 41 , 1 , ' 20210318154649978637 ' , 1616055029 ) , ( 42 , 42 , 1 , ' 20210318154649978637 ' , 1616055192 ) , ( 43 , 43 , 1 , ' 20210318154649978637 ' , 1616055245 ) , ( 44 , 44 , 1 , ' 20210318154649978637 ' , 1616055252 ) , ( 45 , 45 , 1 , ' 20210318154649978637 ' , 1616055256 ) , ( 46 , 46 , 1 , ' 20210318154649978637 ' , 1616055257 ) , ( 47 , 47 , 1 , ' 20210318154649978637 ' , 1616055260 ) , ( 48 , 48 , 1 , ' 20210318154649978637 ' , 1616055279 ) , ( 49 , 49 , 1 , ' 20210318154649978637 ' , 1616055607 ) , ( 50 , 50 , 1 , ' 20210318154649978637 ' , 1616055609 ) , ( 51 , 51 , 1 , ' 20210318154649978637 ' , 1616055627 ) , ( 52 , 52 , 1 , ' 20210318154649978637 ' , 1616055665 ) , ( 53 , 53 , 1 , ' 20210318154649978637 ' , 1616055666 ) , ( 54 , 54 , 1 , ' 20210318154649978637 ' , 1616055684 ) , ( 55 , 55 , 1 , ' 20210318154649978637 ' , 1616055777 ) , ( 56 , 56 , 1 , ' 20210318154649978637 ' , 1616055795 ) , ( 57 , 57 , 1 , ' 20210318154649978637 ' , 1616055801 ) , ( 58 , 58 , 1 , ' 20210318154649978637 ' , 1616055807 ) , ( 59 , 59 , 1 , ' 20210318154649978637 ' , 1616055818 ) , ( 60 , 60 , 1 , ' 20210318154649978637 ' , 1616056224 ) , ( 61 , 61 , 1 , ' 20210318154649978637 ' , 1616056241 ) , ( 62 , 62 , 1 , ' 20210318154649978637 ' , 1616056246 ) , ( 63 , 63 , 1 , ' 20210318154649978637 ' , 1616056319 ) , ( 64 , 64 , 1 , ' 20210318154649978637 ' , 1616056346 ) , ( 65 , 65 , 1 , ' 20210318154649978637 ' , 1616056358 ) , ( 66 , 66 , 1 , ' 20210318154649978637 ' , 1616056446 ) , ( 67 , 67 , 1 , ' 20210318154649978637 ' , 1616056447 ) , ( 68 , 68 , 1 , ' 20210318154649978637 ' , 1616056450 ) , ( 69 , 69 , 1 , ' 20210318154649978637 ' , 1616056471 ) , ( 70 , 70 , 1 , ' 20210318154649978637 ' , 1616056480 ) , ( 71 , 71 , 1 , ' 20210318154649978637 ' , 1616056533 ) , ( 72 , 72 , 1 , ' 20210318154649978637 ' , 1616056637 ) , ( 73 , 73 , 2 , ' 20210318171605635366 ' , 1616058967 ) , ( 74 , 74 , 2 , ' 20210318171605635366 ' , 1616059003 ) , ( 75 , 75 , 2 , ' 20210318171605635366 ' , 1616059106 ) , ( 76 , 76 , 2 , ' 20210318171605635366 ' , 1616059123 ) , ( 77 , 77 , 2 , ' 20210318171605635366 ' , 1616059196 ) , ( 78 , 78 , 2 , ' 20210318171605635366 ' , 1616059204 ) , ( 79 , 79 , 2 , ' 20210318171605635366 ' , 1616059206 ) , ( 80 , 80 , 2 , ' 20210318171605635366 ' , 1616059268 ) , ( 81 , 81 , 2 , ' 20210318171605635366 ' , 1616059281 ) , ( 82 , 82 , 2 , ' 20210318171605635366 ' , 1616059357 ) , ( 83 , 83 , 2 , ' 20210318171605635366 ' , 1616059427 ) , ( 84 , 84 , 2 , ' 20210318171605635366 ' , 1616059440 ) , ( 85 , 85 , 3 , ' 20210320155531378127 ' , 1616226933 ) , ( 86 , 86 , 3 , ' 20210320155531378127 ' , 1616226952 ) , ( 87 , 87 , 4 , ' 20210320155716655960 ' , 1616227039 ) , ( 88 , 88 , 4 , ' 20210320155716655960 ' , 1616227043 ) , ( 89 , 89 , 5 , ' 20210320155859257808 ' , 1616227142 ) , ( 90 , 90 , 5 , ' 20210320155859257808 ' , 1616227147 ) , ( 91 , 91 , 5 , ' 20210320155859257808 ' , 1616227157 ) , ( 92 , 92 , 5 , ' 20210320155859257808 ' , 1616227247 ) , ( 93 , 93 , 5 , ' 2021032015585925
/* !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-07 14:17:35 +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_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 */ ;
INSERT INTO ` sxo_payment ` VALUES ( 1 , ' 现金支付 ' , ' CashPayment ' , ' ' , ' 2.0.0 ' , ' 不限 ' , ' 现金方式支付货款、支持配置自定义支付信息 ' , ' Devil ' , ' http://shopxo.net/ ' , ' [{\"element\":\"select\",\"title\":\"\\u81ea\\u5b9a\\u4e49\\u652f\\u4ed8\\u4fe1\\u606f\\u5c55\\u793a\",\"desc\":\"\\u4ec5web\\u7aef\\u6709\\u6548\",\"message\":\"\\u8bf7\\u9009\\u62e9\\u662f\\u5426\\u5f00\\u542f\\u81ea\\u5b9a\\u4e49\\u652f\\u4ed8\",\"name\":\"is_custom_pay\",\"is_multiple\":0,\"element_data\":[{\"value\":0,\"name\":\"\\u5173\\u95ed\"},{\"value\":1,\"name\":\"\\u5f00\\u542f\"}]},{\"element\":\"textarea\",\"name\":\"content\",\"placeholder\":\"\\u81ea\\u5b9a\\u4e49\\u6587\\u672c\",\"title\":\"\\u81ea\\u5b9a\\u4e49\\u6587\\u672c\",\"desc\":\"\\u53ef\\u6362\\u884c\\u3001\\u4e00\\u884c\\u4e00\\u6761\\u6570\\u636e\",\"is_required\":0,\"rows\":6,\"message\":\"\\u8bf7\\u586b\\u5199\\u81ea\\u5b9a\\u4e49\\u6587\\u672c\"},{\"element\":\"input\",\"type\":\"text\",\"default\":\"\",\"name\":\"tips\",\"placeholder\":\"\\u7279\\u522b\\u63d0\\u793a\\u4fe1\\u606f\",\"title\":\"\\u7279\\u522b\\u63d0\\u793a\\u4fe1\\u606f\",\"is_required\":0,\"message\":\"\\u8bf7\\u586b\\u5199\\u7279\\u522b\\u63d0\\u793a\\u4fe1\\u606f\"},{\"element\":\"input\",\"type\":\"text\",\"default\":\"\",\"name\":\"images_url\",\"placeholder\":\"\\u56fe\\u7247\\u5730\\u5740\",\"title\":\"\\u56fe\\u7247\\u5730\\u5740\",\"desc\":\"\\u53ef\\u81ea\\u5b9a\\u4e49\\u56fe\\u7247\\u5c55\\u793a\",\"is_required\":0,\"message\":\"\\u8bf7\\u586b\\u5199\\u56fe\\u7247\\u81ea\\u5b9a\\u4e49\\u7684\\u5730\\u5740\"}] ' , ' {\"content\":\"\\u540d\\u79f0\\uff1a\\u4e0a\\u6d77\\u7eb5\\u4e4b\\u683c\\u79d1\\u6280\\u6709\\u9650\\u516c\\u53f8\\n\\u8d26\\u6237\\uff1a121937969510301\\n\\u5f00\\u6237\\u884c\\uff1a\\u62db\\u5546\\u94f6\\u884c\\u80a1\\u4efd\\u6709\\u9650\\u516c\\u53f8\\u4e0a\\u6d77\\u5927\\u6728\\u6865\\u652f\\u884c\",\"tips\":\"\\u652f\\u4ed8\\u5b8c\\u6210\\u540e\\u3001\\u8bf7\\u53ca\\u65f6\\u8054\\u7cfb\\u5ba2\\u670d\\u5904\\u7406\\u8ba2\\u5355\\uff0c\\u8054\\u7cfbQQ\\uff1a386392432\",\"images_url\":\"\",\"is_custom_pay\":\"1\"} ' , ' [\"pc\",\"h5\",\"ios\",\"android\",\"weixin\",\"alipay\",\"baidu\",\"toutiao\",\"qq\"] ' , ' [\"pc\",\"h5\",\"ios\",\"android\",\"weixin\",\"alipay\",\"baidu\",\"toutiao\",\"qq\"] ' , 1 , 1 , 0 , 1616053503 , 1616055815 ) ;
/* !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-04-07 14:17:35 +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_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 */ ;
INSERT INTO ` sxo_plugins ` VALUES ( 1 , ' 会员等级增强版 ' , ' membershiplevelvip ' , ' {\"application_name\":\"\\u4f1a\\u5458\\u4ff1\\u4e50\\u90e8\",\"level_rules\":\"0\",\"order_close_time\":\"30\",\"profit_order_create_time\":\"5\",\"profit_order_settlement_time\":\"10800\",\"user_poster_share_title\":\"\",\"user_poster_share_desc\":\"\",\"banner_top_title\":\"\",\"banner_middle_name\":\"\",\"banner_bottom_content\":\"\",\"not_opening_vip_desc\":\"\",\"user_vip_center_notice\":\"\",\"is_admin_user_level_show\":\"1\",\"is_user_buy\":\"1\"} ' , 1 , 0 , 1616156708 , 1616316371 ) , ( 2 , ' 应用商店 ' , ' store ' , ' {\"application_name\":\"\\u5e94\\u7528\\u5546\",\"seller_center_notice\":\"\",\"package_delete_time\":\"10\",\"sms_sign\":\"ShopXO\",\"sms_new_order_template\":\"SMS_213285927\",\"email_new_order_template\":\"<table width="100%" cellpadding="0" cellspacing="0" style="font-family: \ ' \ \ u5fae \ \ u8f6f \ \ u96c5 \ \ u9ed1 \ ' , \ ' Microsoft Yahei \ ' , Avenir, Helvetica, sans-serif; box-sizing: border-box; margin: 0; padding: 0; width: 100%; -premailer-cellpadding: 0; -premailer-cellspacing: 0; -premailer-width: 100%;">\\n <tbody>\\n <tr>\\n <td style="font-family: \ ' \ \ u5fae \ \ u8f6f \ \ u96c5 \ \ u9ed1 \ ' , \ ' Microsoft Yahei \ ' , Avenir, Helvetica, sans-serif; box-sizing: border-box; padding: 25px 0; text-align: center;background: #f5f8fa;">\\n <a href="https:\\/\\/store.shopxo.net" target="_blank" style="font-family: \ ' \ \ u5fae \ \ u8f6f \ \ u96c5 \ \ u9ed1 \ ' , \ ' Microsoft Yahei \ ' , Avenir, Helvetica, sans-serif; box-sizing: border-box; color: #bbbfc3; font-size: 19px; font-weight: bold; text-decoration: none; text-shadow: 0 1px 0 white;"\\n rel="noopener">\\n ShopXO\\u5e94\\u7528\\u5546\\u5e97\\n <\\/a>\\n <\\/td>\\n <\\/tr>\\n <tr>\\n <td width="100%" cellpadding="0" cellspacing="0" style="font-family: \ ' \ \ u5fae \ \ u8f6f \ \ u96c5 \ \ u9ed1 \ ' , \ ' Microsoft Yahei \ ' , Avenir, Helvetica, sans-serif; box-sizing: border-box; background-color: #FFFFFF; border-bottom: 1px solid #EDEFF2; border-top: 1px solid #EDEFF2; margin: 0; padding: 0; width: 100%; -premailer-cellpadding: 0; -premailer-cellspacing: 0; -premailer-width: 100%;">\\n <table align="center" width="460" cellpadding="0" cellspacing="0"\\n style="font-family: \ ' \ \ u5fae \ \ u8f6f \ \ u96c5 \ \ u9ed1 \ ' , \ ' Microsoft Yahei \ ' , Avenir, Helvetica, sans-serif; box-sizing: border-box; background-color: #FFFFFF; margin: 0 auto; padding: 0; width: 460px; -premailer-cellpadding: 0; -premailer-cellspacing: 0; -premailer-width: 460px;">\\n <tbody>\\n <tr>\\n <td style="font-family: \ ' \ \ u5fae \ \ u8f6f \ \ u96c5 \ \ u9ed1 \ ' , \ ' Microsoft Yahei \ ' , Avenir, Helvetica, sans-serif; box-sizing: border-box; padding: 35px;">\\n <h1 style="font-family: \ ' \ \ u5fae \ \ u8f6f \ \ u96c5 \ \ u9ed1 \ ' , \ ' Microsoft Yahei \ ' , Avenir, Helvetica, sans-serif; box-sizing: border-box; color: #2F3133; font-size: 19px; font-weight: bold; margin-top: 0; text-align: left;">\\n \\u60a8\\u597d\\uff01\\n <\\/h1>\\n <p style="font-family: \ ' \ \ u5fae \ \ u8f6f \ \ u96c5 \ \ u9ed1 \ ' , \ ' Microsoft Yahei \ ' , Avenir, Helvetica, sans-serif; box-sizing: border-box; color: #74787E; font-size: 14px; line-height: 1.4; margin-top: 0; text-align: left;">\\n \\u60a8\\u6709\\u4e00\\u4e2a\\u5e94\\u7528\\u5546\\u5e97\\u65b0\\u8ba2\\u5355#order_no#\\uff0c\\u8bf7\\u6ce8\\u610f\\u67e5\\u6536\\uff01\\n <\\/p>\\n <\\/td>\\n <\\/tr>\\n &l
/* !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_plugins_membershiplevelvip_introduce`
2021-02-23 12:26:26 +08:00
--
2021-02-23 12:17:43 +08:00
2021-04-07 14:17:35 +08:00
DROP TABLE IF EXISTS ` sxo_plugins_membershiplevelvip_introduce ` ;
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_membershiplevelvip_introduce ` (
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` name ` char ( 30 ) NOT NULL DEFAULT ' ' COMMENT ' 名称 ' ,
` desc ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 描述 ' ,
` images_url ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 图标 ' ,
` is_enable ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 是否启用( 0否, 1是) ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 创建时间 ' ,
` upd_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 更新时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` is_enable ` ( ` is_enable ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 会员等级增强版插件 - 会员等级介绍 ' ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `sxo_plugins_membershiplevelvip_introduce`
--
LOCK TABLES ` sxo_plugins_membershiplevelvip_introduce ` WRITE ;
/* !40000 ALTER TABLE `sxo_plugins_membershiplevelvip_introduce` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `sxo_plugins_membershiplevelvip_introduce` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `sxo_plugins_membershiplevelvip_level`
--
DROP TABLE IF EXISTS ` sxo_plugins_membershiplevelvip_level ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` sxo_plugins_membershiplevelvip_level ` (
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` name ` char ( 30 ) NOT NULL DEFAULT ' ' COMMENT ' 名称 ' ,
` images_url ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 图标 ' ,
` rules_min ` decimal ( 10 , 2 ) unsigned NOT NULL DEFAULT ' 0.00 ' COMMENT ' 自动计算会员(规则最小值) ' ,
` rules_max ` decimal ( 10 , 2 ) unsigned NOT NULL DEFAULT ' 0.00 ' COMMENT ' 自动计算会员(规则最大值) ' ,
` order_price ` decimal ( 10 , 2 ) unsigned NOT NULL DEFAULT ' 0.00 ' COMMENT ' 满减优惠(订单满额条件) ' ,
` full_reduction_price ` decimal ( 10 , 2 ) unsigned NOT NULL DEFAULT ' 0.00 ' COMMENT ' 满减优惠(优惠金额) ' ,
` discount_rate ` decimal ( 3 , 2 ) unsigned NOT NULL DEFAULT ' 0.00 ' COMMENT ' 折扣率( 0~0.99) ' ,
` is_enable ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 是否启用( 0否, 1是) ' ,
` is_supported_pay_buy ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 是否支持付费购买( 0否, 1是) ' ,
` is_supported_renew ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 是否支持会员续费( 0否, 1是) ' ,
` pay_period_rules ` 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 ` is_enable ` ( ` is_enable ` ) ,
KEY ` is_supported_pay_buy ` ( ` is_supported_pay_buy ` ) ,
KEY ` is_supported_renew ` ( ` is_supported_renew ` )
) ENGINE = InnoDB AUTO_INCREMENT = 3 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 会员等级增强版插件 - 会员等级 ' ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `sxo_plugins_membershiplevelvip_level`
--
LOCK TABLES ` sxo_plugins_membershiplevelvip_level ` WRITE ;
/* !40000 ALTER TABLE `sxo_plugins_membershiplevelvip_level` DISABLE KEYS */ ;
INSERT INTO ` sxo_plugins_membershiplevelvip_level ` VALUES ( 1 , ' VIP1 ' , ' ' , 0 . 00 , 0 . 00 , 0 . 00 , 0 . 00 , 0 . 00 , 1 , 0 , 0 , ' ' , 1616156742 , 0 ) , ( 2 , ' VIP2 ' , ' ' , 0 . 00 , 0 . 00 , 0 . 00 , 0 . 00 , 0 . 00 , 1 , 0 , 0 , ' ' , 1616156750 , 0 ) ;
/* !40000 ALTER TABLE `sxo_plugins_membershiplevelvip_level` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `sxo_plugins_membershiplevelvip_payment_user`
--
DROP TABLE IF EXISTS ` sxo_plugins_membershiplevelvip_payment_user ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` sxo_plugins_membershiplevelvip_payment_user ` (
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` user_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 用户id ' ,
` level_id ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 会员等级id ' ,
` level_name ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 等级名称 ' ,
` is_permanent ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 是否永久/终生( 0否, 1是) ' ,
` is_supported_renew ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 是否支持续费( 0否, 1是) ' ,
` expire_time ` 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 ` user_id ` ( ` user_id ` ) ,
KEY ` level_id ` ( ` level_id ` ) ,
KEY ` is_supported_renew ` ( ` is_supported_renew ` ) ,
KEY ` expire_time ` ( ` expire_time ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 会员等级增强版插件 - 付费用户 ' ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `sxo_plugins_membershiplevelvip_payment_user`
--
LOCK TABLES ` sxo_plugins_membershiplevelvip_payment_user ` WRITE ;
/* !40000 ALTER TABLE `sxo_plugins_membershiplevelvip_payment_user` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `sxo_plugins_membershiplevelvip_payment_user` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `sxo_plugins_membershiplevelvip_payment_user_order`
--
DROP TABLE IF EXISTS ` sxo_plugins_membershiplevelvip_payment_user_order ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` sxo_plugins_membershiplevelvip_payment_user_order ` (
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` payment_user_order_no ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 购买单号 ' ,
` payment_user_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 购买纪录id ' ,
` user_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 用户id ' ,
` number ` int ( 10 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 购买周期(单位 天) ' ,
` price ` decimal ( 10 , 2 ) unsigned NOT NULL DEFAULT ' 0.00 ' COMMENT ' 购买价格(单位 元) ' ,
` level_id ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 会员等级id ' ,
` level_data ` text COMMENT ' 等级数据( json存储) ' ,
` status ` tinyint ( 2 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 状态( 0待支付, 1已支付, 2已取消, 3已关闭) ' ,
` settlement_status ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 结算状态( 0待结算, 1结算中, 2已结算) ' ,
` type ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 类型( 0正常购买, 1续费) ' ,
` pay_price ` decimal ( 10 , 2 ) unsigned NOT NULL DEFAULT ' 0.00 ' COMMENT ' 支付金额 ' ,
` payment_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 支付方式id ' ,
` payment ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 支付方式标记 ' ,
` payment_name ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 支付方式名称 ' ,
` pay_time ` 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 ` payment_user_order_no ` ( ` payment_user_order_no ` ) ,
KEY ` payment_user_id ` ( ` payment_user_id ` ) ,
KEY ` user_id ` ( ` user_id ` ) ,
KEY ` level_id ` ( ` level_id ` ) ,
KEY ` status ` ( ` status ` ) ,
KEY ` settlement_status ` ( ` settlement_status ` ) ,
KEY ` pay_price ` ( ` pay_price ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 会员等级增强版插件 - 付费订单纪录 ' ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `sxo_plugins_membershiplevelvip_payment_user_order`
--
LOCK TABLES ` sxo_plugins_membershiplevelvip_payment_user_order ` WRITE ;
/* !40000 ALTER TABLE `sxo_plugins_membershiplevelvip_payment_user_order` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `sxo_plugins_membershiplevelvip_payment_user_order` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `sxo_plugins_membershiplevelvip_user_profit`
--
DROP TABLE IF EXISTS ` sxo_plugins_membershiplevelvip_user_profit ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` sxo_plugins_membershiplevelvip_user_profit ` (
` id ` bigint ( 20 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` user_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 用户id ' ,
` payment_user_order_id ` int ( 11 ) unsigned NOT NULL COMMENT ' 会员付费订单id ' ,
` payment_user_order_user_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 会员付费订单用户id ' ,
` total_price ` decimal ( 10 , 2 ) NOT NULL DEFAULT ' 0.00 ' COMMENT ' 订单金额 ' ,
` profit_price ` decimal ( 10 , 2 ) NOT NULL DEFAULT ' 0.00 ' COMMENT ' 收益金额 ' ,
` commission_rules ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 佣金规则 ' ,
` status ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 结算状态( 0待结算, 1已结算, 2已失效) ' ,
` level ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 当前级别( 1~3) ' ,
` user_level_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 插件会员等级id ' ,
` msg ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 描述(一般用于失效后的描述) ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
` upd_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 更新时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` user_id ` ( ` user_id ` ) ,
KEY ` payment_user_order_id ` ( ` payment_user_order_id ` ) ,
KEY ` status ` ( ` status ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 会员等级增强版插件 - 会员佣金明细 ' ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `sxo_plugins_membershiplevelvip_user_profit`
--
LOCK TABLES ` sxo_plugins_membershiplevelvip_user_profit ` WRITE ;
/* !40000 ALTER TABLE `sxo_plugins_membershiplevelvip_user_profit` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `sxo_plugins_membershiplevelvip_user_profit` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `sxo_plugins_store`
--
DROP TABLE IF EXISTS ` sxo_plugins_store ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` sxo_plugins_store ` (
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` user_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 用户id ' ,
` status ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 状态( 0待审核, 1已审核, 2已拒绝, 3已关闭) ' ,
` logo ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 正方形店铺loog ' ,
` logo_long ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 长方形店铺loog ' ,
` banner ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 店铺banner ' ,
` name ` char ( 30 ) NOT NULL DEFAULT ' ' COMMENT ' 名称 ' ,
` describe ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 简介 ' ,
` website_url ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 官网地址 ' ,
` service_weixin_qrcode ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 客服微信二维码 ' ,
` service_qq ` char ( 30 ) NOT NULL DEFAULT ' ' COMMENT ' 客服QQ ' ,
` service_tel ` char ( 20 ) NOT NULL DEFAULT ' ' COMMENT ' 客服电话 ' ,
` notice_mobile ` char ( 11 ) NOT NULL DEFAULT ' ' COMMENT ' 接收通知手机号码 ' ,
` notice_email ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 接收通知电子邮箱 ' ,
` open_week ` tinyint ( 1 ) NOT NULL DEFAULT ' -1 ' COMMENT ' 工作日起始 ' ,
` close_week ` tinyint ( 1 ) NOT NULL DEFAULT ' -1 ' COMMENT ' 工作日结束 ' ,
` open_time ` time NOT NULL DEFAULT ' 00:00:00 ' COMMENT ' 在线时间起始 ' ,
` close_time ` time NOT NULL DEFAULT ' 00:00:00 ' COMMENT ' 在线时间结束 ' ,
` rate ` tinyint ( 3 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 返现比例 0~100 的数字(空则读取插件基础配置的比例值) ' ,
` fail_reason ` char ( 230 ) NOT NULL DEFAULT ' ' COMMENT ' 失败原因 ' ,
` 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描述 ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
` upd_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 更新时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` user_id ` ( ` user_id ` ) ,
KEY ` status ` ( ` status ` ) ,
KEY ` name ` ( ` name ` ) ,
KEY ` add_time ` ( ` add_time ` )
) ENGINE = InnoDB AUTO_INCREMENT = 2 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 应用商 - 应用商店 ' ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `sxo_plugins_store`
--
LOCK TABLES ` sxo_plugins_store ` WRITE ;
/* !40000 ALTER TABLE `sxo_plugins_store` DISABLE KEYS */ ;
INSERT INTO ` sxo_plugins_store ` VALUES ( 1 , 1 , 1 , ' /static/upload/images/plugins_store/user_store/1/2021/01/20/1611114104999247.jpg ' , ' /static/upload/images/plugins_store/user_store/1/2021/02/09/1612864738940468.png ' , ' /static/upload/images/plugins_store/user_store/1/2021/01/20/1611114104591931.jpg ' , ' ShopXO官方 ' , ' 我们专注提供专业的软件产品和技术。为合作伙伴提供安全可靠的软件产品与解决方案,共同帮助终端用户实现业务创新、快速发展。 ' , ' https://shopxo.net ' , ' /static/upload/images/plugins_store/user_store/1/2021/01/20/1611114104999247.jpg ' , ' 386292432 ' , ' 021-22223333 ' , ' 17602128368 ' , ' fuxiang.gong@qq.com ' , 0 , 4 , ' 12:00:00 ' , ' 14:00:00 ' , 0 , ' ' , ' ' , ' ' , ' ' , 1616217144 , 1616225671 ) ;
/* !40000 ALTER TABLE `sxo_plugins_store` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `sxo_plugins_store_goods`
--
DROP TABLE IF EXISTS ` sxo_plugins_store_goods ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` sxo_plugins_store_goods ` (
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` store_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 应用商店id ' ,
` store_user_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 应用商店用户id ' ,
` store_goods_type ` tinyint ( 2 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 商品类型( 0功能插件、1支付插件、2web端主题、3小程序主题、4APP主题) ' ,
` store_goods_deliver_type ` tinyint ( 3 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 交付方式( 0在线安装、1人工交付) ' ,
` main_goods_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 系统商品id ' ,
` brand_id ` int ( 11 ) unsigned DEFAULT ' 0 ' COMMENT ' 品牌id( 品牌商对应的品牌id) ' ,
` status ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 状态( 0待提交, 1待审核, 2已审核, 3已拒绝) ' ,
` is_lock ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 是否锁定( 0否, 1是) ' ,
` is_shelves ` tinyint ( 2 ) unsigned NOT NULL DEFAULT ' 1 ' COMMENT ' 是否上架(下架后用户不可见, 0否, 1是) ' ,
` title ` char ( 160 ) NOT NULL DEFAULT ' ' COMMENT ' 标题 ' ,
` simple_desc ` char ( 230 ) NOT NULL DEFAULT ' ' COMMENT ' 简述 ' ,
` inventory ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 库存(所有规格库存总和) ' ,
` inventory_unit ` char ( 15 ) NOT NULL DEFAULT ' ' COMMENT ' 库存单位(默认件) ' ,
` images ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 封面图片 ' ,
` original_price ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 原价(单值:10, 区间:10.00-20.00)一般用于展示使用 ' ,
` min_original_price ` decimal ( 10 , 2 ) unsigned NOT NULL DEFAULT ' 0.00 ' COMMENT ' 最低原价 ' ,
` 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 ' 最高价格 ' ,
` 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或空则不限) ' ,
` content_web ` mediumtext COMMENT ' 电脑端详情内容 ' ,
` photo_count ` tinyint ( 3 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 相册图片数量 ' ,
` video ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 短视频 ' ,
` is_exist_many_spec ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 是否存在多个规格( 0否, 1是) ' ,
` spec_base ` text COMMENT ' 规格基础数据 ' ,
` fictitious_goods_value ` text COMMENT ' 虚拟商品展示数据 ' ,
` refuse_reason ` char ( 230 ) NOT NULL DEFAULT ' ' COMMENT ' 拒绝原因 ' ,
` 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描述 ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
` upd_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 更新时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` status ` ( ` status ` ) ,
KEY ` title ` ( ` title ` ) ,
KEY ` store_id ` ( ` store_id ` ) ,
KEY ` store_user_id ` ( ` store_user_id ` ) ,
KEY ` brand_id ` ( ` brand_id ` ) ,
KEY ` photo_count ` ( ` photo_count ` )
) ENGINE = InnoDB AUTO_INCREMENT = 2 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 商品 - 应用商店 ' ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `sxo_plugins_store_goods`
--
LOCK TABLES ` sxo_plugins_store_goods ` WRITE ;
/* !40000 ALTER TABLE `sxo_plugins_store_goods` DISABLE KEYS */ ;
INSERT INTO ` sxo_plugins_store_goods ` VALUES ( 1 , 1 , 1 , 0 , 0 , 13 , 8 , 0 , 0 , 1 , ' ShopXO免费开源商城v1.9.2发布更新介绍 ' , ' 商品批量修改、动态选择需要修改的字段、excel导入批量修改、商品库存快捷设置 ' , 1105 , ' 件 ' , ' /static/upload/images/plugins_store/user_goods/1/2021/01/27/1611731827223665.png ' , ' 0.00 ' , 0 . 00 , 0 . 00 , ' 1.00 ' , 1 . 00 , 1 . 00 , 1 , 0 , ' <p>sdff似懂非懂是否收到速度点发</p><p>sdfsdffsdffs</p> ' , 1 , ' ' , 0 , ' ' , ' <p>s'dSD是否收到佛挡杀佛</p> ' , ' ' , ' ' , ' ' , ' ' , 1616226344 , 1616983698 ) ;
/* !40000 ALTER TABLE `sxo_plugins_store_goods` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `sxo_plugins_store_goods_category_join`
--
DROP TABLE IF EXISTS ` sxo_plugins_store_goods_category_join ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` sxo_plugins_store_goods_category_join ` (
` 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 ` )
) ENGINE = InnoDB AUTO_INCREMENT = 4 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 商品分类关联 - 应用商店 ' ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `sxo_plugins_store_goods_category_join`
--
LOCK TABLES ` sxo_plugins_store_goods_category_join ` WRITE ;
/* !40000 ALTER TABLE `sxo_plugins_store_goods_category_join` DISABLE KEYS */ ;
INSERT INTO ` sxo_plugins_store_goods_category_join ` VALUES ( 3 , 1 , 1 , 1616983697 ) ;
/* !40000 ALTER TABLE `sxo_plugins_store_goods_category_join` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `sxo_plugins_store_goods_params`
--
DROP TABLE IF EXISTS ` sxo_plugins_store_goods_params ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` sxo_plugins_store_goods_params ` (
` 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 ` ) ,
KEY ` type ` ( ` type ` ) ,
KEY ` name ` ( ` name ` ) ,
KEY ` value ` ( ` value ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 商品参数 - 应用商店 ' ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `sxo_plugins_store_goods_params`
--
LOCK TABLES ` sxo_plugins_store_goods_params ` WRITE ;
/* !40000 ALTER TABLE `sxo_plugins_store_goods_params` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `sxo_plugins_store_goods_params` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `sxo_plugins_store_goods_photo`
--
DROP TABLE IF EXISTS ` sxo_plugins_store_goods_photo ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` sxo_plugins_store_goods_photo ` (
` 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 ` )
) ENGINE = InnoDB AUTO_INCREMENT = 4 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 商品相册图片 - 应用商店 ' ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `sxo_plugins_store_goods_photo`
--
LOCK TABLES ` sxo_plugins_store_goods_photo ` WRITE ;
/* !40000 ALTER TABLE `sxo_plugins_store_goods_photo` DISABLE KEYS */ ;
INSERT INTO ` sxo_plugins_store_goods_photo ` VALUES ( 3 , 1 , ' /static/upload/images/plugins_store/user_goods/1/2021/01/27/1611731827223665.png ' , 1 , 0 , 1616983698 ) ;
/* !40000 ALTER TABLE `sxo_plugins_store_goods_photo` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `sxo_plugins_store_goods_spec_base`
--
DROP TABLE IF EXISTS ` sxo_plugins_store_goods_spec_base ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` sxo_plugins_store_goods_spec_base ` (
` 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 ' 库存 ' ,
` weight ` decimal ( 10 , 2 ) unsigned NOT NULL DEFAULT ' 0.00 ' COMMENT ' 重量( kg) ' ,
` 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 ' 原价 ' ,
` extends ` longtext COMMENT ' 扩展数据(json格式存储) ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` goods_id ` ( ` goods_id ` )
) ENGINE = InnoDB AUTO_INCREMENT = 4 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 商品规格基础 - 应用商店 ' ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `sxo_plugins_store_goods_spec_base`
--
LOCK TABLES ` sxo_plugins_store_goods_spec_base ` WRITE ;
/* !40000 ALTER TABLE `sxo_plugins_store_goods_spec_base` DISABLE KEYS */ ;
INSERT INTO ` sxo_plugins_store_goods_spec_base ` VALUES ( 3 , 1 , 1 . 00 , 1105 , 0 . 00 , ' ' , ' ' , 0 . 00 , NULL , 1616983697 ) ;
/* !40000 ALTER TABLE `sxo_plugins_store_goods_spec_base` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `sxo_plugins_store_goods_spec_type`
--
DROP TABLE IF EXISTS ` sxo_plugins_store_goods_spec_type ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` sxo_plugins_store_goods_spec_type ` (
` 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字符串存储) ' ,
` name ` char ( 230 ) NOT NULL DEFAULT ' ' COMMENT ' 类型名称 ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` goods_id ` ( ` goods_id ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 商品规格类型 - 应用商店 ' ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `sxo_plugins_store_goods_spec_type`
--
LOCK TABLES ` sxo_plugins_store_goods_spec_type ` WRITE ;
/* !40000 ALTER TABLE `sxo_plugins_store_goods_spec_type` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `sxo_plugins_store_goods_spec_type` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `sxo_plugins_store_goods_spec_value`
--
DROP TABLE IF EXISTS ` sxo_plugins_store_goods_spec_value ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` sxo_plugins_store_goods_spec_value ` (
` 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 ' ,
` 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 ` ) ,
KEY ` goods_spec_base_id ` ( ` goods_spec_base_id ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 商品规格值 - 应用商店 ' ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `sxo_plugins_store_goods_spec_value`
--
LOCK TABLES ` sxo_plugins_store_goods_spec_value ` WRITE ;
/* !40000 ALTER TABLE `sxo_plugins_store_goods_spec_value` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `sxo_plugins_store_goods_spec_value` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `sxo_plugins_store_goods_version`
--
DROP TABLE IF EXISTS ` sxo_plugins_store_goods_version ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` sxo_plugins_store_goods_version ` (
` id ` bigint ( 20 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` user_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 用户id ' ,
` goods_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 商品id( 应用商品id) ' ,
` status ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 状态( 0待提交, 1待审核, 2已审核, 3已拒绝) ' ,
` apply_terminal ` char ( 230 ) NOT NULL DEFAULT ' ' COMMENT ' 适配终端, 如小程序或app( 根据商品类型决定) ( value和name两个字段) ' ,
` version ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 版本号 ' ,
` describe ` text COMMENT ' 描述 ' ,
` package ` text COMMENT ' 包数据 ' ,
` refuse_reason ` char ( 230 ) NOT NULL DEFAULT ' ' COMMENT ' 拒绝原因 ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
` upd_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 更新时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` user_id ` ( ` user_id ` ) ,
KEY ` goods_id ` ( ` goods_id ` ) ,
KEY ` status ` ( ` status ` ) ,
KEY ` version ` ( ` version ` )
) ENGINE = InnoDB AUTO_INCREMENT = 3 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 商品版本 - 应用商店 ' ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `sxo_plugins_store_goods_version`
--
LOCK TABLES ` sxo_plugins_store_goods_version ` WRITE ;
/* !40000 ALTER TABLE `sxo_plugins_store_goods_version` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `sxo_plugins_store_goods_version` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `sxo_plugins_store_goods_version_apply`
--
DROP TABLE IF EXISTS ` sxo_plugins_store_goods_version_apply ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` sxo_plugins_store_goods_version_apply ` (
` id ` bigint ( 20 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` goods_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 商品id( 应用商品id) ' ,
` version_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 应用商品版本id ' ,
` apply_version ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 适配版本号 ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` goods_id ` ( ` goods_id ` ) ,
KEY ` version_id ` ( ` version_id ` ) ,
KEY ` apply_version ` ( ` apply_version ` )
) ENGINE = InnoDB AUTO_INCREMENT = 3 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 商品版本适配系统版本关联 - 应用商店 ' ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `sxo_plugins_store_goods_version_apply`
--
LOCK TABLES ` sxo_plugins_store_goods_version_apply ` WRITE ;
/* !40000 ALTER TABLE `sxo_plugins_store_goods_version_apply` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `sxo_plugins_store_goods_version_apply` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `sxo_plugins_store_order_auth`
--
DROP TABLE IF EXISTS ` sxo_plugins_store_order_auth ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` sxo_plugins_store_order_auth ` (
` 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 ' ,
` store_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 应用商店id ' ,
` store_user_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 应用商店用户id ' ,
` domain ` char ( 180 ) NOT NULL DEFAULT ' ' COMMENT ' 站点授权域名 ' ,
` url ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 站点url地址 ' ,
` ip ` char ( 30 ) NOT NULL DEFAULT ' ' COMMENT ' 站点服务器ip ' ,
` 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 ` ) ,
KEY ` store_id ` ( ` store_id ` ) ,
KEY ` store_user_id ` ( ` store_user_id ` ) ,
KEY ` domain ` ( ` domain ` )
) ENGINE = InnoDB AUTO_INCREMENT = 7 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 应用订单授权信息 - 应用商店 ' ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `sxo_plugins_store_order_auth`
--
LOCK TABLES ` sxo_plugins_store_order_auth ` WRITE ;
/* !40000 ALTER TABLE `sxo_plugins_store_order_auth` DISABLE KEYS */ ;
INSERT INTO ` sxo_plugins_store_order_auth ` VALUES ( 1 , 3 , 1 , 1 , 1 , ' 136.32 ' , ' http://shopxo.com/ ' , ' ' , 1616226931 , 0 ) , ( 2 , 4 , 1 , 1 , 1 , ' 136.32 ' , ' http://shopxo.com/ ' , ' ' , 1616227036 , 0 ) , ( 3 , 5 , 1 , 1 , 1 , ' 136.32 ' , ' http://shopxo.com/ ' , ' ' , 1616227139 , 0 ) , ( 4 , 6 , 1 , 1 , 1 , ' 136.32 ' , ' http://shopxo.com/ ' , ' ' , 1616227312 , 0 ) , ( 5 , 7 , 1 , 1 , 1 , ' shopxo.com ' , ' http://shopxo/ ' , ' 127.0.0.1 ' , 1616683656 , 1616683720 ) , ( 6 , 8 , 1 , 1 , 1 , ' zhiqi.online ' , ' http://shopxo.com/ ' , ' ' , 1616948806 , 0 ) ;
/* !40000 ALTER TABLE `sxo_plugins_store_order_auth` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `sxo_plugins_store_order_profit`
--
DROP TABLE IF EXISTS ` sxo_plugins_store_order_profit ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` sxo_plugins_store_order_profit ` (
` 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 ' ,
` store_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 应用商店id ' ,
` store_user_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 应用商店用户id ' ,
` order_user_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 订单用户id ' ,
` total_price ` decimal ( 10 , 2 ) NOT NULL DEFAULT ' 0.00 ' COMMENT ' 订单金额 ' ,
` profit_price ` decimal ( 10 , 2 ) NOT NULL DEFAULT ' 0.00 ' COMMENT ' 收益金额 ' ,
` rate ` tinyint ( 3 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 返现比例 0~100 的数字(创建时写入,防止发生退款重新计算时收益比例配置变更) ' ,
` status ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 结算状态( 0待生效, 1生效中, 2待结算, 3已结算, 4已失效) ' ,
` msg ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 描述(一般用于订单发生改变描述) ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
` upd_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 更新时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` order_id ` ( ` order_id ` ) ,
KEY ` user_id ` ( ` user_id ` ) ,
KEY ` store_id ` ( ` store_id ` ) ,
KEY ` store_user_id ` ( ` store_user_id ` ) ,
KEY ` status ` ( ` status ` )
) ENGINE = InnoDB AUTO_INCREMENT = 7 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 应用商订单收益明细 - 应用商店 ' ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `sxo_plugins_store_order_profit`
--
LOCK TABLES ` sxo_plugins_store_order_profit ` WRITE ;
/* !40000 ALTER TABLE `sxo_plugins_store_order_profit` DISABLE KEYS */ ;
INSERT INTO ` sxo_plugins_store_order_profit ` VALUES ( 1 , 3 , 1 , 1 , 1 , 1 , 1 . 00 , 0 . 70 , 70 , 1 , ' ' , 1616226931 , 1616226952 ) , ( 2 , 4 , 1 , 1 , 1 , 1 , 1 . 00 , 0 . 70 , 70 , 1 , ' ' , 1616227036 , 1616227043 ) , ( 3 , 5 , 1 , 1 , 1 , 1 , 1 . 00 , 0 . 70 , 70 , 1 , ' ' , 1616227139 , 1616227276 ) , ( 4 , 6 , 1 , 1 , 1 , 1 , 1 . 00 , 0 . 70 , 70 , 2 , ' ' , 1616227312 , 1616249881 ) , ( 5 , 7 , 1 , 1 , 1 , 1 , 1 . 00 , 0 . 70 , 70 , 1 , ' ' , 1616683656 , 1616683668 ) , ( 6 , 8 , 1 , 1 , 1 , 1 , 1 . 00 , 0 . 70 , 70 , 1 , ' ' , 1616948806 , 1616948814 ) ;
/* !40000 ALTER TABLE `sxo_plugins_store_order_profit` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `sxo_plugins_store_package_install`
--
DROP TABLE IF EXISTS ` sxo_plugins_store_package_install ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` sxo_plugins_store_package_install ` (
` id ` bigint ( 20 ) 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 ' ,
` status ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 状态( 0未删除, 1已删除) ' ,
` path ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 存储路径 ' ,
` filename ` char ( 200 ) NOT NULL DEFAULT ' ' COMMENT ' 文件名称 ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
` upd_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 更新时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` goods_id ` ( ` goods_id ` ) ,
KEY ` user_id ` ( ` user_id ` ) ,
KEY ` status ` ( ` status ` ) ,
KEY ` add_time ` ( ` add_time ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 包安装记录 - 应用商店 ' ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `sxo_plugins_store_package_install`
--
LOCK TABLES ` sxo_plugins_store_package_install ` WRITE ;
/* !40000 ALTER TABLE `sxo_plugins_store_package_install` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `sxo_plugins_store_package_install` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `sxo_plugins_store_site`
--
DROP TABLE IF EXISTS ` sxo_plugins_store_site ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` sxo_plugins_store_site ` (
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` user_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 用户id ' ,
` name ` char ( 80 ) NOT NULL DEFAULT ' ' COMMENT ' 名称 ' ,
` admin_url ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 后台地址 ' ,
` home_url ` char ( 255 ) NOT NULL DEFAULT ' ' COMMENT ' 首页地址 ' ,
` domain ` char ( 200 ) NOT NULL DEFAULT ' ' COMMENT ' 顶级域名 ' ,
` version ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 版本号 ' ,
` ip ` char ( 30 ) NOT NULL DEFAULT ' ' COMMENT ' 站点服务器ip ' ,
` 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 ` domain ` ( ` domain ` )
) ENGINE = InnoDB AUTO_INCREMENT = 2 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 买家站点管理 - 应用商店 ' ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `sxo_plugins_store_site`
--
LOCK TABLES ` sxo_plugins_store_site ` WRITE ;
/* !40000 ALTER TABLE `sxo_plugins_store_site` DISABLE KEYS */ ;
INSERT INTO ` sxo_plugins_store_site ` VALUES ( 1 , 1 , ' test ' , ' http://shopxo.com/admin.php ' , ' http://shopxo.com/ ' , ' zhiqi.online ' , ' 2.0.1 ' , ' ' , 1616210112 , 1616948777 ) ;
/* !40000 ALTER TABLE `sxo_plugins_store_site` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `sxo_plugins_store_vip`
--
DROP TABLE IF EXISTS ` sxo_plugins_store_vip ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` sxo_plugins_store_vip ` (
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` user_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 用户id ' ,
` auth_person ` char ( 80 ) NOT NULL DEFAULT ' ' COMMENT ' 授权人(个人姓名或公司名称) ' ,
` auth_type ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 授权类型( 0单域名, 1不限域名) ' ,
` auth_level ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 授权等级( 0标准, 1高级, 2企业级) ' ,
` auth_domain ` char ( 200 ) NOT NULL DEFAULT ' ' COMMENT ' 授权域名(顶级域名) ' ,
` status ` tinyint ( 1 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 状态( 0未授权, 1已授权, 2已失效) ' ,
` price ` decimal ( 10 , 2 ) unsigned NOT NULL DEFAULT ' 0.00 ' COMMENT ' 售价 ' ,
` end_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 截止时间( 默认0永久) ' ,
` reason ` char ( 230 ) NOT NULL DEFAULT ' ' COMMENT ' 原因 ' ,
` contact_name ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 联系人 ' ,
` contact_tel ` char ( 15 ) NOT NULL DEFAULT ' ' COMMENT ' 联系电话 ' ,
` contact_qq ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 联系QQ ' ,
` contact_weixin ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 联系微信 ' ,
` contact_email ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 联系邮箱 ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
` upd_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 更新时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` user_id ` ( ` user_id ` ) ,
KEY ` auth_person ` ( ` auth_person ` ) ,
KEY ` auth_level ` ( ` auth_level ` ) ,
KEY ` auth_domain ` ( ` auth_domain ` ) ,
KEY ` status ` ( ` status ` ) ,
KEY ` price ` ( ` price ` ) ,
KEY ` contact_name ` ( ` contact_name ` ) ,
KEY ` contact_qq ` ( ` contact_qq ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 买家VIP授权 - 应用商店 ' ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `sxo_plugins_store_vip`
--
LOCK TABLES ` sxo_plugins_store_vip ` WRITE ;
/* !40000 ALTER TABLE `sxo_plugins_store_vip` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `sxo_plugins_store_vip` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `sxo_plugins_store_vip_goods`
--
DROP TABLE IF EXISTS ` sxo_plugins_store_vip_goods ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` sxo_plugins_store_vip_goods ` (
` id ` bigint ( 20 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` vip_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' VIP授权id ' ,
` user_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 用户id ' ,
` goods_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 商品id ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` vip_id ` ( ` vip_id ` ) ,
KEY ` user_id ` ( ` user_id ` ) ,
KEY ` goods_id ` ( ` goods_id ` )
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 买家VIP授权商品 - 应用商店 ' ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `sxo_plugins_store_vip_goods`
--
LOCK TABLES ` sxo_plugins_store_vip_goods ` WRITE ;
/* !40000 ALTER TABLE `sxo_plugins_store_vip_goods` DISABLE KEYS */ ;
/* !40000 ALTER TABLE `sxo_plugins_store_vip_goods` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `sxo_plugins_store_warehouse_goods`
--
DROP TABLE IF EXISTS ` sxo_plugins_store_warehouse_goods ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` sxo_plugins_store_warehouse_goods ` (
` 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是) ' ,
` inventory ` int ( 10 ) 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 ` warehouse_id ` ( ` warehouse_id ` ) ,
KEY ` goods_id ` ( ` goods_id ` ) ,
KEY ` is_enable ` ( ` is_enable ` ) ,
KEY ` inventory ` ( ` inventory ` )
) ENGINE = InnoDB AUTO_INCREMENT = 4 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 仓库商品 - 应用商店 ' ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `sxo_plugins_store_warehouse_goods`
--
LOCK TABLES ` sxo_plugins_store_warehouse_goods ` WRITE ;
/* !40000 ALTER TABLE `sxo_plugins_store_warehouse_goods` DISABLE KEYS */ ;
INSERT INTO ` sxo_plugins_store_warehouse_goods ` VALUES ( 3 , 11 , 1 , 1 , 1105 , 1616226330 , 1616683740 ) ;
/* !40000 ALTER TABLE `sxo_plugins_store_warehouse_goods` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- Table structure for table `sxo_plugins_store_warehouse_goods_spec`
--
DROP TABLE IF EXISTS ` sxo_plugins_store_warehouse_goods_spec ` ;
/* !40101 SET @saved_cs_client = @@character_set_client */ ;
/* !40101 SET character_set_client = utf8 */ ;
CREATE TABLE ` sxo_plugins_store_warehouse_goods_spec ` (
` id ` int ( 11 ) unsigned NOT NULL AUTO_INCREMENT COMMENT ' 自增id ' ,
` warehouse_goods_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 仓库商品id ' ,
` warehouse_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 仓库id ' ,
` goods_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 商品id ' ,
` md5_key ` char ( 32 ) NOT NULL DEFAULT ' ' COMMENT ' md5key值 ' ,
` spec ` text COMMENT ' 规格值 ' ,
` inventory ` int ( 10 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 库存 ' ,
` add_time ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 添加时间 ' ,
PRIMARY KEY ( ` id ` ) ,
KEY ` warehouse_goods_id ` ( ` warehouse_goods_id ` ) ,
KEY ` warehouse_id ` ( ` warehouse_id ` ) ,
KEY ` goods_id ` ( ` goods_id ` ) ,
KEY ` md5_key ` ( ` md5_key ` ) ,
KEY ` inventory ` ( ` inventory ` )
) ENGINE = InnoDB AUTO_INCREMENT = 4 DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMMENT = ' 仓库商品规格 - 应用商店 ' ;
/* !40101 SET character_set_client = @saved_cs_client */ ;
--
-- Dumping data for table `sxo_plugins_store_warehouse_goods_spec`
--
LOCK TABLES ` sxo_plugins_store_warehouse_goods_spec ` WRITE ;
/* !40000 ALTER TABLE `sxo_plugins_store_warehouse_goods_spec` DISABLE KEYS */ ;
INSERT INTO ` sxo_plugins_store_warehouse_goods_spec ` VALUES ( 3 , 3 , 11 , 1 , ' c21f969b5f03d33d43e04f8f136e7682 ' , ' [] ' , 1105 , 1616683740 ) ;
/* !40000 ALTER TABLE `sxo_plugins_store_warehouse_goods_spec` ENABLE KEYS */ ;
UNLOCK TABLES ;
--
-- 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-02-23 12:17:43 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 472 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 */ ;
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>
/* !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 */ ;
INSERT INTO ` sxo_role ` VALUES ( 1 , ' 超级管理员 ' , 1 , 1481350313 , 0 ) , ( 13 , ' 管理员 ' , 1 , 1484402362 , 1607495066 ) ;
/* !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 ` )
2020-12-09 14:59:07 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 3562 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 */ ;
INSERT INTO ` sxo_role_power ` VALUES ( 3487 , 13 , 41 , 1607495066 ) , ( 3488 , 13 , 339 , 1607495066 ) , ( 3489 , 13 , 354 , 1607495066 ) , ( 3490 , 13 , 81 , 1607495066 ) , ( 3491 , 13 , 103 , 1607495066 ) , ( 3492 , 13 , 104 , 1607495066 ) , ( 3493 , 13 , 219 , 1607495066 ) , ( 3494 , 13 , 199 , 1607495066 ) , ( 3495 , 13 , 362 , 1607495066 ) , ( 3496 , 13 , 1 , 1607495066 ) , ( 3497 , 13 , 22 , 1607495066 ) , ( 3498 , 13 , 4 , 1607495066 ) , ( 3499 , 13 , 406 , 1607495066 ) , ( 3500 , 13 , 13 , 1607495066 ) , ( 3501 , 13 , 126 , 1607495066 ) , ( 3502 , 13 , 127 , 1607495066 ) , ( 3503 , 13 , 38 , 1607495066 ) , ( 3504 , 13 , 39 , 1607495066 ) , ( 3505 , 13 , 201 , 1607495066 ) , ( 3506 , 13 , 356 , 1607495066 ) , ( 3507 , 13 , 177 , 1607495066 ) , ( 3508 , 13 , 178 , 1607495066 ) , ( 3509 , 13 , 180 , 1607495066 ) , ( 3510 , 13 , 267 , 1607495066 ) , ( 3511 , 13 , 268 , 1607495066 ) , ( 3512 , 13 , 269 , 1607495066 ) , ( 3513 , 13 , 310 , 1607495066 ) , ( 3514 , 13 , 364 , 1607495066 ) , ( 3515 , 13 , 222 , 1607495066 ) , ( 3516 , 13 , 223 , 1607495066 ) , ( 3517 , 13 , 234 , 1607495066 ) , ( 3518 , 13 , 236 , 1607495066 ) , ( 3519 , 13 , 238 , 1607495066 ) , ( 3520 , 13 , 239 , 1607495066 ) , ( 3521 , 13 , 241 , 1607495066 ) , ( 3522 , 13 , 244 , 1607495066 ) , ( 3523 , 13 , 172 , 1607495066 ) , ( 3524 , 13 , 175 , 1607495066 ) , ( 3525 , 13 , 193 , 1607495066 ) , ( 3526 , 13 , 153 , 1607495066 ) , ( 3527 , 13 , 156 , 1607495066 ) , ( 3528 , 13 , 259 , 1607495066 ) , ( 3529 , 13 , 261 , 1607495066 ) , ( 3530 , 13 , 252 , 1607495066 ) , ( 3531 , 13 , 249 , 1607495066 ) , ( 3532 , 13 , 253 , 1607495066 ) , ( 3533 , 13 , 438 , 1607495066 ) , ( 3534 , 13 , 425 , 1607495066 ) , ( 3535 , 13 , 431 , 1607495066 ) , ( 3536 , 13 , 319 , 1607495066 ) , ( 3537 , 13 , 326 , 1607495066 ) , ( 3538 , 13 , 314 , 1607495066 ) , ( 3539 , 13 , 376 , 1607495066 ) , ( 3540 , 13 , 332 , 1607495066 ) , ( 3541 , 13 , 336 , 1607495066 ) , ( 3542 , 13 , 333 , 1607495066 ) , ( 3543 , 13 , 204 , 1607495066 ) , ( 3544 , 13 , 205 , 1607495066 ) , ( 3545 , 13 , 210 , 1607495066 ) , ( 3546 , 13 , 182 , 1607495066 ) , ( 3547 , 13 , 214 , 1607495066 ) , ( 3548 , 13 , 183 , 1607495066 ) , ( 3549 , 13 , 185 , 1607495066 ) , ( 3550 , 13 , 449 , 1607495066 ) , ( 3551 , 13 , 372 , 1607495066 ) , ( 3552 , 13 , 186 , 1607495066 ) , ( 3553 , 13 , 340 , 1607495066 ) , ( 3554 , 13 , 341 , 1607495066 ) , ( 3555 , 13 , 373 , 1607495066 ) , ( 3556 , 13 , 118 , 1607495066 ) , ( 3557 , 13 , 119 , 1607495066 ) , ( 3558 , 13 , 120 , 1607495066 ) , ( 3559 , 13 , 121 , 1607495066 ) , ( 3560 , 13 , 122 , 1607495066 ) , ( 3561 , 13 , 331 , 1607495066 ) ;
/* !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-07 14:17:35 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 24 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 */ ;
INSERT INTO ` sxo_search_history ` VALUES ( 1 , 0 , ' ' , ' ' , ' ' , ' ' , ' ' , ' ' , ' default ' , ' asc ' , ' {\"total\":12,\"data_count\":12,\"page\":1,\"page_total\":1} ' , 20210318 , 1616048141 ) , ( 2 , 0 , ' [\"3\"] ' , ' ' , ' ' , ' ' , ' ' , ' ' , ' default ' , ' asc ' , ' {\"total\":1,\"data_count\":1,\"page\":1,\"page_total\":1} ' , 20210318 , 1616048144 ) , ( 3 , 0 , ' [\"2\",\"3\"] ' , ' ' , ' ' , ' ' , ' ' , ' ' , ' default ' , ' asc ' , ' {\"total\":6,\"data_count\":6,\"page\":1,\"page_total\":1} ' , 20210318 , 1616048146 ) , ( 4 , 0 , ' [\"2\",\"3\"] ' , ' [\"3\"] ' , ' ' , ' ' , ' ' , ' ' , ' default ' , ' asc ' , ' {\"total\":0,\"data_count\":0,\"page\":1,\"page_total\":0} ' , 20210318 , 1616048146 ) , ( 5 , 0 , ' [\"2\",\"3\"] ' , ' [\"2\",\"3\"] ' , ' ' , ' ' , ' ' , ' ' , ' default ' , ' asc ' , ' {\"total\":4,\"data_count\":4,\"page\":1,\"page_total\":1} ' , 20210318 , 1616048147 ) , ( 6 , 0 , ' [\"2\",\"3\"] ' , ' [\"1\",\"2\",\"3\"] ' , ' ' , ' ' , ' ' , ' ' , ' default ' , ' asc ' , ' {\"total\":5,\"data_count\":5,\"page\":1,\"page_total\":1} ' , 20210318 , 1616048148 ) , ( 7 , 0 , ' [\"2\",\"3\"] ' , ' [\"1\",\"3\"] ' , ' ' , ' ' , ' ' , ' ' , ' default ' , ' asc ' , ' {\"total\":3,\"data_count\":3,\"page\":1,\"page_total\":1} ' , 20210318 , 1616048149 ) , ( 8 , 0 , ' [\"2\",\"3\"] ' , ' [\"1\"] ' , ' ' , ' ' , ' ' , ' ' , ' default ' , ' asc ' , ' {\"total\":3,\"data_count\":3,\"page\":1,\"page_total\":1} ' , 20210318 , 1616048149 ) , ( 9 , 0 , ' [\"2\",\"3\"] ' , ' ' , ' ' , ' ' , ' ' , ' ' , ' default ' , ' asc ' , ' {\"total\":6,\"data_count\":6,\"page\":1,\"page_total\":1} ' , 20210318 , 1616048151 ) , ( 10 , 0 , ' [\"2\",\"3\"] ' , ' [\"53\"] ' , ' ' , ' ' , ' ' , ' ' , ' default ' , ' asc ' , ' {\"total\":1,\"data_count\":1,\"page\":1,\"page_total\":1} ' , 20210318 , 1616048152 ) , ( 11 , 0 , ' [\"2\",\"3\"] ' , ' [\"53\",\"54\"] ' , ' ' , ' ' , ' ' , ' ' , ' default ' , ' asc ' , ' {\"total\":1,\"data_count\":1,\"page\":1,\"page_total\":1} ' , 20210318 , 1616048152 ) , ( 12 , 0 , ' [\"2\",\"3\"] ' , ' [\"53\",\"54\"] ' , ' ' , ' ' , ' [\"长款连衣裙\"] ' , ' ' , ' default ' , ' asc ' , ' {\"total\":1,\"data_count\":1,\"page\":1,\"page_total\":1} ' , 20210318 , 1616048154 ) , ( 13 , 0 , ' [\"2\",\"3\"] ' , ' [\"53\",\"54\"] ' , ' ' , ' ' , ' [\"长款连衣裙\"] ' , ' [\"64G\"] ' , ' default ' , ' asc ' , ' {\"total\":0,\"data_count\":0,\"page\":1,\"page_total\":0} ' , 20210318 , 1616048155 ) , ( 14 , 0 , ' [\"2\",\"3\"] ' , ' [\"53\",\"54\"] ' , ' ' , ' ' , ' [\"长款连衣裙\"] ' , ' [\"32G\",\"64G\"] ' , ' default ' , ' asc ' , ' {\"total\":0,\"data_count\":0,\"page\":1,\"page_total\":0} ' , 20210318 , 1616048155 ) , ( 15 , 1 , ' ' , ' ' , ' 女士 包 ' , ' ' , ' ' , ' ' , ' default ' , ' asc ' , ' {\"total\":12,\"data_count\":12,\"page\":1,\"page_total\":1} ' , 20210320 , 1616211652 ) , ( 16 , 1 , ' ' , ' ' , ' 女士 牛皮 ' , ' ' , ' ' , ' ' , ' default ' , ' asc ' , ' {\"total\":12,\"data_count\":12,\"page\":1,\"page_total\":1} ' , 20210320 , 1616212204 ) , ( 17 , 1 , ' ' , ' ' , ' iphone ' , ' ' , ' ' , ' ' , ' default ' , ' asc ' , ' {\"total\":1,\"data_count\":1,\"page\":1,\"page_total\":1} ' , 20210320 , 1616212280 ) , ( 18 , 1 , ' ' , ' ' , ' 女士 ' , ' ' , ' ' , ' ' , ' default ' , ' asc ' , ' {\"total\":3,\"data_count\":3,\"page\":1,\"page_total\":1} ' , 20210320 , 1616212299 ) , ( 19 , 1 , ' ' , ' ' , ' 女士 ' , ' ' , ' ' , ' ' , ' default ' , ' asc ' , ' {\"total\":3,\"data_count\":3,\"page\":1,\"page_total\":1} ' , 20210320 , 1616216148 ) , ( 20 , 1 , ' ' , ' ' , ' ' , ' ' , ' ' , ' ' , ' default ' , ' asc ' , ' {\"total\":13,\"data_count\":13,\"page\":1,\"page_total\":1} ' , 20210320 , 1616235451 ) , ( 21 , 1 , ' ' , ' ' , ' ' , ' ' , ' ' , ' ' , ' default ' , ' asc ' , ' {\"total\":13,\"data_count\":13,\"page\":1,\"page_total\":1} ' , 20210320 , 1616248852 ) , ( 22 , 1 , ' ' , ' ' , ' ' , ' ' , ' ' , ' ' , ' default ' , ' asc ' , ' {\"total\":1,\"data_count\":1,\"page\":1,\"page_total\":1} ' , 20210320 , 1616253365 ) , ( 23 , 1 , ' ' , ' ' , ' ' , ' ' , ' ' , ' ' , ' default ' , ' asc ' , ' {\"total\":1,\"data_count\":1,\"page\":1,\"page_total\":1} ' , 20210320 , 1616253373 ) ;
/* !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 ' ,
2021-04-07 14:17:35 +08:00
` plugins_user_level ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 会员等级增强版 ' ,
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 ` 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-07 14:17:35 +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_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 */ ;
INSERT INTO ` sxo_user ` VALUES ( 1 , ' ' , ' ' , ' ' , ' ' , ' ' , ' ' , ' ' , ' ' , 0 , ' 002750 ' , ' 0279c4a60792f761a525d0166a63c676 ' , ' ' , ' qqqqqq ' , ' ' , ' ' , ' ' , 0 , ' ' , ' ' , ' ' , 0 , ' ' , 0 , 0 , 0 , 0 , 0 , 1616053475 , 1616053475 ) ;
/* !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 ' ,
` user_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 站点所属用户id ' ,
` alias ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 别名 ' ,
` name ` char ( 60 ) NOT NULL DEFAULT ' ' COMMENT ' 姓名 ' ,
` tel ` char ( 15 ) NOT NULL DEFAULT ' ' COMMENT ' 电话 ' ,
` province ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 所在省 ' ,
` city ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 所在市 ' ,
` county ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 所在县/区 ' ,
` address ` char ( 80 ) NOT NULL DEFAULT ' ' COMMENT ' 详细地址 ' ,
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 ' ,
2021-04-07 14:17:35 +08:00
` store_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 应用商店id ' ,
` store_user_id ` int ( 11 ) unsigned NOT NULL DEFAULT ' 0 ' COMMENT ' 应用商店用户id ' ,
2020-07-08 19:47:19 +08:00
` 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-04-07 14:17:35 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 12 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 */ ;
INSERT INTO ` sxo_warehouse ` VALUES ( 2 , 0 , 0 , ' 默认仓库 ' , ' 苏州仓 ' , 23 , 1 , ' 龚福祥 ' , ' 17666666655 ' , 9 , 155 , 1936 , ' 川沙新镇华川家园111号 ' , - 1 . 1732520000 , - 14 . 8172230000 , 1 , 0 , 1594207406 , 1602428921 ) , ( 3 , 0 , 0 , ' 上海仓库 ' , ' 上海浦东 ' , 0 , 1 , ' devil ' , ' 13222333333 ' , 9 , 155 , 1937 , ' 张江高科 ' , 121 . 5942780000 , 31 . 2079170000 , 0 , 0 , 1594953987 , 1606744797 ) , ( 4 , 0 , 0 , ' 测试2 ' , ' ' , 1 , 1 , ' devil ' , ' 17602128368 ' , 1 , 37 , 568 , ' chuanshaxinzhen huachuanjiayuanEEE ' , 0 . 0000000000 , 0 . 0000000000 , 0 , 0 , 1603892369 , 1610687530 ) , ( 9 , 0 , 0 , ' ShopXO官方 ' , ' ' , 0 , 1 , ' ' , ' ' , 0 , 0 , 0 , ' ' , 0 . 0000000000 , 0 . 0000000000 , 0 , 1612763060 , 1612761633 , 1612763060 ) , ( 10 , 0 , 0 , ' ShopXO官方 ' , ' ' , 0 , 1 , ' devil ' , ' 1322223333 ' , 2 , 55 , 883 , ' 22 ' , 117 . 2131720000 , 39 . 1264020000 , 0 , 0 , 1612764752 , 1613407547 ) , ( 11 , 1 , 1 , ' ShopXO官方 ' , ' ' , 0 , 1 , ' ' , ' ' , 0 , 0 , 0 , ' ' , 0 . 0000000000 , 0 . 0000000000 , 0 , 0 , 1616225671 , 0 ) ;
/* !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-04-07 14:17:35 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 63 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 */ ;
INSERT INTO ` sxo_warehouse_goods ` VALUES ( 20 , 2 , 1 , 1 , 8 , 1595068577 , 1595068582 ) , ( 22 , 2 , 8 , 1 , 0 , 1595076197 , 1609744193 ) , ( 24 , 2 , 2 , 1 , 1994 , 1595077992 , 1609742277 ) , ( 25 , 2 , 7 , 1 , 217 , 1595863207 , 1598698236 ) , ( 26 , 2 , 12 , 1 , 15 , 1596084332 , 1616225714 ) , ( 49 , 2 , 10 , 1 , 8 , 1596635742 , 1606792889 ) , ( 50 , 2 , 9 , 1 , 74 , 1596635833 , 1602671920 ) , ( 51 , 4 , 8 , 1 , 2 , 1605345085 , 1609744193 ) , ( 52 , 4 , 9 , 0 , 999 , 1605345089 , 1606744261 ) , ( 53 , 2 , 11 , 1 , 1332 , 1605432741 , 1610109196 ) , ( 54 , 2 , 6 , 1 , 664 , 1605432742 , 1605432769 ) , ( 55 , 2 , 5 , 1 , 554 , 1605432742 , 1605432763 ) , ( 56 , 2 , 4 , 1 , 0 , 1605432743 , 1613732942 ) , ( 57 , 2 , 3 , 1 , 332 , 1605432744 , 1606704142 ) , ( 58 , 3 , 12 , 1 , 15 , 1606744165 , 1616225714 ) , ( 59 , 3 , 9 , 1 , 0 , 1606744566 , 0 ) , ( 60 , 4 , 12 , 1 , 30 , 1606802328 , 1616225714 ) , ( 61 , 3 , 11 , 1 , 66 , 1608714423 , 1610109196 ) , ( 62 , 11 , 13 , 1 , 1105 , 1616226330 , 1616683740 ) ;
/* !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-04-07 14:17:35 +08:00
) ENGINE = InnoDB AUTO_INCREMENT = 1459 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 */ ;
INSERT INTO ` sxo_warehouse_goods_spec ` VALUES ( 357 , 25 , 2 , 7 , ' c21f969b5f03d33d43e04f8f136e7682 ' , ' default ' , 217 , 1598698236 ) , ( 718 , 55 , 2 , 5 , ' c21f969b5f03d33d43e04f8f136e7682 ' , ' default ' , 554 , 1605432763 ) , ( 719 , 54 , 2 , 6 , ' c21f969b5f03d33d43e04f8f136e7682 ' , ' default ' , 664 , 1605432769 ) , ( 735 , 57 , 2 , 3 , ' c21f969b5f03d33d43e04f8f136e7682 ' , ' default ' , 332 , 1606704142 ) , ( 922 , 50 , 2 , 9 , ' d15560adc3d2ddf952ec40d874566fc0 ' , ' [{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺码\",\"value\":\"S\"}] ' , 5 , 1606745040 ) , ( 923 , 50 , 2 , 9 , ' 2767f06d6a715b3915ca3c5443efc170 ' , ' [{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺码\",\"value\":\"M\"}] ' , 2 , 1606745040 ) , ( 924 , 50 , 2 , 9 , ' d0d686188b3e2b0b7ae12040fd508f03 ' , ' [{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺码\",\"value\":\"L\"}] ' , 4 , 1606745040 ) , ( 925 , 50 , 2 , 9 , ' 910613b82f64796470c2243f8e306797 ' , ' [{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺码\",\"value\":\"XL\"}] ' , 5 , 1606745040 ) , ( 926 , 50 , 2 , 9 , ' 4acc2580a89270113477b4b8466ecef9 ' , ' [{\"type\":\"颜色\",\"value\":\"粉色\"},{\"type\":\"尺码\",\"value\":\"S\"}] ' , 5 , 1606745040 ) , ( 927 , 50 , 2 , 9 , ' b0935dae40102d2bcbd588fc50a6a118 ' , ' [{\"type\":\"颜色\",\"value\":\"粉色\"},{\"type\":\"尺码\",\"value\":\"M\"}] ' , 0 , 1606745040 ) , ( 928 , 50 , 2 , 9 , ' 5b51b52dde87b3608c97ff80a2215275 ' , ' [{\"type\":\"颜色\",\"value\":\"粉色\"},{\"type\":\"尺码\",\"value\":\"L\"}] ' , 1 , 1606745040 ) , ( 929 , 50 , 2 , 9 , ' 2f3924a3bf7c8491af2dad598b54764f ' , ' [{\"type\":\"颜色\",\"value\":\"黑色\"},{\"type\":\"尺码\",\"value\":\"S\"}] ' , 5 , 1606745040 ) , ( 930 , 50 , 2 , 9 , ' 5f077e081d727adcb617a413f038d043 ' , ' [{\"type\":\"颜色\",\"value\":\"黑色\"},{\"type\":\"尺码\",\"value\":\"XL\"}] ' , 4 , 1606745040 ) , ( 931 , 52 , 4 , 9 , ' d15560adc3d2ddf952ec40d874566fc0 ' , ' [{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺码\",\"value\":\"S\"}] ' , 5 , 1606745040 ) , ( 932 , 52 , 4 , 9 , ' 2767f06d6a715b3915ca3c5443efc170 ' , ' [{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺码\",\"value\":\"M\"}] ' , 5 , 1606745040 ) , ( 933 , 52 , 4 , 9 , ' d0d686188b3e2b0b7ae12040fd508f03 ' , ' [{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺码\",\"value\":\"L\"}] ' , 5 , 1606745040 ) , ( 934 , 52 , 4 , 9 , ' 910613b82f64796470c2243f8e306797 ' , ' [{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺码\",\"value\":\"XL\"}] ' , 5 , 1606745040 ) , ( 935 , 52 , 4 , 9 , ' 4acc2580a89270113477b4b8466ecef9 ' , ' [{\"type\":\"颜色\",\"value\":\"粉色\"},{\"type\":\"尺码\",\"value\":\"S\"}] ' , 5 , 1606745040 ) , ( 936 , 52 , 4 , 9 , ' b0935dae40102d2bcbd588fc50a6a118 ' , ' [{\"type\":\"颜色\",\"value\":\"粉色\"},{\"type\":\"尺码\",\"value\":\"M\"}] ' , 5 , 1606745040 ) , ( 937 , 52 , 4 , 9 , ' 5b51b52dde87b3608c97ff80a2215275 ' , ' [{\"type\":\"颜色\",\"value\":\"粉色\"},{\"type\":\"尺码\",\"value\":\"L\"}] ' , 5 , 1606745040 ) , ( 938 , 52 , 4 , 9 , ' 2f3924a3bf7c8491af2dad598b54764f ' , ' [{\"type\":\"颜色\",\"value\":\"黑色\"},{\"type\":\"尺码\",\"value\":\"S\"}] ' , 5 , 1606745040 ) , ( 939 , 52 , 4 , 9 , ' 5f077e081d727adcb617a413f038d043 ' , ' [{\"type\":\"颜色\",\"value\":\"黑色\"},{\"type\":\"尺码\",\"value\":\"XL\"}] ' , 5 , 1606745040 ) , ( 940 , 59 , 3 , 9 , ' d15560adc3d2ddf952ec40d874566fc0 ' , ' [{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺码\",\"value\":\"S\"}] ' , 100 , 1606745040 ) , ( 941 , 59 , 3 , 9 , ' 2767f06d6a715b3915ca3c5443efc170 ' , ' [{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺码\",\"value\":\"M\"}] ' , 100 , 1606745040 ) , ( 942 , 59 , 3 , 9 , ' d0d686188b3e2b0b7ae12040fd508f03 ' , ' [{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺码\",\"value\":\"L\"}] ' , 100 , 1606745040 ) , ( 943 , 59 , 3 , 9 , ' 910613b82f64796470c2243f8e306797 ' , ' [{\"type\":\"颜色\",\"value\":\"白色\"},{\"type\":\"尺码\",\"value\":\"XL\"}] ' , 100 , 1606745040 ) , ( 944 , 59 , 3 , 9 , ' 4acc2580a89270113477b4b8466ecef9 ' , ' [{\"type\":\"颜色\",\"value\":\"粉色\"},{\"type\":\"尺码\",\"value\":\"S\"}] ' , 100 , 1606745040 ) , ( 945 , 59 , 3 , 9 , ' b0935dae40102d2bcbd588fc50a6a118 ' , ' [{\"type\":\"颜色\",\"value\":\"粉色\"},{\"type\":\"尺码\",\"value\":\"M\"}] ' , 100 , 1606745040 ) , ( 946 , 59 , 3 , 9 , ' 5b51b52dde87b3608c97ff80a2215275 ' , ' [{\"type\":\"颜色\",\"value\":\"粉色\"},{\"type\":\"尺码\",\"value\":\"L\"}] ' , 100 , 1606745040 ) , ( 947 , 59 , 3 , 9 , ' 2f3924a3bf7c8491af2dad598b54764f ' , ' [{\"type\":\"颜色\",\"value\":\"黑色
/* !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-04-07 14:17:35 +08:00
-- Dump completed on 2021-03-29 16:48:23