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