后管页面新增 停车平台配置

This commit is contained in:
Lemon
2023-08-25 15:50:23 +08:00
parent cb79523b8b
commit c08c4f4a95
10 changed files with 173 additions and 13 deletions

View File

@@ -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);