add: 打手初始化接口
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user