类 FileConfigController

java.lang.Object
xyz.migoo.framework.infra.controller.file.FileConfigController

@RestController @RequestMapping("/developer/file/config") @Validated public class FileConfigController extends Object
  • 构造器详细资料

    • FileConfigController

      public FileConfigController()
  • 方法详细资料

    • createFileConfig

      @PostMapping @PreAuthorize("@ss.hasPermission(\'developer:file:config:add\')") public Result<Long> createFileConfig(@Valid @RequestBody @Valid FileConfigSaveReqVO createReqVO)
    • updateFileConfig

      @PutMapping @PreAuthorize("@ss.hasPermission(\'developer:file:config:update\')") public Result<Boolean> updateFileConfig(@Valid @RequestBody @Valid FileConfigSaveReqVO updateReqVO)
    • updateFileConfigMaster

      @PutMapping("/master") @PreAuthorize("@ss.hasPermission(\'developer:file:config:update\')") public Result<Boolean> updateFileConfigMaster(@RequestParam("id") Long id)
    • deleteFileConfig

      @DeleteMapping("/{id}") @PreAuthorize("@ss.hasPermission(\'developer:file:config:remove\')") public Result<Boolean> deleteFileConfig(@PathVariable("id") Long id)
    • getFileConfig

      @GetMapping("/{id}") @PreAuthorize("@ss.hasPermission(\'developer:file:config:query\')") public Result<FileConfigRespVO> getFileConfig(@PathVariable("id") Long id)
    • getFileConfigPage

      @GetMapping @PreAuthorize("@ss.hasPermission(\'developer:file:config:query\')") public Result<PageResult<FileConfigRespVO>> getFileConfigPage(@Valid @Valid FileConfigPageReqVO pageVO)
    • testFileConfig

      @GetMapping("/test") @PreAuthorize("@ss.hasPermission(\'developer:file:config:query\')") public Result<String> testFileConfig(@RequestParam("id") Long id) throws Exception
      抛出:
      Exception