复制项目
This commit is contained in:
8
pkg/sms/sms.go
Normal file
8
pkg/sms/sms.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package sms
|
||||
|
||||
import "context"
|
||||
|
||||
type SMS interface {
|
||||
Name() string
|
||||
SendCode(ctx context.Context, areaCode string, phoneNumber string, verifyCode string) error
|
||||
}
|
||||
Reference in New Issue
Block a user