mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-08 20:49:00 +08:00
Merge branch 'master' into big
This commit is contained in:
commit
6ef83182dd
3 files changed
+12
-3
No files matched your search
+6
@@ -80,6 +80,12 @@ public class PasswordDecoderFilter extends AbstractGatewayFilterFactory {
|
||||
return chain.filter(exchange);
|
||||
}
|
||||
|
||||
// 刷新token,直接向下执行
|
||||
String grantType = request.getQueryParams().getFirst("grant_type");
|
||||
if (StrUtil.equals(SecurityConstants.REFRESH_TOKEN, grantType)) {
|
||||
return chain.filter(exchange);
|
||||
}
|
||||
|
||||
Class inClass = String.class;
|
||||
Class outClass = String.class;
|
||||
ServerRequest serverRequest = ServerRequest.create(exchange,
|
||||
|
||||
+5
-2
@@ -41,7 +41,7 @@ public class MenuTree extends TreeNode implements Serializable {
|
||||
@ApiModelProperty(value = "菜单图标")
|
||||
private String icon;
|
||||
/**
|
||||
* 菜单名称
|
||||
* 菜单名称
|
||||
*/
|
||||
@ApiModelProperty(value = "菜单名称")
|
||||
private String name;
|
||||
@@ -60,7 +60,7 @@ public class MenuTree extends TreeNode implements Serializable {
|
||||
* 权限编码
|
||||
*/
|
||||
@ApiModelProperty(value = "权限编码")
|
||||
private String code;
|
||||
private String permission;
|
||||
/**
|
||||
* 菜单类型 (0菜单 1按钮)
|
||||
*/
|
||||
@@ -79,9 +79,11 @@ public class MenuTree extends TreeNode implements Serializable {
|
||||
|
||||
/**
|
||||
* 是否包含子节点
|
||||
*
|
||||
* @since 3.7
|
||||
*/
|
||||
private Boolean hasChildren;
|
||||
|
||||
public MenuTree() {
|
||||
}
|
||||
|
||||
@@ -106,6 +108,7 @@ public class MenuTree extends TreeNode implements Serializable {
|
||||
this.name = menuVo.getName();
|
||||
this.path = menuVo.getPath();
|
||||
this.type = menuVo.getType();
|
||||
this.permission = menuVo.getPermission();
|
||||
this.label = menuVo.getName();
|
||||
this.sort = menuVo.getSort();
|
||||
this.keepAlive = menuVo.getKeepAlive();
|
||||
|
||||
@@ -112,7 +112,7 @@ public class TreeUtil {
|
||||
node.setParentId(menu.getParentId());
|
||||
node.setName(menu.getName());
|
||||
node.setPath(menu.getPath());
|
||||
node.setCode(menu.getPermission());
|
||||
node.setPermission(menu.getPermission());
|
||||
node.setLabel(menu.getName());
|
||||
node.setIcon(menu.getIcon());
|
||||
node.setType(menu.getType());
|
||||
|
||||
Reference in new issue
Block a user