|
|
|
@@ -3,6 +3,7 @@ package com.iformall.schedule; |
|
|
|
import com.alibaba.fastjson.JSONObject; |
|
|
|
import com.iformall.domain.po.WxMsg; |
|
|
|
import com.iformall.domain.po.WxMsgConfig; |
|
|
|
import com.iformall.enums.EnumVerifyCode; |
|
|
|
import com.iformall.exception.MallinkException; |
|
|
|
import com.iformall.mapper.WxMsgConfigMapper; |
|
|
|
import com.iformall.mapper.WxMsgMapper; |
|
|
|
@@ -87,7 +88,7 @@ public class MsgSendingSchedule { |
|
|
|
String signature = wxMsg.getSignature(); |
|
|
|
String msg = wxMsg.getMsg(); |
|
|
|
String notifyUrl = wxMsgConfig.getNotifyurl(); |
|
|
|
String result = WiwideUtil.sendMsg(secret, bid, publickey, phone, signature, msg, notifyUrl); |
|
|
|
String result = WiwideUtil.sendMsg(secret, bid, publickey, phone, signature, msg, notifyUrl,EnumVerifyCode.NO.getCode().toString()); |
|
|
|
JSONObject jsonObjectResult = JSONObject.parseObject(result); |
|
|
|
String ret = jsonObjectResult.get("ret").toString(); |
|
|
|
|
|
|
|
|