作者 tangxvhui

微调

... ... @@ -110,10 +110,9 @@ func (notices *notifySms) checkSendSms() error {
}()
logSmsRepo := factory.CreateLogSmsRepository(map[string]interface{}{"transactionContext": transactionContext})
nowTime := time.Now()
nowDay := dayZeroTime(nowTime)
// nowDay := dayZeroTime(nowTime)
_, logSmsList, err := logSmsRepo.Find(map[string]interface{}{
"status": string(domain.SmsWait),
"executeAtBegin": nowDay,
"executeAtEnd": nowTime,
"limit": 1000,
})
... ...