浏览代码

取关发送短信

WH01243 5 月之前
父节点
当前提交
bac2ed29ee
共有 2 个文件被更改,包括 1 次插入2 次删除
  1. 1 1
      src/jfw/modules/weixin/src/config.json
  2. 0 1
      src/jfw/modules/weixin/src/wx/wx.go

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

@@ -170,5 +170,5 @@
   "replySwitch": false,
   "replySwitch": false,
   "smsServiceRpc": "127.0.0.1:932",
   "smsServiceRpc": "127.0.0.1:932",
   "isSend": true,
   "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) {
 	if PhoneReg.MatchString(phone) {
 		var params []string
 		var params []string
 		mark := fmt.Sprintf("%d%s%s", 0, "jy@wz", gconv.String(config.Sysconfig["unfollowMailId"]))
 		mark := fmt.Sprintf("%d%s%s", 0, "jy@wz", gconv.String(config.Sysconfig["unfollowMailId"]))
-		params = append(params, "")
 		params = append(params, mark)
 		params = append(params, mark)
 		log.Println(gconv.String(config.Sysconfig["smsServiceRpc"]), gconv.String(config.Sysconfig["unfollowMailId"]), phone, params, len(params))
 		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...)
 		sms.SendSms(gconv.String(config.Sysconfig["smsServiceRpc"]), "", phone, params...)