注释短信接收
This commit is contained in:
@@ -114,16 +114,16 @@ abstract class BaseBatch {
|
|||||||
if(SystemUtils.IS_OS_LINUX){
|
if(SystemUtils.IS_OS_LINUX){
|
||||||
sendDingDingMsg("ae14f50045e9375c354940a2afb86f14e453bd1f08f78da0ba6e788d35bccec4",msg, phoneNum)
|
sendDingDingMsg("ae14f50045e9375c354940a2afb86f14e453bd1f08f78da0ba6e788d35bccec4",msg, phoneNum)
|
||||||
|
|
||||||
try {
|
// try {
|
||||||
Map<String, String> params = new HashMap<String, String>();
|
// Map<String, String> params = new HashMap<String, String>();
|
||||||
params.put("phone", "13764369683");
|
// params.put("phone", "13764369683");
|
||||||
params.put("type", "taskFail");
|
// params.put("type", "taskFail");
|
||||||
params.put("msg", batchName.substring(batchName.length() - 20, batchName.length()));
|
// params.put("msg", batchName.substring(batchName.length() - 20, batchName.length()));
|
||||||
HttpRequest httpRequest = new HttpRequest();
|
// HttpRequest httpRequest = new HttpRequest();
|
||||||
httpRequest.get("http://didata-cloud-server.fangjia.com/sms/send", params, "utf-8");
|
// httpRequest.get("http://didata-cloud-server.fangjia.com/sms/send", params, "utf-8");
|
||||||
} catch (Exception ex) {
|
// } catch (Exception ex) {
|
||||||
|
//
|
||||||
}
|
// }
|
||||||
|
|
||||||
task.exception = msg.toString()
|
task.exception = msg.toString()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user