mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
对接浙江平台
This commit is contained in:
@@ -36,7 +36,7 @@ import com.jsowell.thirdparty.platform.service.impl.DianXingPlatformServiceImpl;
|
||||
import com.jsowell.thirdparty.platform.service.impl.HaiNanPlatformServiceImpl;
|
||||
import com.jsowell.thirdparty.huawei.HuaWeiService;
|
||||
import com.jsowell.thirdparty.lianlian.service.LianLianService;
|
||||
import com.jsowell.thirdparty.platform.service.impl.NinaXiaPlatformServiceImpl;
|
||||
import com.jsowell.thirdparty.platform.service.impl.NingXiaPlatformServiceImpl;
|
||||
import com.jsowell.thirdparty.platform.service.impl.QingHaiPlatformServiceImpl;
|
||||
import com.jsowell.thirdparty.platform.util.HttpRequestUtil;
|
||||
import com.jsowell.thirdparty.lutongyunting.service.LTYTService;
|
||||
@@ -48,7 +48,6 @@ import com.jsowell.thirdparty.yongchengboche.dto.YCBCGetTokenDTO;
|
||||
import com.jsowell.thirdparty.yongchengboche.service.YCBCService;
|
||||
import com.jsowell.thirdparty.zhongdianlian.service.ZDLService;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import lombok.val;
|
||||
import org.apache.commons.collections4.CollectionUtils;
|
||||
import org.bouncycastle.crypto.CryptoException;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@@ -123,7 +122,7 @@ public class CommonService {
|
||||
private QingHaiPlatformServiceImpl qingHaiPlatformService;
|
||||
|
||||
@Autowired
|
||||
private NinaXiaPlatformServiceImpl ninaXiaPlatformService;
|
||||
private NingXiaPlatformServiceImpl ninaXiaPlatformService;
|
||||
|
||||
@Autowired
|
||||
private DianXingPlatformServiceImpl dianXingPlatformService;
|
||||
|
||||
@@ -62,7 +62,7 @@ import java.util.Map;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* TODO
|
||||
* 海南平台
|
||||
*
|
||||
* @author Lemon
|
||||
* @Date 2024/1/18 10:05:23
|
||||
|
||||
@@ -56,6 +56,9 @@ import java.math.RoundingMode;
|
||||
import java.util.*;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* 上海联联平台
|
||||
*/
|
||||
@Service
|
||||
public class LianLianPlatformServiceImpl implements ThirdPartyPlatformService {
|
||||
Logger logger = LoggerFactory.getLogger(this.getClass());
|
||||
|
||||
@@ -56,8 +56,11 @@ import java.util.*;
|
||||
import java.util.function.Function;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* 宁夏平台
|
||||
*/
|
||||
@Service
|
||||
public class NinaXiaPlatformServiceImpl implements ThirdPartyPlatformService {
|
||||
public class NingXiaPlatformServiceImpl implements ThirdPartyPlatformService {
|
||||
// 平台类型
|
||||
private final String thirdPlatformType = ThirdPlatformTypeEnum.NING_XIA_PLATFORM.getTypeCode();
|
||||
|
||||
@@ -5,12 +5,11 @@ import com.google.common.collect.Lists;
|
||||
import com.jsowell.common.enums.thirdparty.ThirdPlatformTypeEnum;
|
||||
import com.jsowell.common.util.JWTUtils;
|
||||
import com.jsowell.common.util.StringUtils;
|
||||
import com.jsowell.pile.service.ThirdPartyPlatformConfigService;
|
||||
import com.jsowell.pile.thirdparty.CommonParamsDTO;
|
||||
import com.jsowell.pile.vo.ThirdPartySecretInfoVO;
|
||||
import com.jsowell.thirdparty.lianlian.vo.AccessTokenVO;
|
||||
import com.jsowell.thirdparty.platform.service.ThirdPartyPlatformService;
|
||||
import com.jsowell.thirdparty.platform.factory.ThirdPartyPlatformFactory;
|
||||
import com.jsowell.thirdparty.platform.service.ThirdPartyPlatformService;
|
||||
import com.jsowell.thirdparty.platform.util.Cryptos;
|
||||
import com.jsowell.thirdparty.platform.util.ThirdPartyPlatformUtils;
|
||||
import com.jsowell.thirdparty.service.ThirdpartySecretInfoService;
|
||||
@@ -20,14 +19,14 @@ import org.springframework.stereotype.Service;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 中电联
|
||||
*/
|
||||
@Service
|
||||
public class ZhongDianLianPlatformServiceImpl implements ThirdPartyPlatformService {
|
||||
// 平台类型
|
||||
private final String thirdPlatformType = ThirdPlatformTypeEnum.NING_BO_PLATFORM.getTypeCode();
|
||||
|
||||
@Autowired
|
||||
private ThirdPartyPlatformConfigService thirdPartyPlatformConfigService;
|
||||
|
||||
@Autowired
|
||||
private ThirdpartySecretInfoService thirdpartySecretInfoService;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user