用户签名
This commit is contained in:
parent
e0d3cbe429
commit
eade84e7cf
@ -117,7 +117,7 @@ func (this *apiComp) Login(session comm.IUserSession, req *pb.UserLoginReq) (cod
|
||||
|
||||
rsp.Data = user
|
||||
|
||||
expand, err := this.module.modelUser.GetUserExpand(session.GetUserId())
|
||||
expand, err := this.module.GetUserExpand(session.GetUserId())
|
||||
if err != nil {
|
||||
code = pb.ErrorCode_DBError
|
||||
return
|
||||
|
@ -21,7 +21,7 @@ func (this *apiComp) Modifysign(session comm.IUserSession, req *pb.UserModifysig
|
||||
return
|
||||
}
|
||||
|
||||
expand, err := this.module.modelUser.GetUserExpand(session.GetUserId())
|
||||
expand, err := this.module.GetUserExpand(session.GetUserId())
|
||||
if err != nil {
|
||||
code = pb.ErrorCode_DBError
|
||||
return
|
||||
@ -31,7 +31,7 @@ func (this *apiComp) Modifysign(session comm.IUserSession, req *pb.UserModifysig
|
||||
update := map[string]interface{}{
|
||||
"sign": req.Sign,
|
||||
}
|
||||
this.module.modelUser.ChanageUserExpand(session.GetUserId(), update)
|
||||
this.module.ChanageUserExpand(session.GetUserId(), update)
|
||||
}
|
||||
|
||||
if err = session.SendMsg(string(this.module.GetType()), UserSubTypeModifySign, &pb.UserModifysignResp{
|
||||
|
Loading…
Reference in New Issue
Block a user