修改获取运维ip和端口的返回bug

serial
liuguijing 1 year ago
parent 8b190fdb1a
commit 65c858ba1b

@ -166,7 +166,7 @@ public class SimUtil {
sendtype = SmsTypeEnum.GET_OPERATE.value();
ifmessageCorrect = true;
int mntnMode = UpdateSysConfigUtil.getMntnMode(context);
sendmessage = SmsTypeEnum.GET_OPERATE + "=" + mntnMode;
sendmessage = SmsTypeEnum.GET_OPERATE.value() + "=" + mntnMode;
} else if (content.contains(SmsTypeEnum.SET_OPERATE_URL.value())) {
sendtype = SmsTypeEnum.SET_OPERATE_URL.value();
String[] split1 = StringUtils.splitString1(content);
@ -231,7 +231,7 @@ public class SimUtil {
sendtype = SmsTypeEnum.GET_CMDID.value();
ifmessageCorrect = true;
String cmdid = UpdateSysConfigUtil.getCmdid(context);
sendmessage = SmsTypeEnum.GET_OPERATE + "=" + cmdid;
sendmessage = SmsTypeEnum.GET_CMDID.value() + "=" + cmdid;
} else if (content.contains(SmsTypeEnum.SET_IP.value())) {
sendtype = SmsTypeEnum.SET_IP.value();
String[] split1 = StringUtils.splitString1(content);
@ -269,7 +269,7 @@ public class SimUtil {
sendtype = SmsTypeEnum.GET_IP.value();
ifmessageCorrect = true;
String ip = UpdateSysConfigUtil.getIP(context);
sendmessage = SmsTypeEnum.GET_IP + "=" + ip;
sendmessage = SmsTypeEnum.GET_IP.value() + "=" + ip;
} else if (content.contains(SmsTypeEnum.SET_OSD.value())) {
sendtype = SmsTypeEnum.SET_OSD.value();
String[] split1 = StringUtils.splitString1(content);

Loading…
Cancel
Save