mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-02 09:00:03 +08:00
update 对接第三方平台
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user