mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-16 13:19:57 +08:00
update 加密方式
This commit is contained in:
@@ -226,7 +226,7 @@ public class JiLinPlatformServiceImpl implements ThirdPartyPlatformService {
|
|||||||
// 未查到数据
|
// 未查到数据
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
ThirdPartySecretInfoVO thirdPartySecretInfoVO = null;
|
ThirdPartySecretInfoVO thirdPartySecretInfoVO = getJiLinSecretInfo();
|
||||||
|
|
||||||
PageInfo<ThirdPartyStationInfoVO> pageInfo = new PageInfo<>(stationInfos);
|
PageInfo<ThirdPartyStationInfoVO> pageInfo = new PageInfo<>(stationInfos);
|
||||||
List<SupStationInfoDTO> resultList = new ArrayList<>();
|
List<SupStationInfoDTO> resultList = new ArrayList<>();
|
||||||
@@ -529,8 +529,7 @@ public class JiLinPlatformServiceImpl implements ThirdPartyPlatformService {
|
|||||||
Map<String, Object> map = new LinkedHashMap<>();
|
Map<String, Object> map = new LinkedHashMap<>();
|
||||||
map.put("StationStatusInfos", stationStatusInfos);
|
map.put("StationStatusInfos", stationStatusInfos);
|
||||||
|
|
||||||
Map<String, String> resultMap = ThirdPartyPlatformUtils.generateResultMap(map, thirdPartySecretInfoVO.getOurDataSecret(),
|
Map<String, String> resultMap = ThirdPartyPlatformUtils.generateResultMap(map, thirdPartySecretInfoVO);
|
||||||
thirdPartySecretInfoVO.getOurDataSecretIv(), thirdPartySecretInfoVO.getTheirSigSecret());
|
|
||||||
return resultMap;
|
return resultMap;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1010,8 +1009,7 @@ public class JiLinPlatformServiceImpl implements ThirdPartyPlatformService {
|
|||||||
|
|
||||||
|
|
||||||
log.info("请求参数:{}", JSON.toJSONString(json));
|
log.info("请求参数:{}", JSON.toJSONString(json));
|
||||||
return ThirdPartyPlatformUtils.generateResultMapV2(json, jiLinSecretInfo.getOurDataSecret()
|
return ThirdPartyPlatformUtils.generateResultMap(json, jiLinSecretInfo);
|
||||||
, jiLinSecretInfo.getOurDataSecretIv(), jiLinSecretInfo.getOurSigSecret());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -1273,8 +1271,7 @@ public class JiLinPlatformServiceImpl implements ThirdPartyPlatformService {
|
|||||||
Map<String, Object> map = new LinkedHashMap<>();
|
Map<String, Object> map = new LinkedHashMap<>();
|
||||||
map.put("StationStats", supStationStatsInfo);
|
map.put("StationStats", supStationStatsInfo);
|
||||||
|
|
||||||
Map<String, String> resultMap = ThirdPartyPlatformUtils.generateResultMapV2(map, thirdPartySecretInfoVO.getOurDataSecret(),
|
Map<String, String> resultMap = ThirdPartyPlatformUtils.generateResultMap(map, thirdPartySecretInfoVO);
|
||||||
thirdPartySecretInfoVO.getOurDataSecretIv(), thirdPartySecretInfoVO.getTheirSigSecret());
|
|
||||||
return resultMap;
|
return resultMap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -151,7 +151,7 @@ public class YunWeiPlatformServiceImpl implements ThirdPartyPlatformService {
|
|||||||
vo.setFailReason(failReason);
|
vo.setFailReason(failReason);
|
||||||
vo.setSuccStat(succStat);
|
vo.setSuccStat(succStat);
|
||||||
vo.setOperatorID(dto.getOperatorID());
|
vo.setOperatorID(dto.getOperatorID());
|
||||||
|
logger.info("queryToken result: " + JSON.toJSONString(vo));
|
||||||
Map<String, String> resultMap = ThirdPartyPlatformUtils.generateResultMap(vo, thirdPartySecretInfoVO);
|
Map<String, String> resultMap = ThirdPartyPlatformUtils.generateResultMap(vo, thirdPartySecretInfoVO);
|
||||||
return resultMap;
|
return resultMap;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user