mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-03 17:40:13 +08:00
update 中电联service
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
package com.jsowell.thirdparty.zhongdianlian.service;
|
||||
|
||||
import com.jsowell.pile.dto.QueryStationInfoDTO;
|
||||
import com.jsowell.thirdparty.zhongdianlian.dto.ZDLGetTokenDTO;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 中电联 Service
|
||||
*
|
||||
@@ -10,5 +13,17 @@ import com.jsowell.thirdparty.zhongdianlian.dto.ZDLGetTokenDTO;
|
||||
*/
|
||||
public interface ZDLService {
|
||||
|
||||
/**
|
||||
* 获取令牌
|
||||
* @param dto
|
||||
* @return
|
||||
*/
|
||||
public String ZDLGetToken(ZDLGetTokenDTO dto);
|
||||
|
||||
/**
|
||||
* 查询站点信息
|
||||
* @param dto
|
||||
* @return
|
||||
*/
|
||||
public Map<String, String> queryStationsInfo(QueryStationInfoDTO dto);
|
||||
}
|
||||
|
||||
@@ -1,11 +1,14 @@
|
||||
package com.jsowell.thirdparty.zhongdianlian.service.impl;
|
||||
|
||||
import com.jsowell.pile.dto.QueryStationInfoDTO;
|
||||
import com.jsowell.thirdparty.lianlian.service.LianLianService;
|
||||
import com.jsowell.thirdparty.zhongdianlian.dto.ZDLGetTokenDTO;
|
||||
import com.jsowell.thirdparty.zhongdianlian.service.ZDLService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 中电联 Service
|
||||
*
|
||||
@@ -32,5 +35,14 @@ public class ZDLServiceImpl implements ZDLService {
|
||||
dto.getOperatorSecret(), dto.getDataSecretIv(), dto.getSignSecret(), dto.getDataSecret());
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询站点信息
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public Map<String, String> queryStationsInfo(QueryStationInfoDTO dto) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user