|
@@ -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)
|