|
|
@@ -15,6 +15,8 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
@FeignClient(name = "authserver/manager/authResourcesName")
|
|
|
public interface AuthResourcesNameService {
|
|
|
|
|
|
@@ -29,4 +31,10 @@ public interface AuthResourcesNameService {
|
|
|
@Parameter(name = "authType", description = "权限类型", example = "Enterprise") @RequestParam("authType") AuthType authType,
|
|
|
@Parameter(hidden = true) @PageableDefault Pageable pageable
|
|
|
);
|
|
|
+
|
|
|
+ @Operation(summary = "分页查询所有资源", description = "分页查询所有资源")
|
|
|
+ @RequestMapping(value = "getAll", consumes = {MediaType.ALL_VALUE}, method = RequestMethod.POST)
|
|
|
+ ResultContent<List<AuthResourcesNameModel>> getAll(
|
|
|
+ @Parameter(name = "authType", description = "权限类型", example = "Enterprise") @RequestParam("authType") AuthType authType
|
|
|
+ );
|
|
|
}
|