1、自动续费

This commit is contained in:
2025-07-28 18:15:40 +08:00
parent f552188ff9
commit 426a79da49
23 changed files with 921 additions and 29 deletions

View File

@ -14,3 +14,14 @@ func TestSendSMS(t *testing.T) {
t.Error(err)
}
}
// 短信自动续期
func TestSmsRenew(t *testing.T) {
initSetting()
config.ExtConfig.DaisysmsUrl = "https://daisysms.com/stubs/handler_api.php"
job := SmsRenewalJob{}
if err := job.Exec(nil); err != nil {
t.Error(err)
}
}