优化错误信息
This commit is contained in:
parent
cbeb64d662
commit
2195ca2caa
@ -70,7 +70,7 @@ public class QueryEquipAuthController {
|
||||
String terminalStatus = (String) cacheGun.get("vehicleGunStatus");
|
||||
String status = (String) cacheGun.get("status");
|
||||
if (!"空闲".equals(status)) {
|
||||
resp.setMsg("终端状态异常:[".concat(status == null ? "未注册" : isInteger(status) ? "充电中" : status).concat("]"));
|
||||
resp.setMsg("终端不在空闲状态:[".concat(status == null ? "未注册" : isInteger(status) ? "充电中" : status).concat("]"));
|
||||
resp.setRet("500");
|
||||
equipAuthResponse.setSuccStat(1);
|
||||
equipAuthResponse.setFailReason(1);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user