Browse Source

国内短信模板更换

xingzai 2 years ago
parent
commit
8cae85b85d
2 changed files with 3 additions and 3 deletions
  1. 1 1
      services/sms.go
  2. 2 2
      utils/constants.go

+ 1 - 1
services/sms.go

@@ -11,7 +11,7 @@ import (
 
 func SendSmsCode(mobile, vcode string) bool {
 	flag := false
-	tplId := "65692"
+	tplId := "250078"
 	result, err := sendSms(mobile, tplId, vcode)
 	if err != nil {
 		fmt.Println("发送短信失败")

+ 2 - 2
utils/constants.go

@@ -38,8 +38,8 @@ const (
 
 //聚合短信
 var (
-	JhGnTplId = "65692" //聚合国内模板编码
-	JhGjTplId = "10054" //聚合国内模板编码
+	JhGnTplId = "250078" //聚合国内模板编码
+	JhGjTplId = "10054"  //聚合国内模板编码
 
 	JhGnAppKey = "4c8504c49dd335e99cfd7b6a3a9e2415" //聚合国内AppKey
 	JhGjAppKey = "3326ad2c1047a4cd92ace153e6044ca3"