feat(player): 新增 GET /players/me 查询当前用户打手资料
This commit is contained in:
@@ -57,6 +57,12 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
|
||||
Path: "/players/me",
|
||||
Handler: player.InitPlayerHandler(serverCtx),
|
||||
},
|
||||
{
|
||||
// 获取当前用户的打手资料
|
||||
Method: http.MethodGet,
|
||||
Path: "/players/me",
|
||||
Handler: player.GetMyPlayerHandler(serverCtx),
|
||||
},
|
||||
{
|
||||
// 更新接单状态
|
||||
Method: http.MethodPut,
|
||||
|
||||
Reference in New Issue
Block a user