update 加密方式

This commit is contained in:
YAS\29473
2025-08-13 11:00:28 +08:00
parent bebbc07363
commit 373d9839a5
2 changed files with 5 additions and 8 deletions

View File

@@ -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;
} }

View File

@@ -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;
} }