whycxzp
2021-08-25 6061528c2570560d45d89104a573456029defc5d
src/main/java/com/whyc/controller/ApplicationController.java
@@ -49,6 +49,18 @@
        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 = "配置-保存当前应用的配置")
@@ -62,4 +74,5 @@
    public Response getAllConfig(@RequestParam Integer appId){
        return service.getAllConfig(appId);
    }
}