瀏覽代碼

feat:提交

fuwencai 5 月之前
父節點
當前提交
42ca96e35f
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      newuserSend/internal/logic/task.go

+ 2 - 2
newuserSend/internal/logic/task.go

@@ -49,10 +49,10 @@ func Task(ctx context.Context) {
 		}
 		userList := []entity.NewUserSendLog{}
 		for j := 0; j < count; j += 200 {
-			// 分页查跟进规则查询要发送的用户
+			// 查跟进规则查询要发送的用户
 			err := dao.NewUserSendLog.Ctx(ctx).Where("rule_id=? and state=?", sendContent[i].RuleId, 0).Limit(200).Scan(&userList)
 			if err != nil {
-				g.Log().Error(ctx, "分页-获取待发送用户失败", sendContent[i].RuleId, err)
+				g.Log().Error(ctx, "获取待发送用户失败", sendContent[i].RuleId, err)
 				break
 			}
 			// 发送消息