fix: 为移除打手端点使用独立的 path 参数请求类型
This commit is contained in:
@@ -31,7 +31,7 @@ func NewRemovePlayerLogic(ctx context.Context, svcCtx *svc.ServiceContext) *Remo
|
||||
}
|
||||
}
|
||||
|
||||
func (l *RemovePlayerLogic) RemovePlayer(req *types.InvitationReq) (resp *types.EmptyResp, err error) {
|
||||
func (l *RemovePlayerLogic) RemovePlayer(req *types.RemovePlayerReq) (resp *types.EmptyResp, err error) {
|
||||
userID, err := contextj.UserIDFrom(l.ctx)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user