Browse Source

Merge branch 'task_526_lichangdong_250424' into debug

lichangdong 1 week ago
parent
commit
03c549f0c2
1 changed files with 1 additions and 1 deletions
  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)