移动端多门店完成及其导出新sql

This commit is contained in:
hupeng
2020-03-26 17:31:08 +08:00
parent e1b0b98cbc
commit ee423b83b5
21 changed files with 4676 additions and 3238 deletions

18
sql/yshop2.1升级sql.txt Normal file
View File

@ -0,0 +1,18 @@
CREATE TABLE `yx_system_store_staff` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`uid` int(10) unsigned NOT NULL COMMENT '微信用户id',
`nickname` varchar(50) NOT NULL,
`avatar` varchar(255) NOT NULL DEFAULT '' COMMENT '店员头像',
`store_id` int(11) NOT NULL COMMENT '门店id',
`store_name` varchar(50) DEFAULT NULL,
`staff_name` varchar(64) DEFAULT '' COMMENT '店员名称',
`phone` char(15) DEFAULT NULL COMMENT '手机号码',
`verify_status` tinyint(2) NOT NULL DEFAULT '0' COMMENT '核销开关',
`status` tinyint(2) DEFAULT '1' COMMENT '状态',
`add_time` int(10) DEFAULT NULL COMMENT '添加时间',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='门店店员表';
ALTER TABLE `yshop`.`yx_user_recharge`
ADD COLUMN `give_price` decimal(8, 2) NULL DEFAULT 0 COMMENT '赠送金额' AFTER `price`