update 移除未使用service

This commit is contained in:
Guoqs
2025-09-12 15:34:40 +08:00
parent d44ca46a16
commit 617e9120e1
8 changed files with 2 additions and 36 deletions

View File

@@ -4,11 +4,10 @@ import com.alibaba.fastjson2.JSON;
import com.alibaba.fastjson2.JSONObject;
import com.jsowell.common.annotation.Anonymous;
import com.jsowell.common.core.controller.BaseController;
import com.jsowell.netty.service.camera.CameraBusinessService;
import com.jsowell.pile.dto.camera.CameraHeartBeatDTO;
import com.jsowell.pile.dto.camera.SendMsg2TopicDTO;
import com.jsowell.thirdparty.camera.common.CameraCommonResult;
import com.jsowell.service.CameraService;
import com.jsowell.thirdparty.camera.common.CameraCommonResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
@@ -28,9 +27,6 @@ public class CameraController extends BaseController {
@Autowired
private CameraService cameraService;
@Autowired
private CameraBusinessService cameraBusinessService;
/**
* 心跳
* @param dto

View File

@@ -27,8 +27,6 @@ import java.util.Map;
@RequestMapping("/changzhou")
public class ChangZhouController extends ThirdPartyBaseController {
private final String platformName = "新运常畅充";
private final String platformType = ThirdPlatformTypeEnum.CHANG_ZHOU_PLATFORM.getTypeCode();

View File

@@ -1,31 +1,23 @@
package com.jsowell.api.thirdparty;
import com.alibaba.fastjson2.JSON;
import com.alibaba.fastjson2.JSONObject;
import com.jsowell.common.annotation.Anonymous;
import com.jsowell.common.core.controller.BaseController;
import com.jsowell.common.enums.thirdparty.ThirdPartyReturnCodeEnum;
import com.jsowell.common.enums.thirdparty.ThirdPlatformTypeEnum;
import com.jsowell.common.exception.BusinessException;
import com.jsowell.common.response.RestApiResponse;
import com.jsowell.common.util.JWTUtils;
import com.jsowell.pile.domain.ThirdPartyPlatformConfig;
import com.jsowell.pile.dto.QueryEquipChargeStatusDTO;
import com.jsowell.pile.dto.QueryEquipmentDTO;
import com.jsowell.pile.dto.QueryStartChargeDTO;
import com.jsowell.pile.dto.QueryStationInfoDTO;
import com.jsowell.pile.service.ThirdPartyPlatformConfigService;
import com.jsowell.pile.thirdparty.CommonParamsDTO;
import com.jsowell.thirdparty.lianlian.common.CommonResult;
import com.jsowell.thirdparty.platform.util.Cryptos;
import com.jsowell.thirdparty.platform.util.Encodes;
import com.jsowell.thirdparty.platform.service.ThirdPartyPlatformService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletRequest;
import java.nio.charset.StandardCharsets;
import java.util.Map;
/**
@@ -35,9 +27,6 @@ import java.util.Map;
@RestController
@RequestMapping("/hainan")
public class HaiNanPlatformController extends ThirdPartyBaseController {
// 使用海南平台处理逻辑
// @Autowired
// private AbsInterfaceWithPlatformLogic platformLogic = new HaiNanPlatformLogic();
private final String platformName = "海南省平台";
@@ -47,9 +36,6 @@ public class HaiNanPlatformController extends ThirdPartyBaseController {
@Qualifier("haiNanPlatformServiceImpl")
private ThirdPartyPlatformService platformLogic;
@Autowired
private ThirdPartyPlatformConfigService thirdPartyPlatformConfigService;
/**
* 获取token接口
* http://localhost:8080/hainan/v1/query_token

View File

@@ -26,8 +26,6 @@ import java.util.Map;
@Anonymous
public class JiLinPlatformController extends ThirdPartyBaseController{
private final String platformName = "吉林省平台";
private final String platformType = ThirdPlatformTypeEnum.JI_LIN_PLATFORM.getTypeCode();

View File

@@ -38,9 +38,6 @@ public class NRController extends ThirdPartyBaseController {
@Qualifier("jiangSuPlatformServiceImpl")
private ThirdPartyPlatformService platformLogic;
// @Autowired
// private NRService nrService;
/**
* 查询充电站信息
* @param dto

View File

@@ -22,7 +22,7 @@ import java.lang.reflect.Method;
import java.util.Map;
/**
* 内蒙古接口
* 基础Controller
*/
@Anonymous
@RestController

View File

@@ -10,7 +10,6 @@ import com.jsowell.pile.dto.*;
import com.jsowell.pile.thirdparty.CommonParamsDTO;
import com.jsowell.thirdparty.lianlian.common.CommonResult;
import com.jsowell.thirdparty.platform.service.ThirdPartyPlatformService;
import com.jsowell.thirdparty.xindiantu.service.XDTService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.web.bind.annotation.*;
@@ -38,9 +37,6 @@ public class XDTController extends ThirdPartyBaseController {
@Qualifier("xinDiantuPlatfromServiceImpl")
private ThirdPartyPlatformService platformLogic;
@Autowired
private XDTService xdtService;
/**
* 获取token接口
* http://localhost:8080/xindiantu/v1/query_token

View File

@@ -29,8 +29,6 @@ import java.util.Map;
@RestController
@RequestMapping("/zdl")
public class ZDLController extends ThirdPartyBaseController {
// @Autowired
// private ZDLService zdlService;
private final String platformName = "宁波平台";
@@ -38,9 +36,6 @@ public class ZDLController extends ThirdPartyBaseController {
@Qualifier("zhongDianLianPlatformServiceImpl")
private ThirdPartyPlatformService platformLogic;
// @Autowired
// private LianLianService lianLianService;
/**
* 获取token接口
* http://localhost:8080/zdl/v1/query_token