正在显示
1 个修改的文件
包含
4 行增加
和
5 行删除
| @@ -110,12 +110,11 @@ func (notices *notifySms) checkSendSms() error { | @@ -110,12 +110,11 @@ func (notices *notifySms) checkSendSms() error { | ||
| 110 | }() | 110 | }() |
| 111 | logSmsRepo := factory.CreateLogSmsRepository(map[string]interface{}{"transactionContext": transactionContext}) | 111 | logSmsRepo := factory.CreateLogSmsRepository(map[string]interface{}{"transactionContext": transactionContext}) |
| 112 | nowTime := time.Now() | 112 | nowTime := time.Now() |
| 113 | - nowDay := dayZeroTime(nowTime) | 113 | + // nowDay := dayZeroTime(nowTime) |
| 114 | _, logSmsList, err := logSmsRepo.Find(map[string]interface{}{ | 114 | _, logSmsList, err := logSmsRepo.Find(map[string]interface{}{ |
| 115 | - "status": string(domain.SmsWait), | ||
| 116 | - "executeAtBegin": nowDay, | ||
| 117 | - "executeAtEnd": nowTime, | ||
| 118 | - "limit": 1000, | 115 | + "status": string(domain.SmsWait), |
| 116 | + "executeAtEnd": nowTime, | ||
| 117 | + "limit": 1000, | ||
| 119 | }) | 118 | }) |
| 120 | if err != nil { | 119 | if err != nil { |
| 121 | return err | 120 | return err |
-
请 注册 或 登录 后发表评论