调整配置文件

This commit is contained in:
xuwenbo
2020-05-20 13:41:47 +08:00
parent 81a097714e
commit 6e900dc113
4 changed files with 14 additions and 23 deletions

View File

@ -107,7 +107,7 @@ public interface ShopConstants {
/**
* 签到天数
*/
String YSHOP_SIGN_DAY_NUM = "sign_day_num";
String YSHOP_SIGN_DAY_NUM = "yshop_sign_day_num";
/**
* 打印机配置

View File

@ -94,12 +94,4 @@ file:
avatarMaxSize: 5
localUrl: http://127.0.0.1:8000
mybatis-plus:
check-config-location: true
configuration:
map-underscore-to-camel-case: true
global-config:
db-config:
id-type: auto
logic-delete-value: 1
logic-not-delete-value: 0

View File

@ -6,7 +6,7 @@ spring:
druid:
type: com.alibaba.druid.pool.DruidDataSource
driverClassName: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
url: jdbc:log4jdbc:mysql://localhost:3366/yxshop?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false
url: jdbc:log4jdbc:mysql://localhost:3306/yshop?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false
username: root
password: root
@ -96,17 +96,7 @@ file:
# 文件大小 /M
maxSize: 100
avatarMaxSize: 5
localUrl: https://cdn.jidanguo10.com
mybatis-plus:
check-config-location: true
configuration:
map-underscore-to-camel-case: true
global-config:
db-config:
id-type: id_worker
logic-delete-value: 1
logic-not-delete-value: 0
mapper-locations: classpath*:mapper/**/*Mapper.xml
localUrl:
yshop:
hApi: https://127.0.0.1:8000

View File

@ -54,7 +54,16 @@ yshop:
appKey: 81f43a2e-f504-45c4-9b54-2637d59f8190
apiUrl: http://127.0.0.1:8009/api
mybatis-plus:
check-config-location: true
configuration:
map-underscore-to-camel-case: true
global-config:
db-config:
id-type: auto
logic-delete-value: 1
logic-not-delete-value: 0
mapper-locations: classpath*:mapper/**/*Mapper.xml
# PageHelper分页插件
pagehelper:
helperDialect: mysql