mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-26 14:05:04 +08:00
update 调整代码结构
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
package com.jsowell.api.uniapp.business;
|
||||
|
||||
import com.jsowell.common.core.controller.BaseController;
|
||||
import com.jsowell.common.response.RestApiResponse;
|
||||
import com.jsowell.pile.service.PileStationInfoService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* TODO
|
||||
*
|
||||
* @author Lemon
|
||||
* @Date 2024/7/16 13:44:06
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/business/pile/station")
|
||||
public class PileStationInfoController extends BaseController {
|
||||
|
||||
@Autowired
|
||||
private PileStationInfoService pileStationInfoService;
|
||||
|
||||
@GetMapping("/getStationStatisticsInfos/{stationId}")
|
||||
public RestApiResponse<?> getStationStatisticsInfos(@PathVariable("stationId") String stationId) {
|
||||
RestApiResponse<?> response = null;
|
||||
try {
|
||||
pileStationInfoService.getStationStatisticsInfos(stationId);
|
||||
} catch (Exception e) {
|
||||
|
||||
}
|
||||
|
||||
return response;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user