liupopo 1 year ago
parent
commit
85d641b1fa
  1. 19
      docs/databases/table_create.sql
  2. 14
      pom.xml
  3. 4
      src/main/resources/application-pro.yml

19
docs/databases/table_create.sql

@ -69,6 +69,24 @@ CREATE TABLE `lpk_giftbag_goods` (
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB COMMENT='礼包包含商品信息';
DROP TABLE IF EXISTS `lpk_card_build_record`;
CREATE TABLE `lpk_card_build_record` (
`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',
`buildDate` datetime NULL DEFAULT NULL COMMENT '创建时间',
`countNumber` int(11) DEFAULT 1 COMMENT '本次创建卡的张数',
`startNumber` VARCHAR(100) NULL DEFAULT NULL COMMENT '起始号',
`endNumber` VARCHAR(100) NULL DEFAULT NULL 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,唯一编号',
@ -77,6 +95,7 @@ CREATE TABLE `lpk_giftcard` (
`remarks` VARCHAR(255) NULL DEFAULT NULL COMMENT '备注信息',
`isEnable` int(11) DEFAULT 1 COMMENT '是否可用',
`recordSid` VARCHAR(100) NULL DEFAULT NULL COMMENT '礼包卡创建记录id',
`giftbagSid` VARCHAR(100) NULL DEFAULT NULL COMMENT '礼包Sid',
`serialNumber` VARCHAR(100) NULL DEFAULT NULL COMMENT '序列号(长8位的数字串)',

14
pom.xml

@ -25,8 +25,8 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
</dependency>
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
@ -87,9 +87,13 @@
</dependency>
<dependency>
<groupId>com.google.zxing</groupId>
<artifactId>zxing-parent</artifactId>
<version>3.5.1</version>
<type>pom</type>
<artifactId>core</artifactId>
<version>3.5.2</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>easyexcel</artifactId>
<version>3.3.2</version>
</dependency>
</dependencies>

4
src/main/resources/application-pro.yml

@ -22,8 +22,8 @@ spring:
timeout: 0 # 连接超时时间(毫秒)
image:
upload:
path: D:/supervise/upload/
path: D:/webapps/lipinka/yyth-ui/upload/
url:
prefix: http://127.0.0.1/api/upload/
prefix: https://supervise.yxtsoft.com/lpk/upload/
import:
filePath: D:/yxt-supervise-gf/upload/
Loading…
Cancel
Save