Просмотр исходного кода

[短信][修改][短信类型区分]

release_toaliyun_real
gongbiao 7 лет назад
Родитель
Сommit
155ca310d4
1 измененных файлов: 2 добавлений и 1 удалений
  1. +2
    -1
      mallinkAdmin/src/main/java/com/iformall/schedule/MsgSendingSchedule.java

+ 2
- 1
mallinkAdmin/src/main/java/com/iformall/schedule/MsgSendingSchedule.java Просмотреть файл

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




Загрузка…
Отмена
Сохранить