This commit is contained in:
2026-04-14 16:27:47 +08:00
commit 4b38a4c952
134 changed files with 7478 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
server:
port: 8080
spring:
application:
name: k12study-gateway
cloud:
gateway:
routes:
- id: auth
uri: http://localhost:8081
predicates:
- Path=/api/auth/**
filters:
- StripPrefix=1
- id: upms
uri: http://localhost:8082
predicates:
- Path=/api/upms/**
filters:
- StripPrefix=1
management:
endpoints:
web:
exposure:
include: health,info
auth:
enabled: true
whitelist:
- /api/auth/login
- /api/auth/refresh
- /actuator/**