feat(player): 新增 GET /players/me 查询当前用户打手资料
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user