2025-06-03 17:18:11 +08:00
|
|
|
|
server:
|
|
|
|
|
|
port: 8001
|
|
|
|
|
|
spring:
|
|
|
|
|
|
application:
|
|
|
|
|
|
name: nflg-wms-user
|
|
|
|
|
|
profiles:
|
|
|
|
|
|
active: dev
|
|
|
|
|
|
config:
|
|
|
|
|
|
import: nacos:shared.properties?group=${spring.profiles.active}&refreshEnabled=true
|
|
|
|
|
|
cloud:
|
|
|
|
|
|
nacos:
|
|
|
|
|
|
config:
|
|
|
|
|
|
server-addr: ${nacos.server-addr:112.74.186.154:8848}
|
|
|
|
|
|
namespace: wms
|
|
|
|
|
|
group: ${spring.profiles.active}
|
|
|
|
|
|
discovery:
|
|
|
|
|
|
server-addr: ${nacos.server-addr:112.74.186.154:8848}
|
|
|
|
|
|
namespace: wms
|
|
|
|
|
|
group: ${spring.profiles.active}
|
|
|
|
|
|
# Sa-Token 配置
|
|
|
|
|
|
sa-token:
|
|
|
|
|
|
# token 名称(同时也是 cookie 名称)
|
|
|
|
|
|
token-name: authorization
|
|
|
|
|
|
# token 有效期(单位:秒) 默认30天,-1 代表永久有效
|
|
|
|
|
|
timeout: 2592000
|
|
|
|
|
|
# ------- SSO-模式二相关配置
|
|
|
|
|
|
sso-server:
|
|
|
|
|
|
# Ticket有效期 (单位: 秒),默认五分钟
|
|
|
|
|
|
ticket-timeout: 300
|
|
|
|
|
|
# 所有允许的授权回调地址
|
|
|
|
|
|
allow-url: "*"
|
2025-06-06 14:58:56 +08:00
|
|
|
|
# jwt秘钥
|
|
|
|
|
|
jwt-secret-key: asdasdasifhueuiwyurfewbfjsdafjk
|
2025-06-03 17:18:11 +08:00
|
|
|
|
logging:
|
|
|
|
|
|
level:
|
|
|
|
|
|
root: info
|