|
|
@@ -19,10 +19,10 @@ func DispathSendSms(tels []string, expressNo string) {
|
|
|
params := fmt.Sprintf(`{"tel":"%s","expressNo":"%s"}`, kefuTel, expressNo)
|
|
|
/* ok, resp := alidayu.SendSMS(mobile, sign, template, params)*/
|
|
|
dysms.HTTPDebugEnable = true
|
|
|
- dysms.SetACLClient(beego.AppConfig.String("AliOssAccessId"), beego.AppConfig.String("AliOssAccessSecret")) // dysms.New(ACCESSID, ACCESSKEY)
|
|
|
- //sign := "FOHOW商城售后"
|
|
|
- sign := "凤凰玖玖"
|
|
|
- template := "SMS_200713946"
|
|
|
+ dysms.SetACLClient(beego.AppConfig.String("AliSmsAccessId"), beego.AppConfig.String("AliSmsAccessSecret")) // dysms.New(ACCESSID, ACCESSKEY)
|
|
|
+ sign := "FOHOW商城售后"
|
|
|
+ //sign := "凤凰玖玖"
|
|
|
+ template := "SMS_200694500"
|
|
|
// 短信发送
|
|
|
respSendSms, err := dysms.SendSms(uuid.New(), mobile, sign, template, params).DoActionWithException()
|
|
|
if err != nil {
|