mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2025-01-03 09:32:21 +08:00
feat:菜单权限模块功能重构
This commit is contained in:
parent
1e5755f43e
commit
aff6a82dbf
@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>mall-oms</artifactId>
|
||||
<groupId>com.youlai</groupId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<version>1.0.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>youlai-mall</artifactId>
|
||||
<groupId>com.youlai</groupId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<version>1.0.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
</modules>
|
||||
|
||||
<properties>
|
||||
<youlai.version>1.0.0-SNAPSHOT</youlai.version>
|
||||
<youlai.version>1.0.0</youlai.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>mall-pms</artifactId>
|
||||
<groupId>com.youlai</groupId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<version>1.0.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>mall-pms</artifactId>
|
||||
<groupId>com.youlai</groupId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<version>1.0.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
@ -76,7 +76,7 @@
|
||||
<dependency>
|
||||
<groupId>com.youlai</groupId>
|
||||
<artifactId>sms-api</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<version>1.0.0</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>youlai-mall</artifactId>
|
||||
<groupId>com.youlai</groupId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<version>1.0.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
</modules>
|
||||
|
||||
<properties>
|
||||
<youlai.version>1.0.0-SNAPSHOT</youlai.version>
|
||||
<youlai.version>1.0.0</youlai.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>youlai-mall</artifactId>
|
||||
<groupId>com.youlai</groupId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<version>1.0.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
</modules>
|
||||
|
||||
<properties>
|
||||
<youlai.version>1.0.0-SNAPSHOT</youlai.version>
|
||||
<youlai.version>1.0.0</youlai.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>mall-sms</artifactId>
|
||||
<groupId>com.youlai</groupId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<version>1.0.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>youlai-mall</artifactId>
|
||||
<groupId>com.youlai</groupId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<version>1.0.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
</modules>
|
||||
|
||||
<properties>
|
||||
<youlai.version>1.0.0-SNAPSHOT</youlai.version>
|
||||
<youlai.version>1.0.0</youlai.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>mall-ums</artifactId>
|
||||
<groupId>com.youlai</groupId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<version>1.0.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
2
pom.xml
2
pom.xml
@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>com.youlai</groupId>
|
||||
<artifactId>youlai-mall</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<version>1.0.0</version>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<modules>
|
||||
|
@ -5,14 +5,14 @@
|
||||
<parent>
|
||||
<artifactId>youlai-admin</artifactId>
|
||||
<groupId>com.youlai</groupId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<version>1.0.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>admin-api</artifactId>
|
||||
|
||||
<properties>
|
||||
<youlai.version>1.0.0-SNAPSHOT</youlai.version>
|
||||
<youlai.version>1.0.0</youlai.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.admin.pojo;
|
||||
package com.youlai.admin.pojo.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.admin.pojo;
|
||||
package com.youlai.admin.pojo.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.admin.pojo;
|
||||
package com.youlai.admin.pojo.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.admin.pojo;
|
||||
package com.youlai.admin.pojo.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
@ -1,8 +1,9 @@
|
||||
package com.youlai.admin.pojo;
|
||||
package com.youlai.admin.pojo.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import com.youlai.common.core.base.BaseEntity;
|
||||
import lombok.Data;
|
||||
@ -15,27 +16,26 @@ import java.util.List;
|
||||
*/
|
||||
@Data
|
||||
@JsonInclude(JsonInclude.Include.NON_EMPTY)
|
||||
@TableName(value = "sys_menu_test")
|
||||
public class SysMenu extends BaseEntity {
|
||||
|
||||
@TableId(type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
private String title;
|
||||
private String name;
|
||||
|
||||
private Long parentId;
|
||||
|
||||
private String name;
|
||||
private Integer type;
|
||||
|
||||
private String path;
|
||||
|
||||
private String redirect;
|
||||
|
||||
private String icon;
|
||||
|
||||
private Integer sort;
|
||||
|
||||
private String component;
|
||||
|
||||
private String redirect;
|
||||
|
||||
private Integer visible;
|
||||
|
||||
private Integer status;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.admin.pojo;
|
||||
package com.youlai.admin.pojo.entity;
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.admin.pojo;
|
||||
package com.youlai.admin.pojo.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.admin.pojo;
|
||||
package com.youlai.admin.pojo.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.admin.pojo;
|
||||
package com.youlai.admin.pojo.entity;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.admin.pojo;
|
||||
package com.youlai.admin.pojo.entity;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.admin.pojo;
|
||||
package com.youlai.admin.pojo.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
@ -1,4 +1,4 @@
|
||||
package com.youlai.admin.pojo;
|
||||
package com.youlai.admin.pojo.entity;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
@ -12,11 +12,11 @@ public class MenuVO extends BaseEntity {
|
||||
|
||||
private Integer id;
|
||||
|
||||
private String title;
|
||||
private String name;
|
||||
|
||||
private Integer parentId;
|
||||
|
||||
private String name;
|
||||
private Integer type;
|
||||
|
||||
private String path;
|
||||
|
||||
@ -28,8 +28,6 @@ public class MenuVO extends BaseEntity {
|
||||
|
||||
private Integer status;
|
||||
|
||||
private String component;
|
||||
|
||||
private List<MenuVO> children;
|
||||
|
||||
}
|
||||
|
@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>youlai-mall</artifactId>
|
||||
<groupId>com.youlai</groupId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<version>1.0.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
</modules>
|
||||
|
||||
<properties>
|
||||
<youlai.version>1.0.0-SNAPSHOT</youlai.version>
|
||||
<youlai.version>1.0.0</youlai.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -5,14 +5,14 @@
|
||||
<parent>
|
||||
<artifactId>youlai-mall</artifactId>
|
||||
<groupId>com.youlai</groupId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<version>1.0.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>youlai-auth</artifactId>
|
||||
|
||||
<properties>
|
||||
<youlai.version>1.0.0-SNAPSHOT</youlai.version>
|
||||
<youlai.version>1.0.0</youlai.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>youlai-common</artifactId>
|
||||
<groupId>com.youlai</groupId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<version>1.0.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>youlai-common</artifactId>
|
||||
<groupId>com.youlai</groupId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<version>1.0.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>youlai-common</artifactId>
|
||||
<groupId>com.youlai</groupId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<version>1.0.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>youlai-common</artifactId>
|
||||
<groupId>com.youlai</groupId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<version>1.0.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>youlai-common</artifactId>
|
||||
<groupId>com.youlai</groupId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<version>1.0.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
@ -5,14 +5,14 @@
|
||||
<parent>
|
||||
<artifactId>youlai-common</artifactId>
|
||||
<groupId>com.youlai</groupId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<version>1.0.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>common-web</artifactId>
|
||||
|
||||
<properties>
|
||||
<youlai.version>1.0.0-SNAPSHOT</youlai.version>
|
||||
<youlai.version>1.0.0</youlai.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<parent>
|
||||
<artifactId>youlai-mall</artifactId>
|
||||
<groupId>com.youlai</groupId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<version>1.0.0</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>youlai-common</artifactId>
|
||||
@ -31,7 +31,7 @@
|
||||
<mybatis-plus.version>3.3.1</mybatis-plus.version>
|
||||
<redisson.version>3.12.5</redisson.version>
|
||||
<common-pools.version>2.8.0</common-pools.version>
|
||||
<youlai.version>1.0.0-SNAPSHOT</youlai.version>
|
||||
<youlai.version>1.0.0</youlai.version>
|
||||
<dozer.version>6.2.0</dozer.version>
|
||||
</properties>
|
||||
|
||||
|
@ -8,14 +8,14 @@
|
||||
<parent>
|
||||
<artifactId>youlai-mall</artifactId>
|
||||
<groupId>com.youlai</groupId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<version>1.0.0</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>youlai-gateway</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<properties>
|
||||
<youlai.version>1.0.0-SNAPSHOT</youlai.version>
|
||||
<youlai.version>1.0.0</youlai.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
Loading…
Reference in New Issue
Block a user