update 对接第三方平台

This commit is contained in:
2024-03-26 17:13:00 +08:00
parent 7db83ee738
commit 79caa6f0bb
24 changed files with 750 additions and 544 deletions

View File

@@ -125,7 +125,7 @@ public class HttpRequestUtil {
String dataSecretIV, String operatorId, String sigSecret,
String thirdPlatformType) {
String type = ThirdPartyOperatorIdEnum.getTypeByOperatorId(operatorId);
String label = ThirdPlatformTypeEnum.getLabelByCode(type);
String label = ThirdPlatformTypeEnum.getTypeLabelByTypeCode(type);
if(StringUtils.isBlank(label)) {
label = operatorId + "(" + url + ")";
}
@@ -143,7 +143,7 @@ public class HttpRequestUtil {
params.put("Seq", "001");
// 此处是与其他获取令牌方法唯一不同之处,甬城泊车获取令牌需要添加此字段
if (ThirdPlatformTypeEnum.YONG_CHENG_BO_CHE.getCode().equals(thirdPlatformType)) {
if (ThirdPlatformTypeEnum.YONG_CHENG_BO_CHE.getTypeCode().equals(thirdPlatformType)) {
params.put("Portname", "wcc-pro");
}