修复缓存
Build docker and publish / build (20.15.1) (push) Successful in 7m26s

This commit is contained in:
2026-03-06 21:58:29 -08:00
parent 19932bb9f7
commit 4d913c1728
175 changed files with 437 additions and 12104 deletions
-30
View File
@@ -1,30 +0,0 @@
package abosend
import "testing"
func TestNewClient(t *testing.T) {
t.Skipf("Skip TestNewClient test")
client := createClient()
err := client.SendCode("1", "", "223322")
if err != nil {
t.Errorf("TestNewClient() error = %v", err.Error())
return
}
t.Logf("TestNewClient success")
}
func TestClient_GetSendCodeContent(t *testing.T) {
t.Skipf("Skip TestClient_GetSendCodeContent test")
client := createClient()
content := client.GetSendCodeContent("223322")
t.Logf("TestClient_GetSendCodeContent() = %v", content)
}
func createClient() *Client {
return NewClient(Config{
ApiDomain: "https://smsapi.abosend.com",
Access: "",
Secret: "",
Template: "您的验证码是:{{.code}}。请不要把验证码泄露给其他人。",
})
}
-16
View File
@@ -1,16 +0,0 @@
package smsbao
import "testing"
func TestNewClient(t *testing.T) {
t.Skipf("Skip TestNewClient test")
client := NewClient(Config{
Template: "【XXX】您的验证码是:{{.code}},有效期 {{.expiration}}。请不要把验证码泄露给其他人。",
})
err := client.SendCode("1", "", "223322")
if err != nil {
t.Errorf("TestNewClient() error = %v", err.Error())
return
}
t.Logf("TestNewClient success")
}
-16
View File
@@ -1,16 +0,0 @@
package twilio
import "testing"
func TestClient_SendCode(t *testing.T) {
t.Skipf("Skip TestClient_SendCode test")
client := NewClient(Config{
Access: "", Secret: "", PhoneNumber: "", Template: "",
})
err := client.SendCode("", "", "123456")
if err != nil {
t.Errorf("SendCode() error = %v", err.Error())
return
}
t.Logf("SendCode() success")
}