add: 打手初始化接口

This commit is contained in:
zetaloop
2026-04-04 03:35:36 +08:00
parent 85ce6a45c5
commit 32d58ef462
12 changed files with 224 additions and 21 deletions
+4
View File
@@ -123,6 +123,10 @@ type (
group: player
)
service player-api {
@doc "初始化当前用户的打手资料"
@handler InitPlayer
post /players/me (EmptyResp) returns (PlayerProfile)
@doc "更新接单状态"
@handler UpdatePlayerStatus
put /players/me/status (UpdatePlayerStatusReq) returns (EmptyResp)