Browse Source

取关发送短信

WH01243 5 tháng trước cách đây
mục cha
commit
bac2ed29ee

+ 1 - 1
src/jfw/modules/weixin/src/config.json

@@ -170,5 +170,5 @@
   "replySwitch": false,
   "smsServiceRpc": "127.0.0.1:932",
   "isSend": true,
-  "unfollowMailId": "01"
+  "unfollowMailId": 8
 }

+ 0 - 1
src/jfw/modules/weixin/src/wx/wx.go

@@ -1002,7 +1002,6 @@ func unfollowSendMail(openid string) (int64, string) {
 	if PhoneReg.MatchString(phone) {
 		var params []string
 		mark := fmt.Sprintf("%d%s%s", 0, "jy@wz", gconv.String(config.Sysconfig["unfollowMailId"]))
-		params = append(params, "")
 		params = append(params, mark)
 		log.Println(gconv.String(config.Sysconfig["smsServiceRpc"]), gconv.String(config.Sysconfig["unfollowMailId"]), phone, params, len(params))
 		sms.SendSms(gconv.String(config.Sysconfig["smsServiceRpc"]), "", phone, params...)