mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 19:45:09 +08:00
后管页面新增 停车平台配置
This commit is contained in:
@@ -16,6 +16,7 @@ import com.jsowell.common.util.poi.ExcelUtil;
|
||||
import com.jsowell.pile.domain.PileStationInfo;
|
||||
import com.jsowell.pile.domain.ThirdPartyStationRelation;
|
||||
import com.jsowell.pile.domain.ThirdPartySettingInfo;
|
||||
import com.jsowell.pile.domain.ThirdpartyParkingConfig;
|
||||
import com.jsowell.pile.dto.FastCreateStationDTO;
|
||||
import com.jsowell.pile.dto.LianLianPushStationInfoDTO;
|
||||
import com.jsowell.pile.dto.QueryStationDTO;
|
||||
@@ -292,7 +293,7 @@ public class PileStationInfoController extends BaseController {
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/bindParkingPlatform")
|
||||
public RestApiResponse<?> bindParkingPlatform(BindParkingPlatformDTO dto) {
|
||||
public RestApiResponse<?> bindParkingPlatform(@RequestBody BindParkingPlatformDTO dto) {
|
||||
logger.info("绑定停车平台 params:{}", JSON.toJSONString(dto));
|
||||
RestApiResponse<?> response = null;
|
||||
try {
|
||||
@@ -317,7 +318,9 @@ public class PileStationInfoController extends BaseController {
|
||||
logger.info("获取停车平台列表");
|
||||
RestApiResponse<?> response = null;
|
||||
try {
|
||||
|
||||
startPage();
|
||||
List<ThirdpartyParkingConfig> list = parkingConfigService.selectInfoList();
|
||||
response = new RestApiResponse<>(list);
|
||||
} catch (Exception e) {
|
||||
logger.error("获取停车平台列表 error,", e);
|
||||
response = new RestApiResponse<>(e);
|
||||
|
||||
Reference in New Issue
Block a user