【7.6.0】【role】获取角色列表

pull/57/head
fengshuonan 2023-07-03 15:06:11 +08:00
parent 2afd2bca1e
commit d47a77b354
1 changed files with 14 additions and 0 deletions

View File

@ -14,6 +14,7 @@ import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
import java.util.List;
/**
*
@ -98,4 +99,17 @@ public class SysRoleController {
return new SuccessResponseData<>(sysRoleService.findPage(sysRoleRequest));
}
/**
*
* <p>
*
*
* @author fengshuonan
* @date 2023/06/10 21:29
*/
@GetResource(name = "分页查询-角色列表", path = "/sysRole/list")
public ResponseData<List<SysRole>> list(SysRoleRequest sysRoleRequest) {
return new SuccessResponseData<>(sysRoleService.findList(sysRoleRequest));
}
}