新增 华为相关接口调用入口

This commit is contained in:
Lemon
2024-01-17 16:12:11 +08:00
parent 536939b722
commit 5a35135500
6 changed files with 37 additions and 2 deletions

View File

@@ -200,7 +200,7 @@ public interface HuaWeiService {
/**
* 平台充电设备编码同步
* 平台充电设备编码同步 (相当于pushStationInfo)
* 平台 --> 华为
*
* notification_operation_system_info

View File

@@ -108,7 +108,9 @@ public class HttpRequestUtil {
String dataSecretIV, String operatorId, String sigSecret){
String type = ThirdPartyOperatorIdEnum.getTypeByOperatorId(operatorId);
String label = ThirdPlatformTypeEnum.getLabelByCode(type);
if(StringUtils.isBlank(label)) {
label = operatorId + "(" + url + ")";
}
log.info(label + "发送请求 data:{}", data);
//加密
byte[] encryptText = Cryptos.aesEncrypt(data.getBytes(),