|
|
@@ -94,10 +94,11 @@ public class ChargingBusinessServiceImpl implements ChargingBusinessService {
|
|
|
@Override
|
|
|
public ChargingPricePolicyVO queryEquipBusinessPolicy(String equipBizSeq, String connectorID) {
|
|
|
Map<String, Object> queryTokenParms = new HashMap<>();
|
|
|
- queryTokenParms.put("equipBizSeq", equipBizSeq);
|
|
|
- queryTokenParms.put("connectorID", connectorID);
|
|
|
+ // 注意:第三方接口要求大驼峰命名
|
|
|
+ queryTokenParms.put("EquipBizSeq", equipBizSeq);
|
|
|
+ queryTokenParms.put("ConnectorID", connectorID);
|
|
|
log.info("查询设备价格策略请求参数:{}", queryTokenParms);
|
|
|
- JsonObject jsonObject = chargingUtil.chargingRequest(ConnectivityConstants.TEST_DOMAIN + ConnectivityConstants.QUERY_EQUIP_BUSINESS_POLICY, queryTokenParms, false);
|
|
|
+ JsonObject jsonObject = chargingUtil.chargingRequest(ConnectivityConstants.TEST_DOMAIN + ConnectivityConstants.QUERY_EQUIP_BUSINESS_POLICY, queryTokenParms, true);
|
|
|
log.info("查询设备价格策略返回结果:{}", jsonObject);
|
|
|
JsonObject responseDecode = chargingUtil.responseDecode(jsonObject);
|
|
|
log.info("查询设备价格策略返回结果解密后:{}", responseDecode);
|
|
|
@@ -110,7 +111,7 @@ public class ChargingBusinessServiceImpl implements ChargingBusinessService {
|
|
|
queryTokenParms.put("EquipAuthSeq", EquipAuthSeq);
|
|
|
queryTokenParms.put("ConnectorID", ConnectorID);
|
|
|
log.info("查询设备认证请求参数:{}", queryTokenParms);
|
|
|
- JsonObject jsonObject = chargingUtil.chargingRequest(ConnectivityConstants.TEST_DOMAIN + ConnectivityConstants.QUERY_EQUIP_AUTH, queryTokenParms, false);
|
|
|
+ JsonObject jsonObject = chargingUtil.chargingRequest(ConnectivityConstants.TEST_DOMAIN + ConnectivityConstants.QUERY_EQUIP_AUTH, queryTokenParms, true);
|
|
|
log.info("查询设备认证返回结果:{}", jsonObject);
|
|
|
JsonObject responseDecode = chargingUtil.responseDecode(jsonObject);
|
|
|
log.info("查询设备认证返回结果解密后:{}", responseDecode);
|