add 新电途Controller

This commit is contained in:
Lemon
2024-01-03 15:23:35 +08:00
parent bdbb4d42b0
commit 05073b9a97
6 changed files with 455 additions and 1 deletions

View File

@@ -31,6 +31,12 @@ public interface XDTService {
*/
Map<String, String> generateToken(CommonParamsDTO dto) throws UnsupportedEncodingException;
/**
* 校验签名
* @param dto
*/
Map<String, String> checkoutSign(CommonParamsDTO dto);
/**
* 查询站点信息
* @param dto

View File

@@ -45,6 +45,11 @@ public class XDTServiceImpl implements XDTService {
return zdlService.generateToken(dto);
}
@Override
public Map<String, String> checkoutSign(CommonParamsDTO dto) {
return zdlService.checkoutSign(dto);
}
/**
* 查询站点信息
* @param dto

View File

@@ -127,4 +127,10 @@ public interface ZDLService {
* @return
*/
String notificationEquipChargeStatus(String orderCode) throws UnsupportedEncodingException;
/**
* 校验签名
* @param dto
*/
Map<String, String> checkoutSign(CommonParamsDTO dto);
}

View File

@@ -400,6 +400,15 @@ public class ZDLServiceImpl implements ZDLService {
return lianLianService.pushStopChargeResult(orderCode);
}
/**
* 校验签名
* @param dto
*/
@Override
public Map<String, String> checkoutSign(CommonParamsDTO dto) {
return lianLianService.checkoutSign(dto);
}
/**
* 推送充电状态
* @param orderCode