diff --git a/jsowell-admin/src/main/java/com/jsowell/api/thirdparty/WeiWangKuaiDianController.java b/jsowell-admin/src/main/java/com/jsowell/api/thirdparty/WeiWangKuaiDianController.java index 76261d6f2..66a7dcbce 100644 --- a/jsowell-admin/src/main/java/com/jsowell/api/thirdparty/WeiWangKuaiDianController.java +++ b/jsowell-admin/src/main/java/com/jsowell/api/thirdparty/WeiWangKuaiDianController.java @@ -263,7 +263,7 @@ public class WeiWangKuaiDianController extends ThirdPartyBaseController { */ @PostMapping("/v1/query_start_charge") public CommonResult query_start_charge(HttpServletRequest request, @RequestBody CommonParamsDTO dto) { -// logger.info("{}-请求启动充电 params:{}", platformName, JSON.toJSONString(dto)); + logger.info("{}-请求启动充电 params:{}", platformName, JSON.toJSONString(dto)); try { // 校验令牌 if (!verifyToken(request.getHeader("Authorization"))) { diff --git a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/service/impl/LianLianPlatformServiceImpl.java b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/service/impl/LianLianPlatformServiceImpl.java index 33fcd09af..b96843736 100644 --- a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/service/impl/LianLianPlatformServiceImpl.java +++ b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/service/impl/LianLianPlatformServiceImpl.java @@ -636,6 +636,7 @@ public class LianLianPlatformServiceImpl implements ThirdPartyPlatformService { }*/ //正式环境站点149推送时报错,"Msg":"更新站点数据出错。站点ID:LC149,错误信息:站点的所属运营商不能修改", + // 正确运营商为"上海之禾"-057643496 if(StringUtils.equals("149", stationId)){ //使用EquipmentOwnerID = MA1JLFUU8 info.setEquipmentOwnerID(Constants.OPERATORID_LIANLIAN); @@ -1069,6 +1070,13 @@ public class LianLianPlatformServiceImpl implements ThirdPartyPlatformService { orderInfo.setStationID("LC658"); }*/ + // 正确运营商"之禾" + if(StringUtils.equals("149", orderInfo.getStationID())){ + //使用EquipmentOwnerID = MA1JLFUU8 + orderInfo.setEquipmentOwnerID(Constants.OPERATORID_LIANLIAN); + } + + // 获取令牌 String token = getToken(urlAddress, operatorId, operatorSecret, dataSecretIv, signSecret, dataSecret); if (StringUtils.isBlank(token)) { @@ -1594,6 +1602,7 @@ public class LianLianPlatformServiceImpl implements ThirdPartyPlatformService { succStat = 1; // 1- 此设备尚未插枪; failReason = 1; + failReasonMsg = "此设备尚未插枪"; } vo.setEquipAuthSeq(equipAuthSeq); vo.setConnectorID(pileConnectorCode);