This commit is contained in:
meixiongfeng 2023-06-06 17:22:09 +08:00
parent 4629b13af1
commit 52451919ec
3 changed files with 3 additions and 3 deletions

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}