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
+4
View File
@@ -127,6 +127,10 @@ service player-api {
@handler InitPlayer
post /players/me (EmptyResp) returns (PlayerProfile)
@doc "获取当前用户的打手资料"
@handler GetMyPlayer
get /players/me (EmptyResp) returns (PlayerProfile)
@doc "更新接单状态"
@handler UpdatePlayerStatus
put /players/me/status (UpdatePlayerStatusReq) returns (EmptyResp)