1、textverfied 获取号码之后取消自动续费。通过程序定时续费

This commit is contained in:
2025-11-18 09:16:43 +08:00
parent 38ec94254b
commit da1b37a398
12 changed files with 400 additions and 46 deletions

View File

@ -8,6 +8,7 @@ import (
type SmsJob struct{}
type SmsPriceJob struct{}
type SmsCancelPlatformAuto struct{}
// 定时查询结果
func (j SmsJob) Exec(args interface{}) error {
@ -31,3 +32,11 @@ func (j SmsPriceJob) Exec(args interface{}) error {
return nil
}
func (j SmsCancelPlatformAuto) Exec(args interface{}) error {
phoneService := service.SmsPhone{}
phoneService.Orm = GetDb()
phoneService.Log = logger.NewHelper(logger.DefaultLogger)
return phoneService.SetManualRenewal()
}