1、
Some checks failed
Build / build (push) Has been cancelled
CodeQL / Analyze (go) (push) Has been cancelled
build / Build (push) Has been cancelled
GitHub Actions Mirror / mirror_to_gitee (push) Has been cancelled
GitHub Actions Mirror / mirror_to_gitlab (push) Has been cancelled
Issue Close Require / issue-close-require (push) Has been cancelled
Issue Check Inactive / issue-check-inactive (push) Has been cancelled
Some checks failed
Build / build (push) Has been cancelled
CodeQL / Analyze (go) (push) Has been cancelled
build / Build (push) Has been cancelled
GitHub Actions Mirror / mirror_to_gitee (push) Has been cancelled
GitHub Actions Mirror / mirror_to_gitlab (push) Has been cancelled
Issue Close Require / issue-close-require (push) Has been cancelled
Issue Check Inactive / issue-check-inactive (push) Has been cancelled
This commit is contained in:
@ -14,6 +14,18 @@ type RemainCharJob struct{}
|
||||
|
||||
type CleanExpiredOrderJob struct{}
|
||||
|
||||
// 同步剩余字符
|
||||
type SyncRemainCharJob struct{}
|
||||
|
||||
// 定时同步第三方用量
|
||||
func (t SyncRemainCharJob) Exec(arg interface{}) error {
|
||||
platformAccountService := service.TmPlatformAccount{}
|
||||
platformAccountService.Orm = GetDb()
|
||||
platformAccountService.Log = logger.NewHelper(logger.DefaultLogger)
|
||||
|
||||
return platformAccountService.SyncAll()
|
||||
}
|
||||
|
||||
// 清理过期订单
|
||||
func (t CleanExpiredOrderJob) Exec(arg interface{}) error {
|
||||
// expireTime := time.Now().Add(5 * time.Minute)
|
||||
|
||||
Reference in New Issue
Block a user