update 平台配置页面

This commit is contained in:
2024-04-29 17:24:16 +08:00
parent e5b3ea7989
commit a41749a127
10 changed files with 222 additions and 29 deletions

View File

@@ -18,6 +18,7 @@ import com.jsowell.pile.domain.ThirdpartyParkingConfig;
import com.jsowell.pile.dto.FastCreateStationDTO;
import com.jsowell.pile.dto.PushStationInfoDTO;
import com.jsowell.pile.dto.QueryStationDTO;
import com.jsowell.pile.dto.ThirdPartyStationRelationDTO;
import com.jsowell.pile.dto.amap.EditAmapFlagDTO;
import com.jsowell.pile.dto.lutongyunting.BindParkingPlatformDTO;
import com.jsowell.pile.service.PileStationInfoService;
@@ -350,4 +351,21 @@ public class PileStationInfoController extends BaseController {
logger.info("获取停车平台列表 result:{}", response);
return response;
}
/**
* 更新站点与第三方平台关系
*/
@PostMapping("/updateThirdPartyStationRelation")
public AjaxResult updateThirdPartyStationRelation(ThirdPartyStationRelationDTO dto) {
AjaxResult result;
try {
startPage();
thirdPartyStationRelationService.updateThirdPartyStationRelation(dto);
result = AjaxResult.success();
} catch (Exception e) {
logger.error("获取停车平台列表 error,", e);
result = AjaxResult.error(e.getMessage());
}
return result;
}
}