实现商户注册、管理员审核商户申请接口
This commit is contained in:
@ -11,7 +11,7 @@ import (
|
||||
)
|
||||
|
||||
func (c *ControllerV1) AdminInfo(ctx context.Context, req *v1.AdminInfoReq) (res *v1.AdminInfoRes, err error) {
|
||||
userId := g.RequestFromCtx(ctx).GetCtxVar("userId").Int()
|
||||
userId := g.RequestFromCtx(ctx).GetCtxVar("userId").Int64()
|
||||
out, err := service.Admin().Info(ctx, &model.AdminInfoIn{Id: userId})
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user