|
|
|
@@ -197,8 +197,11 @@ public class WxMsgServiceImpl implements WxMsgService { |
|
|
|
String signature = record.getSignature(); |
|
|
|
String msg = record.getMsg(); |
|
|
|
String notifyUrl = wxMsgConfig.getNotifyurl(); |
|
|
|
WxMsgModel wxMsgModel = wxMsgModelMapper.selectByPrimaryKey(record.getId()); |
|
|
|
Integer modelId = wxMsgModel.getModelId(); |
|
|
|
WxMsgModel wxMsgModel = wxMsgModelMapper.selectByPrimaryKey(record.getModelId()); |
|
|
|
Integer modelId = null; |
|
|
|
if (wxMsgModel != null) { |
|
|
|
modelId = wxMsgModel.getModelId(); |
|
|
|
} |
|
|
|
logger.info("=============迈外迪API开始调用"); |
|
|
|
String result = WiwideUtil.sendMsg(secret, bid, publickey, phone, signature, msg, notifyUrl, EnumVerifyCode.NO.getCode().toString(), modelId); |
|
|
|
logger.info("=============迈外迪API返回结果:" + result); |
|
|
|
|