Преглед изворни кода

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)