修改配置
This commit is contained in:
+4
-4
@@ -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: "深圳宏建源贸易",
|
||||
|
||||
Reference in New Issue
Block a user