|
@@ -1,35 +0,0 @@
|
|
|
-package com.template.api;
|
|
|
|
|
-
|
|
|
|
|
-import com.template.model.pojo.SmartAuthorGroup;
|
|
|
|
|
-import com.template.model.result.CommonResult;
|
|
|
|
|
-import io.swagger.annotations.Api;
|
|
|
|
|
-import io.swagger.annotations.ApiOperation;
|
|
|
|
|
-import org.springframework.validation.BindingResult;
|
|
|
|
|
-import org.springframework.validation.annotation.Validated;
|
|
|
|
|
-import org.springframework.web.bind.annotation.*;
|
|
|
|
|
-
|
|
|
|
|
-/**
|
|
|
|
|
- * @Author: binguo
|
|
|
|
|
- * @Date: 2023/3/30 星期四 17:28
|
|
|
|
|
- * @Description: com.video.api
|
|
|
|
|
- * @Version: 1.0
|
|
|
|
|
- */
|
|
|
|
|
-@RequestMapping("/api/smartAuthorGroup")
|
|
|
|
|
-@Api(tags = {"SmartAuthorGroupControllerAPI"}, value = "权限组")
|
|
|
|
|
-public interface SmartAuthorGroupControllerAPI {
|
|
|
|
|
- @PostMapping(value = "/insertSmartAuthorGroup")
|
|
|
|
|
- @ApiOperation(value = "添加权限组", notes = "添加权限组数据", httpMethod = "POST")
|
|
|
|
|
- CommonResult insertSmartAuthorGroup(@Validated @RequestBody SmartAuthorGroup smartApply, BindingResult bindingResult);
|
|
|
|
|
-
|
|
|
|
|
- @PostMapping(value = "/updateSmartAuthorGroupById")
|
|
|
|
|
- @ApiOperation(value = "编辑权限组数据", notes = "编辑权限组数据", httpMethod = "POST")
|
|
|
|
|
- CommonResult updateSmartAuthorGroupById(@Validated @RequestBody SmartAuthorGroup ra, BindingResult bindingResult);
|
|
|
|
|
-
|
|
|
|
|
- @GetMapping(value = "/queryPageSmartAuthorGroup")
|
|
|
|
|
- @ApiOperation(value = "权限组分页数据", notes = "权限组分页数据", httpMethod = "GET")
|
|
|
|
|
- CommonResult queryPageSmartAuthorGroups(@RequestParam int currentPage, @RequestParam int pageCount, String name);
|
|
|
|
|
-
|
|
|
|
|
- @GetMapping(value = "/deleteSmartAuthorGroupById")
|
|
|
|
|
- @ApiOperation(value = "根据ID删除指定权限组", notes = "根据ID删除指定权限组", httpMethod = "GET")
|
|
|
|
|
- CommonResult deleteSmartAuthorGroupById(@RequestParam int id);
|
|
|
|
|
-}
|
|
|