当前角色问题解决
This commit is contained in:
@@ -230,7 +230,7 @@ public class SysRoleController extends BaseController {
|
||||
* 获取当前用户的role对象
|
||||
*/
|
||||
@GetMapping("/currentRole")
|
||||
public R<SysRole> currentRole() {
|
||||
public R<List<SysRole>> currentRole() {
|
||||
return R.ok(roleService.getCurrentRole());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user