feat(player): 新增 GET /players/me 查询当前用户打手资料

This commit is contained in:
zetaloop
2026-05-03 06:04:30 +08:00
parent cf639f1bca
commit 227f5814df
5 changed files with 184 additions and 0 deletions
+16
View File
@@ -116,6 +116,15 @@ static_resources:
"@type": type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthzPerRoute
disabled: true
- match:
path: /api/v1/players/me
headers:
- name: ":method"
exact_match: GET
route:
cluster: player_api_cluster
timeout: 30s
- match:
prefix: /api/v1/players
headers:
@@ -616,6 +625,13 @@ static_resources:
headers:
- name: ":method"
exact_match: GET
- match:
path: /api/v1/players/me
headers:
- name: ":method"
exact_match: GET
requires:
provider_name: juwan_user_jwt
- match:
prefix: /api/v1/players
headers: