Commit e75643c5 by huangjinxin

添加角色列表接口

1 parent 69294fb1
......@@ -12,6 +12,7 @@ import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
......@@ -100,6 +101,7 @@ public class RoleController implements IRole {
return WebResult.ok();
}
@RequestMapping("/pea-role/list")
@Override
public WebResult<PageResult<RoleInfo>> listRole(PageRequest pageRequest) {
PageResult<RoleInfo> result = roleService.listRole(pageRequest);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!