mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 19:45:09 +08:00
加日志
This commit is contained in:
@@ -46,6 +46,8 @@ import com.jsowell.thirdparty.platform.factory.ThirdPartyPlatformFactory;
|
||||
import com.jsowell.thirdparty.platform.util.*;
|
||||
import com.jsowell.thirdparty.service.ThirdpartySecretInfoService;
|
||||
import org.apache.commons.collections4.CollectionUtils;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@@ -57,6 +59,7 @@ import java.util.stream.Collectors;
|
||||
|
||||
@Service
|
||||
public class LianLianPlatformServiceImpl implements ThirdPartyPlatformService {
|
||||
Logger logger = LoggerFactory.getLogger(this.getClass());
|
||||
// 平台类型
|
||||
private final String thirdPlatformType = ThirdPlatformTypeEnum.LIAN_LIAN_PLATFORM.getTypeCode();
|
||||
|
||||
@@ -1246,7 +1249,6 @@ public class LianLianPlatformServiceImpl implements ThirdPartyPlatformService {
|
||||
.connectorID(pileConnectorCode)
|
||||
.succStat(0)
|
||||
.failReason(0)
|
||||
|
||||
.build();
|
||||
String type = ThirdPartyOperatorIdEnum.getTypeByOperatorId(dto.getOperatorId());
|
||||
if (StringUtils.equals(ThirdPlatformTypeEnum.XIN_DIAN_TU.getTypeCode(), type)) {
|
||||
@@ -1274,7 +1276,7 @@ public class LianLianPlatformServiceImpl implements ThirdPartyPlatformService {
|
||||
// 生成sig
|
||||
// String resultSign = GBSignUtils.sign(resultMap, configInfo.getSignSecret());
|
||||
// resultMap.put("Sig", resultSign);
|
||||
|
||||
logger.info("联联平台请求启动充电 result :{}", JSON.toJSONString(vo));
|
||||
Map<String, String> resultMap = ThirdPartyPlatformUtils.generateResultMap(vo, thirdPartySecretInfoVO);
|
||||
return resultMap;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user