diff --git a/config/shopxo.sql b/config/shopxo.sql index 720476299..d82c6acfb 100644 --- a/config/shopxo.sql +++ b/config/shopxo.sql @@ -11,7 +11,7 @@ Target Server Version : 50722 File Encoding : utf-8 - Date: 08/23/2019 11:33:32 AM + Date: 08/27/2019 18:29:07 PM */ SET NAMES utf8mb4; @@ -400,7 +400,6 @@ CREATE TABLE `s_goods` ( `access_count` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '访问次数', `video` char(255) NOT NULL DEFAULT '' COMMENT '短视频', `home_recommended_images` char(255) NOT NULL DEFAULT '' COMMENT '首页推荐图片', - `plugins_membershiplevelvip_price_extends` mediumtext COMMENT '会员等级增强版价格扩展数据', `is_exist_many_spec` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否存在多个规格(0否, 1是)', `seo_title` char(100) NOT NULL DEFAULT '' COMMENT 'SEO标题', `seo_keywords` char(130) NOT NULL DEFAULT '' COMMENT 'SEO关键字', @@ -419,7 +418,7 @@ CREATE TABLE `s_goods` ( -- Records of `s_goods` -- ---------------------------- BEGIN; -INSERT INTO `s_goods` VALUES ('1', '1', 'MIUI/小米 小米手机4 小米4代 MI4智能4G手机包邮 黑色 D-LTE(4G)/TD-SCD', '', '', '', '0', '119', '步', '/static/upload/images/goods/2019/01/14/1547450781101144.jpg', '3200.00', '3200.00', '3200.00', '2100.00', '2100.00', '2100.00', '10', '1', '0', '1', '1', '1', '


', '2', '5', '81', '', '/static/upload/images/goods/2019/01/14/1547450781101144.jpg', null, '0', '', '', '', '0', '1547450921', '1554556830'), ('2', '2', '苹果(Apple)iPhone 6 Plus (A1524)移动联通电信4G手机 金色 16G', '', '', 'iPhone 6 Plus', '0', '1683', '步', '/static/upload/images/goods/2019/01/14/1547451274847894.jpg', '6000.00-7600.00', '6000.00', '7600.00', '4500.00-6800.00', '4500.00', '6800.00', '30', '1', '0', '1', '1', '1', '


', '2', '14', '1128', '/static/upload/video/goods/2019/01/14/1547458876723311.mp4', '/static/upload/images/goods/2019/01/14/1547451274847894.jpg', null, '1', '', '', '', '0', '1547451624', '1564735109'), ('3', '2', 'Samsung/三星 SM-G8508S GALAXY Alpha四核智能手机 新品 闪耀白', '', '', '', '0', '232', '步', '/static/upload/images/goods/2019/01/14/1547451909951171.jpg', '6866.00', '6866.00', '6866.00', '3888.00', '3888.00', '3888.00', '20', '1', '0', '1', '1', '1', '


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


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


', '2', '7', '387', '', '/static/upload/images/goods/2019/01/14/1547452714324599.jpg', null, '0', '', '', '', '0', '1547452798', '1547452798'), ('6', '1', 'vivo X5MAX L 移动4G 八核超薄大屏5.5吋双卡手机vivoX5max', '', '', '', '0', '316', '步', '/static/upload/images/goods/2019/01/14/1547453000703308.jpg', '3200.00', '3200.00', '3200.00', '2998.90', '2998.90', '2998.90', '65', '1', '0', '1', '1', '1', '

 X5L/SL/V/M (5.0寸)  X5max钢化膜(5.5寸)  X5pro钢化膜(5.2寸) 



', '2', '1', '305', '', '/static/upload/images/goods/2019/01/14/1547453000703308.jpg', null, '0', '', '', '', '0', '1547453135', '1564057484'), ('7', '1', '纽芝兰包包女士2018新款潮百搭韩版时尚单肩斜挎包少女小挎包链条', '', '', '', '0', '312', '件', '/static/upload/images/goods/2019/01/14/1547453895416529.jpg', '760.00', '760.00', '760.00', '168.00', '168.00', '168.00', '11', '1', '0', '1', '1', '1', '


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


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


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

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

【吊牌】xueyuanfeng 猫咪良品

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

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

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

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


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


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

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

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


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

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

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


', '2', '0', '364', '', '/static/upload/images/goods/2019/01/14/1547455222990904.jpg', '{\"20190821193628428772\":{\"min_price\":\"68.00\",\"max_price\":\"68.00\",\"price\":\"68.00\"}}', '0', '', '', '', '0', '1547455375', '1566387763'), ('11', '0', '夏季复古ins风格网红SP同款 短袖大圆领香槟色蕾丝绣花钉珠连衣裙', '', '', '', '0', '36665983', '件', '/static/upload/images/goods/2019/01/14/1547455601314107.jpg', '268.00-422.00', '268.00', '422.00', '160.00-258.00', '160.00', '258.00', '1', '1', '0', '1', '1', '1', '

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

【吊牌】xueyuanfeng 猫咪良品

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

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

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

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


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


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

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

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


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

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

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

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



', '4', '1', '218', '', '/static/upload/images/goods/2019/01/14/1547455566118614.jpg', null, '0', '', '', '', '0', '1547455700', '1564049598'), ('12', '2', 'ZK星星绣花雪纺连衣裙中长款sukol裙少女心温柔超仙女chic裙子夏', '', '轻奢醋酸面料,高标准的生产要求,品质保证', 'xxxxhhhhhh商品型号', '0', '282', '件', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '150.00-188.00', '150.00', '188.00', '0.01-128.00', '0.01', '128.00', '3', '1', '0', '1', '1', '1', '
112233445566
qwerty
asdfgh
zxcvbn



\"d-1.jpg\"/

\"d-2.jpg\"/

', '3', '2', '770', '', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '{\"20190821193628428772\":{\"min_price\":\"0.01\",\"max_price\":\"128.00\",\"price\":\"0.01-128.00\"}}', '1', 'ZK爆款连衣裙', '连衣裙,裙子', '夏季连衣裙,瘦身裙子', '0', '1547456230', '1566387775'); +INSERT INTO `s_goods` VALUES ('1', '1', 'MIUI/小米 小米手机4 小米4代 MI4智能4G手机包邮 黑色 D-LTE(4G)/TD-SCD', '', '', '', '0', '119', '步', '/static/upload/images/goods/2019/01/14/1547450781101144.jpg', '3200.00', '3200.00', '3200.00', '2100.00', '2100.00', '2100.00', '10', '1', '0', '1', '1', '1', '


', '2', '5', '81', '', '/static/upload/images/goods/2019/01/14/1547450781101144.jpg', '0', '', '', '', '0', '1547450921', '1554556830'), ('2', '2', '苹果(Apple)iPhone 6 Plus (A1524)移动联通电信4G手机 金色 16G', '', '', 'iPhone 6 Plus', '0', '1683', '步', '/static/upload/images/goods/2019/01/14/1547451274847894.jpg', '6000.00-7600.00', '6000.00', '7600.00', '4500.00-6800.00', '4500.00', '6800.00', '30', '1', '0', '1', '1', '1', '


', '2', '14', '1128', '/static/upload/video/goods/2019/01/14/1547458876723311.mp4', '/static/upload/images/goods/2019/01/14/1547451274847894.jpg', '1', '', '', '', '0', '1547451624', '1564735109'), ('3', '2', 'Samsung/三星 SM-G8508S GALAXY Alpha四核智能手机 新品 闪耀白', '', '', '', '0', '232', '步', '/static/upload/images/goods/2019/01/14/1547451909951171.jpg', '6866.00', '6866.00', '6866.00', '3888.00', '3888.00', '3888.00', '20', '1', '0', '1', '1', '1', '


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


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


', '2', '7', '387', '', '/static/upload/images/goods/2019/01/14/1547452714324599.jpg', '0', '', '', '', '0', '1547452798', '1547452798'), ('6', '1', 'vivo X5MAX L 移动4G 八核超薄大屏5.5吋双卡手机vivoX5max', '', '', '', '0', '316', '步', '/static/upload/images/goods/2019/01/14/1547453000703308.jpg', '3200.00', '3200.00', '3200.00', '2998.90', '2998.90', '2998.90', '65', '1', '0', '1', '1', '1', '

 X5L/SL/V/M (5.0寸)  X5max钢化膜(5.5寸)  X5pro钢化膜(5.2寸) 



', '2', '1', '305', '', '/static/upload/images/goods/2019/01/14/1547453000703308.jpg', '0', '', '', '', '0', '1547453135', '1564057484'), ('7', '1', '纽芝兰包包女士2018新款潮百搭韩版时尚单肩斜挎包少女小挎包链条', '', '', '', '0', '312', '件', '/static/upload/images/goods/2019/01/14/1547453895416529.jpg', '760.00', '760.00', '760.00', '168.00', '168.00', '168.00', '11', '1', '0', '1', '1', '1', '


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


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


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

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

【吊牌】xueyuanfeng 猫咪良品

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

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

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

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


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


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

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

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


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

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

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


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

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

【吊牌】xueyuanfeng 猫咪良品

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

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

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

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


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


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

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

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


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

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

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

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



', '4', '1', '218', '', '/static/upload/images/goods/2019/01/14/1547455566118614.jpg', '0', '', '', '', '0', '1547455700', '1564049598'), ('12', '2', 'ZK星星绣花雪纺连衣裙中长款sukol裙少女心温柔超仙女chic裙子夏', '', '轻奢醋酸面料,高标准的生产要求,品质保证', 'xxxxhhhhhh商品型号', '0', '282', '件', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '150.00-188.00', '150.00', '188.00', '0.01-128.00', '0.01', '128.00', '3', '1', '0', '1', '1', '1', '
112233445566
qwerty
asdfgh
zxcvbn



\"d-1.jpg\"/

\"d-2.jpg\"/

', '3', '2', '770', '', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '1', 'ZK爆款连衣裙', '连衣裙,裙子', '夏季连衣裙,瘦身裙子', '0', '1547456230', '1566387775'); COMMIT; -- ---------------------------- @@ -947,61 +946,6 @@ CREATE TABLE `s_plugins` ( KEY `is_enable` (`is_enable`) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='应用'; --- ---------------------------- --- Table structure for `s_plugins_coupon` --- ---------------------------- -DROP TABLE IF EXISTS `s_plugins_coupon`; -CREATE TABLE `s_plugins_coupon` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增id', - `name` char(30) NOT NULL DEFAULT '' COMMENT '名称', - `desc` char(60) NOT NULL DEFAULT '' COMMENT '描述', - `bg_color` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '优惠券颜色(0红色, 1紫色, 2黄色, 3蓝色, 4橙色, 5绿色, 6咖啡色)', - `type` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '优惠券类型(0满减劵, 1折扣劵)', - `discount_value` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '减免金额 | 折扣系数 0-10,9.5代表9.5折,0或空代表无折扣', - `expire_type` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '优惠券类型(0领取生效, 1固定日期)', - `expire_hour` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '有效小时(单位 时)', - `fixed_time_start` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '限时开始时间', - `fixed_time_end` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '限时结束时间', - `where_order_price` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '订单最低金额', - `use_limit_type` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '使用限制(0不限, 1商品分类, 2商品)', - `use_value_ids` text COMMENT '关联商品分类id 或 关联商品id(以json存储)', - `limit_send_count` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '限制发放总数量(0则不限)', - `already_send_count` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '已发放总数量(0则不限)', - `sort` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '排序', - `is_enable` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否启用(0否,1是)', - `is_user_receive` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否开放用户领取(0否, 1是)', - `is_regster_send` 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 `type` (`type`), - KEY `is_enable` (`is_enable`), - KEY `sort` (`sort`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='优惠劵 - 应用'; - --- ---------------------------- --- Table structure for `s_plugins_coupon_user` --- ---------------------------- -DROP TABLE IF EXISTS `s_plugins_coupon_user`; -CREATE TABLE `s_plugins_coupon_user` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增id', - `coupon_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '优惠劵id', - `user_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '用户id', - `time_start` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '有效开始时间', - `time_end` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '有效结束时间', - `is_valid` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否有效(0否,1是)', - `is_expire` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否已过期(0否,1是)', - `is_use` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否已使用(0否,1是)', - `use_order_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '使用关联的订单id', - `use_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 `coupon_id` (`coupon_id`), - KEY `user_id` (`user_id`), - KEY `is_valid` (`is_valid`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='用户优惠劵 - 应用'; - -- ---------------------------- -- Table structure for `s_power` -- ---------------------------- @@ -1255,7 +1199,6 @@ CREATE TABLE `s_user` ( `integral` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '积分', `locking_integral` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '锁定积分', `referrer` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '推荐人用户id', - `plugins_user_level` char(60) NOT NULL DEFAULT '' COMMENT '会员等级增强版', `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 '更新时间',