修改配置

This commit is contained in:
Yun
2024-11-15 19:01:25 +08:00
parent 9ad229dbb7
commit 99b14767c9
10 changed files with 70 additions and 70 deletions
+4 -4
View File
@@ -14,15 +14,15 @@ func main() {
ctx := context.Background()
logger := loggerx.NewLogger(ctx)
sms, err := smsx.GetPlatform(ctx, entity.Platform3rdTypeTencent)
sms, err := smsx.GetPlatform(ctx, consts.Platform3rdTypeTencent)
if err != nil {
fmt.Println(err)
return
}
ini, err := sms.InitSmsx(ctx, entity.SmsConfigData{
SysType: entity.Platform3rdTypeTencent,
Tencent: &entity.SmsConfigDataTencent{
ini, err := sms.InitSmsx(ctx, consts.SmsConfigData{
SysType: consts.Platform3rdTypeTencent,
Tencent: &consts.SmsConfigDataTencent{
SecretId: "AKIDb2b8SefT8YjgUBk8N0XtANMSZWFqLiIp",
SecretKey: "QxqstqipqkTzfKqGVdgr3Merx0uvoU3R",
SignName: "深圳宏建源贸易",