|
@@ -1,6 +1,7 @@
|
|
|
package com.template.api;
|
|
package com.template.api;
|
|
|
|
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
|
|
+import com.template.annotation.PassToken;
|
|
|
import com.template.model.pojo.SmartAuthorGroup;
|
|
import com.template.model.pojo.SmartAuthorGroup;
|
|
|
import com.template.model.result.CommonResult;
|
|
import com.template.model.result.CommonResult;
|
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.Api;
|
|
@@ -28,6 +29,10 @@ public interface SmartAuthorGroupControllerAPI {
|
|
|
@ApiOperation(value = "编辑权限组数据", notes = "编辑权限组数据", httpMethod = "POST")
|
|
@ApiOperation(value = "编辑权限组数据", notes = "编辑权限组数据", httpMethod = "POST")
|
|
|
CommonResult updateSmartAuthorGroup(@Validated @RequestBody JSONObject jsonObject, Integer samePower) throws ParseException;
|
|
CommonResult updateSmartAuthorGroup(@Validated @RequestBody JSONObject jsonObject, Integer samePower) throws ParseException;
|
|
|
|
|
|
|
|
|
|
+ @RequestMapping(value = "/queryUserAuthor")
|
|
|
|
|
+ @ApiOperation(value = "查看用户个人权限", notes = "编辑权限组数据", httpMethod = "POST")
|
|
|
|
|
+ public CommonResult queryUserAuthor(@RequestParam String userId);
|
|
|
|
|
+
|
|
|
@RequestMapping(value = "/querySmartAuthorGroup")
|
|
@RequestMapping(value = "/querySmartAuthorGroup")
|
|
|
@ApiOperation(value = "权限组分页数据", notes = "权限组分页数据", httpMethod = "GET")
|
|
@ApiOperation(value = "权限组分页数据", notes = "权限组分页数据", httpMethod = "GET")
|
|
|
CommonResult querySmartAuthorGroup(@RequestParam Integer authorGroupId);
|
|
CommonResult querySmartAuthorGroup(@RequestParam Integer authorGroupId);
|