This commit is contained in:
wh_zcy 2023-02-10 11:56:22 +08:00
parent 6a3732a715
commit 19e8175395
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ func (this *apiComp) Qiecuo(session comm.IUserSession, req *pb.FriendQiecuoReq)
//判断是否已发送切磋请求
if qr == nil {
code = pb.ErrorCode_FriendQiecuoTimeout
code = pb.ErrorCode_FriendQiecuoNoRequest
return
}

View File

@ -40,7 +40,7 @@ func (this *ModelFriendQiecuo) getQiecuo(uid string) *pb.QiecuoRecord {
func (this *ModelFriendQiecuo) createQiecuoRecord(uid, targetUid string) (*pb.QiecuoRecord, error) {
qr := this.getQiecuo(uid)
if qr == nil {
r := &pb.QiecuoRecord{
qr = &pb.QiecuoRecord{
Uid: uid,
TargetId: targetUid,
Timestamp: configure.Now().Unix(),