| | |
| | | return service.delete(appId); |
| | | } |
| | | |
| | | @PutMapping("active") |
| | | @ApiOperation(value = "应用-设置激活") |
| | | public Response updateActive(@RequestBody Application app){ |
| | | return service.updateActive(app); |
| | | } |
| | | |
| | | @GetMapping("active") |
| | | @ApiOperation(value = "应用-查询当前激活") |
| | | public Response getActive(@RequestParam Integer userId){ |
| | | return service.getActive(userId); |
| | | } |
| | | |
| | | /*======应用配置======*/ |
| | | @PostMapping("config") |
| | | @ApiOperation(value = "配置-保存当前应用的配置") |
| | |
| | | public Response getAllConfig(@RequestParam Integer appId){ |
| | | return service.getAllConfig(appId); |
| | | } |
| | | |
| | | } |