46 lines
1.1 KiB
YAML
46 lines
1.1 KiB
YAML
spring:
|
|
cloud:
|
|
gateway:
|
|
x-forwarded:
|
|
prefix-enabled: false # 避免 Swagger 重复带上额外的 /ckts-api/system 前缀
|
|
routes:
|
|
- id: txw-mhzc
|
|
uri: grayLb://txw-mhzc
|
|
predicates:
|
|
- Path=/mhzc/**
|
|
- id: txw-sso
|
|
uri: grayLb://txw-sso
|
|
predicates:
|
|
- Path=/sso/**
|
|
- id: txw-gxzx
|
|
uri: grayLb://txw-gxzx
|
|
predicates:
|
|
- Path=/gxzx/**
|
|
- id: txw-yygl
|
|
uri: grayLb://txw-yygl
|
|
predicates:
|
|
- Path=/yygl/**
|
|
|
|
css:
|
|
gateway:
|
|
whitelist:
|
|
urls:
|
|
- /sso/verify/get
|
|
- /sso/auth/login
|
|
- /sso/admin/auth/login
|
|
- /sso/admin/auth/logout
|
|
- /sso/auth/logout
|
|
- /sso/auth/refresh-token
|
|
- /sso/auth/sendMsg
|
|
- /sso/auth/loginBySMS
|
|
- /api/**
|
|
- /mhzc/user/register
|
|
- /mhzc/sy/sjkb
|
|
- /mhzc/sy/hzhb
|
|
- /sso/userinfo/get
|
|
- /sso/oauth2/token
|
|
- /mhzc/sy/**
|
|
- /sso/did/pub/**
|
|
- /sso/auth/didBindPhone
|
|
api:
|
|
checkAccessToken: http://txw-sso/sso/oauth2/token/check |