mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
update 平台配置页面
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user