feat(移动端): 修改配置文件

master
wayn 4 years ago
parent 21066b4d5b
commit 549f4a6681

@ -6,8 +6,8 @@ spring:
druid:
# 主库数据源
master:
url: jdbc:mysql://waynmysql.mysql.rds.aliyuncs.com:3306/wayn_shop?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: wayn_shop
url: jdbc:mysql://127.0.0.1:3306/wayn_shop?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
password: 123456
# 从库数据源
slave:
@ -56,10 +56,10 @@ spring:
config:
multi-statement-allow: true
redis:
host: wayn.ltd
port: 1688
host: 127.0.0.1
port: 6379
timeout: 5000
password: admin@@123456
password:
databaseIndex: 2
expire: 400
maxTotal: 50000
@ -71,7 +71,7 @@ spring:
max-wait: 2000
#配置rabbitMq 服务器
rabbitmq:
host: wayn.ltd
host: 127.0.0.1
port: 5672
username: guest
password: guest
@ -82,7 +82,7 @@ spring:
publisher-returns: true
es:
host: wayn.ltd
host: 127.0.0.1
port: 9200
scheme: http

@ -51,10 +51,11 @@ mybatis-plus:
wayn:
name: wayn
version: 1.1.0
email: 166738430@qq.com
uploadDir: E:/wayn/upload
adminUrl: http://localhost:81
mobileUrl: https://localhost:433
email: 166738430@qq.com#
# uploadDir: /opt/wayn/upload # linux下文件上传目录
uploadDir: D:/wayn/upload # windows下文件上传目录
adminUrl: http://127.0.0.1:81
mobileUrl: http://127.0.0.1:82
# 快递列表
shop:

@ -3,10 +3,10 @@ server:
spring:
redis:
host: wayn.ltd
port: 1688
host: 127.0.0.1
port: 6379
timeout: 5000
password: admin@@123456
password:
databaseIndex: 2
expire: 400
maxTotal: 50000
@ -18,7 +18,7 @@ spring:
max-wait: 2000
# 配置rabbitMq 服务器
rabbitmq:
host: wayn.ltd
host: 127.0.0.1
port: 5672
username: guest
password: guest

@ -6,8 +6,8 @@ spring:
druid:
# 主库数据源
master:
url: jdbc:mysql://waynmysql.mysql.rds.aliyuncs.com:3306/wayn_shop?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: wayn_shop
url: jdbc:mysql://127.0.0.1:3306/wayn_shop?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
password: 123456
# 从库数据源
slave:
@ -56,10 +56,10 @@ spring:
config:
multi-statement-allow: true
redis:
host: wayn.ltd
port: 1688
host: 127.0.0.1
port: 6379
timeout: 5000
password: admin@@123456
password:
databaseIndex: 2
expire: 400
maxTotal: 50000
@ -71,7 +71,7 @@ spring:
max-wait: 2000
# 配置rabbitMq 服务器
rabbitmq:
host: wayn.ltd
host: 127.0.0.1
port: 5672
username: guest
password: guest
@ -82,6 +82,6 @@ spring:
publisher-returns: true
es:
host: wayn.ltd
host: 127.0.0.1
port: 9200
scheme: http

@ -1,12 +1,13 @@
server:
port: 443
ssl:
enabled: true
key-store: classpath:mall.wayn.ltd.jks
key-store-password: idFXdK.Rnm3CgZp
key-store-type: JKS
http-port: 82
port: 82
# https配置放开HttpsConfiguration文件注释即可
# port: 443
# ssl:
# enabled: true
# key-store: classpath:mall.wayn.ltd.jks
# key-store-password: idFXdK.Rnm3CgZp
# key-store-type: JKS
#http-port: 82
spring:
profiles:
@ -56,18 +57,19 @@ wayn:
name: wayn
version: 1.1.0
email: 166738430@qq.com
uploadDir: /opt/wayn/upload
adminUrl: http://localhost:81
mobileUrl: http://localhost:82
# uploadDir: /opt/wayn/upload # linux下文件上传目录
uploadDir: D:/wayn/upload # windows下文件上传目录
adminUrl: http://127.0.0.1:81
mobileUrl: http://127.0.0.1:82
# wx支付配置
shop:
# 开发者应该设置成自己的wx相关信息
wx:
app-id: wxe2d425f83d4fbe82
app-secret: e04004829d4c383b4db7769d88dfbca1
mch-id: 1508367571
mch-key: hYaUiN8G34Za3r46x3AMcymG9yhudBH2
app-id:
app-secret:
mch-id:
mch-key:
notify-url: http://www.example.com/wx/order/pay-notify
# 商户证书文件路径
# 请参考“商户证书”一节 https://pay.weixin.qq.com/wiki/doc/api/wxa/wxa_api.php?chapter=4_3

Loading…
Cancel
Save