mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
update
This commit is contained in:
@@ -216,7 +216,7 @@ public class ChangZhouController extends ThirdPartyBaseController {
|
||||
// 执行逻辑
|
||||
Map<String, String> map = platformLogic.queryEquipAuth(queryEquipmentDTO);
|
||||
logger.info("{}-请求设备认证 result:{}" , platformName , map);
|
||||
return CommonResult.success(Integer.parseInt(map.get("Ret")) , map.get("Msg") , map.get("Data") , map.get("Sig"));
|
||||
return CommonResult.success(0 , "请求设备认证成功!" , map.get("Data") , map.get("Sig"));
|
||||
} catch (Exception e) {
|
||||
logger.error("{}-请求设备认证 error:" , platformName , e);
|
||||
}
|
||||
@@ -250,7 +250,7 @@ public class ChangZhouController extends ThirdPartyBaseController {
|
||||
// 执行逻辑
|
||||
Map<String, String> map = platformLogic.queryEquipBusinessPolicy(queryStartChargeDTO);
|
||||
logger.info("{}-查询业务策略信息 result:{}" , platformName , map);
|
||||
return CommonResult.success(Integer.parseInt(map.get("Ret")) , map.get("Msg") , map.get("Data") , map.get("Sig"));
|
||||
return CommonResult.success(0 , "查询业务策略信息成功!" , map.get("Data") , map.get("Sig"));
|
||||
} catch (Exception e) {
|
||||
logger.info("{}-查询业务策略信息 error:" , platformName , e);
|
||||
}
|
||||
@@ -287,7 +287,7 @@ public class ChangZhouController extends ThirdPartyBaseController {
|
||||
// 执行逻辑
|
||||
Map<String, String> map = platformLogic.queryStartCharge(queryStartChargeDTO);
|
||||
logger.info("{}-请求启动充电 result:{}" , platformName , map);
|
||||
return CommonResult.success(Integer.parseInt(map.get("Ret")) , map.get("Msg") , map.get("Data") , map.get("Sig"));
|
||||
return CommonResult.success(0 , "请求启动充电成功!" , map.get("Data") , map.get("Sig"));
|
||||
} catch (Exception e) {
|
||||
logger.error("{}-请求启动充电 error:" , platformName , e);
|
||||
}
|
||||
@@ -349,7 +349,7 @@ public class ChangZhouController extends ThirdPartyBaseController {
|
||||
// 执行逻辑
|
||||
Map<String, String> map = platformLogic.queryEquipChargeStatus(queryEquipChargeStatusDTO);
|
||||
logger.info("{}-查询充电状态 result:{}" , platformName , map);
|
||||
return CommonResult.success(Integer.parseInt(map.get("Ret")) , map.get("Msg") , map.get("Data") , map.get("Sig"));
|
||||
return CommonResult.success(0 , "查询充电状态成功!" , map.get("Data") , map.get("Sig"));
|
||||
} catch (Exception e) {
|
||||
logger.error("{}-查询充电状态 error:" , platformName , e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user