update
This commit is contained in:
parent
4629b13af1
commit
52451919ec
@ -66,7 +66,7 @@ func (this *apiComp) CreateFood(session comm.IUserSession, req *pb.GourmetCreate
|
||||
errdata = &pb.ErrorData{
|
||||
Code: pb.ErrorCode_ConfigNoFound,
|
||||
Title: pb.ErrorCode_ConfigNoFound.ToString(),
|
||||
Message: fmt.Sprintf("curfood:%d", curFood),
|
||||
Message: fmt.Sprintf("curfood:%s", curFood),
|
||||
}
|
||||
return
|
||||
}
|
||||
|
@ -46,7 +46,7 @@ func (this *apiComp) DelAllMail(session comm.IUserSession, req *pb.MailDelAllMai
|
||||
errdata = &pb.ErrorData{ // 邮件不存在
|
||||
Code: pb.ErrorCode_MailErr,
|
||||
Title: pb.ErrorCode_MailErr.ToString(),
|
||||
Message: fmt.Sprint("邮件不存在:%s",v.ObjId),
|
||||
Message: fmt.Sprintf("邮件不存在:%s", v.ObjId),
|
||||
}
|
||||
return
|
||||
}
|
||||
|
@ -28,7 +28,7 @@ func (this *apiComp) DelMail(session comm.IUserSession, req *pb.MailDelMailReq)
|
||||
errdata = &pb.ErrorData{ // 邮件不存在
|
||||
Code: pb.ErrorCode_MailErr,
|
||||
Title: pb.ErrorCode_MailErr.ToString(),
|
||||
Message: fmt.Sprint("邮件不存在:%s", req.ObjID),
|
||||
Message: fmt.Sprintf("邮件不存在:%s", req.ObjID),
|
||||
}
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user