1、新接textverified

This commit is contained in:
2025-08-23 16:38:04 +08:00
parent 6c95e6fb04
commit 82d5acc873
45 changed files with 3154 additions and 461 deletions

View File

@ -7,6 +7,7 @@ import (
)
type SmsJob struct{}
type SmsPriceJob struct{}
// 定时查询结果
func (j SmsJob) Exec(args interface{}) error {
@ -16,3 +17,17 @@ func (j SmsJob) Exec(args interface{}) error {
return phoneService.SyncCodes()
}
// 定时同步价格
func (j SmsPriceJob) Exec(args interface{}) error {
smsService := service.SmsServices{}
smsService.Orm = GetDb()
smsService.Log = logger.NewHelper(logger.DefaultLogger)
// 同步价格
if err := smsService.SyncPrices(); err != nil {
return err
}
return nil
}