添加eureka注册中心支持
This commit is contained in:
@@ -1,18 +1,19 @@
|
||||
spring:
|
||||
profiles:
|
||||
active: dev #默认为开发环境
|
||||
|
||||
application:
|
||||
name: mall-admin
|
||||
server:
|
||||
port: 8080
|
||||
mybatis:
|
||||
mapper-locations:
|
||||
- classpath:dao/*.xml
|
||||
- classpath*:com/**/mapper/*.xml
|
||||
|
||||
jwt:
|
||||
tokenHeader: Authorization #JWT存储的请求头
|
||||
secret: mySecret #JWT加解密使用的密钥
|
||||
expiration: 604800 #JWT的超期限时间(60*60*24)
|
||||
tokenHead: Bearer #JWT负载中拿到开头
|
||||
|
||||
aliyun:
|
||||
oss:
|
||||
endpoint: oss-cn-shenzhen.aliyuncs.com # oss对外服务的访问域名
|
||||
@@ -25,7 +26,6 @@ aliyun:
|
||||
callback: http://39.98.190.128:8080/aliyun/oss/callback # 文件上传成功后的回调地址
|
||||
dir:
|
||||
prefix: mall/images/ # 上传文件夹路径前缀
|
||||
|
||||
logging:
|
||||
level:
|
||||
root: info #日志配置DEBUG,INFO,WARN,ERROR
|
||||
|
||||
Reference in New Issue
Block a user