소스 검색

Merge branch 'task_526_lichangdong_250424' into debug

lichangdong 1 주 전
부모
커밋
03c549f0c2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      internal/logic/add_friend/cancel_by_ids_logic.go

+ 1 - 1
internal/logic/add_friend/cancel_by_ids_logic.go

@@ -34,7 +34,7 @@ func (l *CancelByIdsLogic) CancelByIds(req *types.CancelByIdsReq) (resp *types.B
 	var isCanAdd []int
 	isCanAdd = append(isCanAdd, 0, 1)
 	err = l.svcCtx.DB.AddWechatFriendLog.Update().
-		SetIsCanAdd(5).                  // 假设要将IsCanAdd字段设置为5
+		SetIsCanAdd(6).                  // 假设要将IsCanAdd字段设置为5
 		SetUpdatedAt(time.Now().Unix()). // 设置修改时间
 		Where(addwechatfriendlog.IDIn(req.Ids...), addwechatfriendlog.IsCanAddIn(isCanAdd...)).
 		Exec(l.ctx)