新增菜单tab页
This commit is contained in:
@@ -23,7 +23,7 @@ public interface FunctionState {
|
||||
String DRIVER_NAME = "/home";
|
||||
|
||||
/**
|
||||
* 权限资源类型 0-菜单、1-按钮、2-公共资源、3-服务间调用资源
|
||||
* 权限资源类型 0-菜单、1-按钮、2-公共资源、3-服务间调用资源、4-tab页面
|
||||
*/
|
||||
int MENU = 0;
|
||||
|
||||
@@ -33,4 +33,6 @@ public interface FunctionState {
|
||||
|
||||
int IN_SERVICE = 3;
|
||||
|
||||
int TAB = 4;
|
||||
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ public class FunctionParam {
|
||||
|
||||
@ApiModelProperty("资源类型")
|
||||
@NotNull(message = UserValidMessage.TYPE_NOT_BLANK)
|
||||
@Range(min = 0, max = 3, message = UserValidMessage.PARAM_FORMAT_ERROR)
|
||||
@Range(min = 0, max = 4, message = UserValidMessage.PARAM_FORMAT_ERROR)
|
||||
private Integer type;
|
||||
|
||||
@ApiModelProperty("描述")
|
||||
|
||||
@@ -49,4 +49,7 @@ public class FunctionVO implements Serializable {
|
||||
@ApiModelProperty("子级")
|
||||
List<FunctionVO> children;
|
||||
|
||||
@ApiModelProperty("tab数据")
|
||||
List<FunctionVO> userTab;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user