Explorar o código

Merge branch 'task_526_lichangdong_250424' into debug

lichangdong hai 1 semana
pai
achega
03c549f0c2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)