| | |
| | | return service.getStationConfig(); |
| | | } |
| | | |
| | | @PostMapping("updateStationConfig") |
| | | @ApiOperation("编辑首页机房配置信息") |
| | | public Response updateStationConfig(@RequestBody NjHomeStation njHomeStation){ |
| | | return service.updateStationConfig(njHomeStation); |
| | | @GetMapping("updateStationConfig") |
| | | @ApiOperation("编辑首页机房配置信息(不存在则插入)") |
| | | public Response updateStationConfig(@RequestParam int stattionid){ |
| | | return service.updateStationConfig(stattionid); |
| | | } |
| | | /*@PostMapping("addStationConfig") |
| | | @ApiOperation("添加默认首页机房配置信息") |
| | | public Response addStationConfig(@RequestBody NjHomeStation njHomeStation){ |
| | | return service.addStationConfig(njHomeStation); |
| | | }*/ |
| | | } |