|
@@ -92,9 +92,13 @@ public class TLocationCheckServiceImpl extends ServiceImpl<TLocationCheckMapper,
|
|
}
|
|
}
|
|
|
|
|
|
String phone = "18620242721";
|
|
String phone = "18620242721";
|
|
|
|
+ String phone1 = "13631231970"; // 基哥
|
|
|
|
+ String phone2 = "15018460394"; // 龙
|
|
|
|
+
|
|
String messages = "【申泽部门】设备编号:" + clientId + ",所在ip与设定位置不符,请及时查看。";
|
|
String messages = "【申泽部门】设备编号:" + clientId + ",所在ip与设定位置不符,请及时查看。";
|
|
if (!containsUserInput) { // 不包含,发短信通知,并拒绝审核
|
|
if (!containsUserInput) { // 不包含,发短信通知,并拒绝审核
|
|
YunPianSms.sendSms(appid, messages, phone);
|
|
YunPianSms.sendSms(appid, messages, phone);
|
|
|
|
+ YunPianSms.sendSms(appid, messages, phone2);
|
|
return "fail";
|
|
return "fail";
|
|
}
|
|
}
|
|
return "success";
|
|
return "success";
|
|
@@ -136,8 +140,12 @@ public class TLocationCheckServiceImpl extends ServiceImpl<TLocationCheckMapper,
|
|
@Override
|
|
@Override
|
|
public void schSendMsg(String locErrorEq) throws IOException {
|
|
public void schSendMsg(String locErrorEq) throws IOException {
|
|
String phone = "18620242721";
|
|
String phone = "18620242721";
|
|
|
|
+ String phone1 = "13631231970"; // 基哥
|
|
|
|
+ String phone2 = "15018460394"; // 龙
|
|
String messages = "【申泽部门】设备编号:" + locErrorEq + ",所在ip与设定位置不符,请及时查看。";
|
|
String messages = "【申泽部门】设备编号:" + locErrorEq + ",所在ip与设定位置不符,请及时查看。";
|
|
YunPianSms.sendSms(appid, messages, phone);
|
|
YunPianSms.sendSms(appid, messages, phone);
|
|
|
|
+ YunPianSms.sendSms(appid, messages, phone1);
|
|
|
|
+ YunPianSms.sendSms(appid, messages, phone2);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|