对接阿里云短信OK

This commit is contained in:
yml2213
2026-05-29 12:11:13 +08:00
parent a334f1837d
commit eb80a3ba84
14 changed files with 495 additions and 29 deletions
@@ -0,0 +1,12 @@
package sms
import (
"context"
"errors"
)
var ErrProviderConfigInvalid = errors.New("sms provider config invalid")
type Provider interface {
SendLoginCode(ctx context.Context, phone string, code string) error
}