This commit is contained in:
liupopo
2023-11-21 18:58:13 +08:00
parent 624a3ee642
commit e356fd327a
59 changed files with 136 additions and 0 deletions

View File

@@ -0,0 +1,129 @@
DROP TABLE IF EXISTS `lpk_customer`;
CREATE TABLE `lpk_customer` (
`id` BIGINT(32) NOT NULL AUTO_INCREMENT COMMENT 'ID唯一编号',
`sid` VARCHAR(64) NOT NULL COMMENT 'sid',
`createTime` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '记录创建时间',
`remarks` VARCHAR(255) NULL DEFAULT NULL COMMENT '备注信息',
`isEnable` int(11) DEFAULT 1 COMMENT '是否可用',
`wx_mp_openid` VARCHAR(100) NULL DEFAULT NULL COMMENT '微信小程序OpenId',
`mobile` VARCHAR(100) NULL DEFAULT NULL COMMENT '手机号',
`bindDate` datetime NULL DEFAULT NULL COMMENT '手机号绑定时间',
`realName` VARCHAR(100) NULL DEFAULT NULL COMMENT '真实姓名',
`nick` VARCHAR(100) NULL DEFAULT NULL COMMENT '昵称',
`photo` VARCHAR(1024) NULL DEFAULT NULL COMMENT '头像',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB COMMENT='客户信息';
DROP TABLE IF EXISTS `lpk_goods`;
CREATE TABLE `lpk_goods` (
`id` BIGINT(32) NOT NULL AUTO_INCREMENT COMMENT 'ID唯一编号',
`sid` VARCHAR(64) NOT NULL COMMENT 'sid',
`createTime` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '记录创建时间',
`remarks` VARCHAR(255) NULL DEFAULT NULL COMMENT '备注信息',
`isEnable` int(11) DEFAULT 1 COMMENT '是否可用',
`code` VARCHAR(100) NULL DEFAULT NULL COMMENT '商品编码',
`barcode` VARCHAR(100) NULL DEFAULT NULL COMMENT '商品条码',
`name` VARCHAR(100) NULL DEFAULT NULL COMMENT '商品名',
`unitName` VARCHAR(100) NULL DEFAULT NULL COMMENT '单位,如:公斤、瓶',
`typeCode` VARCHAR(100) NULL DEFAULT NULL COMMENT '类别编码',
`typeName` VARCHAR(100) NULL DEFAULT NULL COMMENT '类别名称',
`price` double(12,2) NULL DEFAULT NULL COMMENT '商品价格',
`picUrl` VARCHAR(1024) NULL DEFAULT NULL COMMENT '商品图片URL',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB COMMENT='商品信息';
DROP TABLE IF EXISTS `lpk_giftbag`;
CREATE TABLE `lpk_giftbag` (
`id` BIGINT(32) NOT NULL AUTO_INCREMENT COMMENT 'ID唯一编号',
`sid` VARCHAR(64) NOT NULL COMMENT 'sid',
`createTime` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '记录创建时间',
`remarks` VARCHAR(255) NULL DEFAULT NULL COMMENT '备注信息',
`isEnable` int(11) DEFAULT 1 COMMENT '是否可用',
`name` VARCHAR(100) NULL DEFAULT NULL COMMENT '礼包名',
`dateStart` datetime NULL DEFAULT NULL COMMENT '有效起始日期',
`dateEnd` datetime NULL DEFAULT NULL COMMENT '有效终止日期',
`boundary` VARCHAR(1024) NULL DEFAULT NULL COMMENT '发放条件',
`boundaryPrice` double(12,2) NULL DEFAULT NULL COMMENT '边界金额',
`iconUrl` VARCHAR(1024) NULL DEFAULT NULL COMMENT '礼包Icon的URL',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB COMMENT='礼包信息';
DROP TABLE IF EXISTS `lpk_giftbag_goods`;
CREATE TABLE `lpk_giftbag_goods` (
`id` BIGINT(32) NOT NULL AUTO_INCREMENT COMMENT 'ID唯一编号',
`sid` VARCHAR(64) NOT NULL COMMENT 'sid',
`createTime` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '记录创建时间',
`remarks` VARCHAR(255) NULL DEFAULT NULL COMMENT '备注信息',
`giftbagSid` VARCHAR(100) NULL DEFAULT NULL COMMENT '礼包Sid',
`goodsSid` VARCHAR(100) NULL DEFAULT NULL COMMENT '商品Sid',
`goodsNumber` int(11) DEFAULT 1 COMMENT '商品数量',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB COMMENT='礼包包含商品信息';
DROP TABLE IF EXISTS `lpk_giftcard`;
CREATE TABLE `lpk_giftcard` (
`id` BIGINT(32) NOT NULL AUTO_INCREMENT COMMENT 'ID唯一编号',
`sid` VARCHAR(64) NOT NULL COMMENT 'sid',
`createTime` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '记录创建时间',
`remarks` VARCHAR(255) NULL DEFAULT NULL COMMENT '备注信息',
`isEnable` int(11) DEFAULT 1 COMMENT '是否可用',
`giftbagSid` VARCHAR(100) NULL DEFAULT NULL COMMENT '礼包Sid',
`code` VARCHAR(100) NULL DEFAULT NULL COMMENT '卡号',
`codeKey` VARCHAR(100) NULL DEFAULT NULL COMMENT '提货密钥',
`state` int(11) DEFAULT 1 COMMENT '状态1=未发放,2=未绑定客户,3=未提货,4=已经预约提货(预约部分提货),5=已经提取完成',
`grantName` VARCHAR(100) NULL DEFAULT NULL COMMENT '发放人(行、店)名称',
`grantDate` datetime NULL DEFAULT NULL COMMENT '发放时间',
`customerMobile` VARCHAR(100) NULL DEFAULT NULL COMMENT '绑定客户电话',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB COMMENT='礼包卡信息';
DROP TABLE IF EXISTS `lpk_store`;
CREATE TABLE `lpk_store` (
`id` BIGINT(32) NOT NULL AUTO_INCREMENT COMMENT 'ID唯一编号',
`sid` VARCHAR(64) NOT NULL COMMENT 'sid',
`createTime` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '记录创建时间',
`remarks` VARCHAR(255) NULL DEFAULT NULL COMMENT '备注信息',
`isEnable` int(11) DEFAULT 1 COMMENT '是否可用',
`code` VARCHAR(100) NULL DEFAULT NULL COMMENT '编号',
`name` VARCHAR(100) NULL DEFAULT NULL COMMENT '名称',
`address` VARCHAR(100) NULL DEFAULT NULL COMMENT '地址',
`phone` VARCHAR(100) NULL DEFAULT NULL COMMENT '电话',
`businessHours` VARCHAR(100) NULL DEFAULT NULL COMMENT '营业时间提货时间早X点到晚X点',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB COMMENT='取货点(门店)信息';
DROP TABLE IF EXISTS `lpk_reserve_order`;
CREATE TABLE `lpk_reserve_order` (
`id` BIGINT(32) NOT NULL AUTO_INCREMENT COMMENT 'ID唯一编号',
`sid` VARCHAR(64) NOT NULL COMMENT 'sid',
`createTime` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '记录创建时间',
`remarks` VARCHAR(255) NULL DEFAULT NULL COMMENT '备注信息',
`isEnable` int(11) DEFAULT 1 COMMENT '是否可用',
`code` VARCHAR(100) NULL DEFAULT NULL COMMENT '编号',
`name` VARCHAR(100) NULL DEFAULT NULL COMMENT '名称',
`address` VARCHAR(100) NULL DEFAULT NULL COMMENT '地址',
`phone` VARCHAR(100) NULL DEFAULT NULL COMMENT '电话',
`businessHours` VARCHAR(100) NULL DEFAULT NULL COMMENT '营业时间提货时间早X点到晚X点',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB COMMENT='取货点(门店)信息';

7
docs/info.txt Normal file
View File

@@ -0,0 +1,7 @@
小程序id wx4724e3a3c27f36b5
登录邮箱 lzh@yxtsoft.com
汇融惠享
AppID(小程序ID) wx4724e3a3c27f36b5
AppSecret(小程序密钥) 971fd3b8aa7b08ce3e8a5f3e502b1a8d

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 155 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 155 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 KiB