mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-03 12:30:19 +08:00
feat: support volc engine sms (#252)
Signed-off-by: Kininaru <shiftregister233@outlook.com> fix label -> row
This commit is contained in:
@ -27,7 +27,7 @@ func SendCodeToPhone(provider *Provider, phone, code string) string {
|
||||
}
|
||||
|
||||
param := make(map[string]string)
|
||||
if provider.Type == "tencent" {
|
||||
if provider.Type == go_sms_sender.TencentCloud {
|
||||
param["0"] = code
|
||||
} else {
|
||||
param["code"] = code
|
||||
|
Reference in New Issue
Block a user