2024-01-19 17:12:41 +08:00
|
|
|
spring:
|
|
|
|
|
cloud:
|
|
|
|
|
nacos:
|
|
|
|
|
serverAddr: 127.0.0.1:8848
|
|
|
|
|
discovery:
|
|
|
|
|
server-addr: 127.0.0.1:8848
|
|
|
|
|
config:
|
|
|
|
|
import:
|
|
|
|
|
- nacos:qihang-oms.yaml?refresh=true
|
|
|
|
|
application:
|
|
|
|
|
name: tao-oms
|
2024-01-21 18:46:58 +08:00
|
|
|
security:
|
|
|
|
|
user:
|
|
|
|
|
name: admin
|
|
|
|
|
password: password
|
|
|
|
|
basic:
|
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
|
|
# 授权规则
|
|
|
|
|
security:
|
|
|
|
|
rules:
|
|
|
|
|
- pattern: /api/** # 定义需要授权的URL模式
|
2024-01-19 17:12:41 +08:00
|
|
|
|
|
|
|
|
server:
|
|
|
|
|
port: 8081
|