增加鉴权服务模块
This commit is contained in:
@@ -30,55 +30,71 @@ spring:
|
||||
routes:
|
||||
# 用户服务路由
|
||||
- id: emotion-user-route
|
||||
uri: lb://emotion-user
|
||||
uri: http://localhost:19001
|
||||
predicates:
|
||||
- Path=/user/**
|
||||
filters:
|
||||
- StripPrefix=0
|
||||
|
||||
|
||||
# 验证码服务路由
|
||||
- id: emotion-captcha-route
|
||||
uri: http://localhost:19001
|
||||
predicates:
|
||||
- Path=/captcha/**
|
||||
filters:
|
||||
- StripPrefix=0
|
||||
|
||||
# OAuth服务路由
|
||||
- id: emotion-oauth-route
|
||||
uri: http://localhost:19001
|
||||
predicates:
|
||||
- Path=/oauth/**
|
||||
filters:
|
||||
- StripPrefix=0
|
||||
|
||||
# AI服务路由
|
||||
- id: emotion-ai-route
|
||||
uri: lb://emotion-ai
|
||||
uri: http://localhost:19002
|
||||
predicates:
|
||||
- Path=/ai/**
|
||||
filters:
|
||||
- StripPrefix=0
|
||||
|
||||
|
||||
# 记录服务路由
|
||||
- id: emotion-record-route
|
||||
uri: lb://emotion-record
|
||||
uri: http://localhost:19003
|
||||
predicates:
|
||||
- Path=/record/**
|
||||
filters:
|
||||
- StripPrefix=0
|
||||
|
||||
|
||||
# 成长服务路由
|
||||
- id: emotion-growth-route
|
||||
uri: lb://emotion-growth
|
||||
uri: http://localhost:19004
|
||||
predicates:
|
||||
- Path=/growth/**
|
||||
filters:
|
||||
- StripPrefix=0
|
||||
|
||||
|
||||
# 探索服务路由
|
||||
- id: emotion-explore-route
|
||||
uri: lb://emotion-explore
|
||||
uri: http://localhost:19005
|
||||
predicates:
|
||||
- Path=/explore/**
|
||||
filters:
|
||||
- StripPrefix=0
|
||||
|
||||
|
||||
# 奖励服务路由
|
||||
- id: emotion-reward-route
|
||||
uri: lb://emotion-reward
|
||||
uri: http://localhost:19006
|
||||
predicates:
|
||||
- Path=/reward/**
|
||||
filters:
|
||||
- StripPrefix=0
|
||||
|
||||
|
||||
# 统计服务路由
|
||||
- id: emotion-stats-route
|
||||
uri: lb://emotion-stats
|
||||
uri: http://localhost:19007
|
||||
predicates:
|
||||
- Path=/stats/**
|
||||
filters:
|
||||
|
||||
Reference in New Issue
Block a user