| | |
| | | |
| | | @ApiOperation("获取省下的市(下拉)") |
| | | @GetMapping("getCityByUid") |
| | | public Response getCityByUid(@RequestParam(required = false) String stationName1) { |
| | | public Response getCityByUid(@RequestParam(required = false) String provice) { |
| | | User uinf= ActionUtil.getUser(); |
| | | return stationInfService.getCityByUid(uinf.getId(),stationName1); |
| | | return stationInfService.getCityByUid(uinf.getId(),provice); |
| | | } |
| | | |
| | | @ApiOperation("获取省市下的区县(下拉)") |
| | | @GetMapping("getCountryByUid") |
| | | public Response getCountryByUid(@RequestParam(required = false) String stationName1,@RequestParam(required = false) String stationName2) { |
| | | public Response getCountryByUid(@RequestParam(required = false) String provice,@RequestParam(required = false) String city) { |
| | | User uinf= ActionUtil.getUser(); |
| | | return stationInfService.getCountryByUid(uinf.getId(),stationName1,stationName2); |
| | | return stationInfService.getCountryByUid(uinf.getId(),provice,city); |
| | | } |
| | | |
| | | @ApiOperation("获取省市区县下的站点(下拉)") |
| | | @GetMapping("getStationByUid") |
| | | public Response getStationByUid(@RequestParam(required = false) String stationName1,@RequestParam(required = false) String stationName2,@RequestParam(required = false) String stationName3) { |
| | | public Response getStationByUid(@RequestParam(required = false) String provice,@RequestParam(required = false) String city,@RequestParam(required = false) String country) { |
| | | User uinf= ActionUtil.getUser(); |
| | | return stationInfService.getStationByUid(uinf.getId(),stationName1,stationName2,stationName3); |
| | | return stationInfService.getStationByUid(uinf.getId(),provice,city,country); |
| | | } |
| | | |
| | | |