Initial commit (code only without large binaries)
This commit is contained in:
12
EdgeAPI/internal/senders/smssenders/sender_interface.go
Normal file
12
EdgeAPI/internal/senders/smssenders/sender_interface.go
Normal file
@@ -0,0 +1,12 @@
|
||||
// Copyright 2023 GoEdge CDN goedge.cdn@gmail.com. All rights reserved. Official site: https://goedge.cn .
|
||||
//go:build plus
|
||||
|
||||
package smssenders
|
||||
|
||||
type SenderInterface interface {
|
||||
// Init 初始化
|
||||
Init(params any) error
|
||||
|
||||
// Send 发送短信
|
||||
Send(mobile string, body string, code string) (resp string, isOk bool, err error)
|
||||
}
|
||||
Reference in New Issue
Block a user