Commit a13fb61359d2aa415fbd9e74f5b995b9e42503bf
1 parent
dc8eb8e3
优化 pom.xml 文件,减少无用的多租户引用
Showing
7 changed files
with
31 additions
and
25 deletions
yudao-module-mall/yudao-module-coupon-biz/pom.xml
| @@ -30,10 +30,6 @@ | @@ -30,10 +30,6 @@ | ||
| 30 | <groupId>cn.iocoder.boot</groupId> | 30 | <groupId>cn.iocoder.boot</groupId> |
| 31 | <artifactId>yudao-spring-boot-starter-biz-operatelog</artifactId> | 31 | <artifactId>yudao-spring-boot-starter-biz-operatelog</artifactId> |
| 32 | </dependency> | 32 | </dependency> |
| 33 | - <dependency> | ||
| 34 | - <groupId>cn.iocoder.boot</groupId> | ||
| 35 | - <artifactId>yudao-spring-boot-starter-biz-tenant</artifactId> | ||
| 36 | - </dependency> | ||
| 37 | 33 | ||
| 38 | <!-- Web 相关 --> | 34 | <!-- Web 相关 --> |
| 39 | <dependency> | 35 | <dependency> |
| @@ -42,7 +38,7 @@ | @@ -42,7 +38,7 @@ | ||
| 42 | </dependency> | 38 | </dependency> |
| 43 | <dependency> | 39 | <dependency> |
| 44 | <groupId>cn.iocoder.boot</groupId> | 40 | <groupId>cn.iocoder.boot</groupId> |
| 45 | - <artifactId>yudao-spring-boot-starter-excel</artifactId> | 41 | + <artifactId>yudao-spring-boot-starter-security</artifactId> |
| 46 | </dependency> | 42 | </dependency> |
| 47 | 43 | ||
| 48 | <!-- DB 相关 --> | 44 | <!-- DB 相关 --> |
| @@ -57,6 +53,12 @@ | @@ -57,6 +53,12 @@ | ||
| 57 | <artifactId>yudao-spring-boot-starter-test</artifactId> | 53 | <artifactId>yudao-spring-boot-starter-test</artifactId> |
| 58 | </dependency> | 54 | </dependency> |
| 59 | 55 | ||
| 56 | + <!-- 工具类相关 --> | ||
| 57 | + <dependency> | ||
| 58 | + <groupId>cn.iocoder.boot</groupId> | ||
| 59 | + <artifactId>yudao-spring-boot-starter-excel</artifactId> | ||
| 60 | + </dependency> | ||
| 61 | + | ||
| 60 | </dependencies> | 62 | </dependencies> |
| 61 | 63 | ||
| 62 | -</project> | ||
| 63 | \ No newline at end of file | 64 | \ No newline at end of file |
| 65 | +</project> |
yudao-module-mall/yudao-module-coupon-biz/src/main/java/cn/iocoder/yudao/module/coupon/service/coupon/CouponServiceImpl.java
| @@ -4,7 +4,6 @@ import cn.hutool.core.bean.BeanUtil; | @@ -4,7 +4,6 @@ import cn.hutool.core.bean.BeanUtil; | ||
| 4 | import cn.iocoder.yudao.framework.security.core.util.SecurityFrameworkUtils; | 4 | import cn.iocoder.yudao.framework.security.core.util.SecurityFrameworkUtils; |
| 5 | import cn.iocoder.yudao.module.coupon.dal.dataobject.CouponTemplete.CouponTempleteDO; | 5 | import cn.iocoder.yudao.module.coupon.dal.dataobject.CouponTemplete.CouponTempleteDO; |
| 6 | import cn.iocoder.yudao.module.coupon.dal.mysql.CouponTemplete.CouponTempleteMapper; | 6 | import cn.iocoder.yudao.module.coupon.dal.mysql.CouponTemplete.CouponTempleteMapper; |
| 7 | -import io.micrometer.core.instrument.Counter; | ||
| 8 | import org.springframework.stereotype.Service; | 7 | import org.springframework.stereotype.Service; |
| 9 | import javax.annotation.Resource; | 8 | import javax.annotation.Resource; |
| 10 | import org.springframework.validation.annotation.Validated; | 9 | import org.springframework.validation.annotation.Validated; |
yudao-module-mall/yudao-module-market-biz/pom.xml
| @@ -34,16 +34,16 @@ | @@ -34,16 +34,16 @@ | ||
| 34 | <groupId>cn.iocoder.boot</groupId> | 34 | <groupId>cn.iocoder.boot</groupId> |
| 35 | <artifactId>yudao-spring-boot-starter-biz-weixin</artifactId> | 35 | <artifactId>yudao-spring-boot-starter-biz-weixin</artifactId> |
| 36 | </dependency> | 36 | </dependency> |
| 37 | - <dependency> | ||
| 38 | - <groupId>cn.iocoder.boot</groupId> | ||
| 39 | - <artifactId>yudao-spring-boot-starter-biz-tenant</artifactId> | ||
| 40 | - </dependency> | ||
| 41 | 37 | ||
| 42 | <!-- Web 相关 --> | 38 | <!-- Web 相关 --> |
| 43 | <dependency> | 39 | <dependency> |
| 44 | <groupId>cn.iocoder.boot</groupId> | 40 | <groupId>cn.iocoder.boot</groupId> |
| 45 | <artifactId>yudao-spring-boot-starter-web</artifactId> | 41 | <artifactId>yudao-spring-boot-starter-web</artifactId> |
| 46 | </dependency> | 42 | </dependency> |
| 43 | + <dependency> | ||
| 44 | + <groupId>cn.iocoder.boot</groupId> | ||
| 45 | + <artifactId>yudao-spring-boot-starter-security</artifactId> | ||
| 46 | + </dependency> | ||
| 47 | 47 | ||
| 48 | <!-- DB 相关 --> | 48 | <!-- DB 相关 --> |
| 49 | <dependency> | 49 | <dependency> |
| @@ -56,6 +56,12 @@ | @@ -56,6 +56,12 @@ | ||
| 56 | <groupId>cn.iocoder.boot</groupId> | 56 | <groupId>cn.iocoder.boot</groupId> |
| 57 | <artifactId>yudao-spring-boot-starter-test</artifactId> | 57 | <artifactId>yudao-spring-boot-starter-test</artifactId> |
| 58 | </dependency> | 58 | </dependency> |
| 59 | + | ||
| 60 | + <!-- 工具类相关 --> | ||
| 61 | + <dependency> | ||
| 62 | + <groupId>cn.iocoder.boot</groupId> | ||
| 63 | + <artifactId>yudao-spring-boot-starter-excel</artifactId> | ||
| 64 | + </dependency> | ||
| 59 | </dependencies> | 65 | </dependencies> |
| 60 | 66 | ||
| 61 | </project> | 67 | </project> |
yudao-module-mall/yudao-module-product-biz/pom.xml
| @@ -29,10 +29,6 @@ | @@ -29,10 +29,6 @@ | ||
| 29 | <groupId>cn.iocoder.boot</groupId> | 29 | <groupId>cn.iocoder.boot</groupId> |
| 30 | <artifactId>yudao-spring-boot-starter-biz-operatelog</artifactId> | 30 | <artifactId>yudao-spring-boot-starter-biz-operatelog</artifactId> |
| 31 | </dependency> | 31 | </dependency> |
| 32 | - <dependency> | ||
| 33 | - <groupId>cn.iocoder.boot</groupId> | ||
| 34 | - <artifactId>yudao-spring-boot-starter-biz-tenant</artifactId> | ||
| 35 | - </dependency> | ||
| 36 | 32 | ||
| 37 | <!-- Web 相关 --> | 33 | <!-- Web 相关 --> |
| 38 | <dependency> | 34 | <dependency> |
| @@ -41,7 +37,7 @@ | @@ -41,7 +37,7 @@ | ||
| 41 | </dependency> | 37 | </dependency> |
| 42 | <dependency> | 38 | <dependency> |
| 43 | <groupId>cn.iocoder.boot</groupId> | 39 | <groupId>cn.iocoder.boot</groupId> |
| 44 | - <artifactId>yudao-spring-boot-starter-excel</artifactId> | 40 | + <artifactId>yudao-spring-boot-starter-security</artifactId> |
| 45 | </dependency> | 41 | </dependency> |
| 46 | 42 | ||
| 47 | <!-- DB 相关 --> | 43 | <!-- DB 相关 --> |
| @@ -56,6 +52,11 @@ | @@ -56,6 +52,11 @@ | ||
| 56 | <artifactId>yudao-spring-boot-starter-test</artifactId> | 52 | <artifactId>yudao-spring-boot-starter-test</artifactId> |
| 57 | </dependency> | 53 | </dependency> |
| 58 | 54 | ||
| 55 | + <!-- 工具类相关 --> | ||
| 56 | + <dependency> | ||
| 57 | + <groupId>cn.iocoder.boot</groupId> | ||
| 58 | + <artifactId>yudao-spring-boot-starter-excel</artifactId> | ||
| 59 | + </dependency> | ||
| 59 | </dependencies> | 60 | </dependencies> |
| 60 | 61 | ||
| 61 | </project> | 62 | </project> |
yudao-module-mall/yudao-module-trade-biz/pom.xml
| @@ -47,10 +47,6 @@ | @@ -47,10 +47,6 @@ | ||
| 47 | <groupId>cn.iocoder.boot</groupId> | 47 | <groupId>cn.iocoder.boot</groupId> |
| 48 | <artifactId>yudao-spring-boot-starter-biz-operatelog</artifactId> | 48 | <artifactId>yudao-spring-boot-starter-biz-operatelog</artifactId> |
| 49 | </dependency> | 49 | </dependency> |
| 50 | - <dependency> | ||
| 51 | - <groupId>cn.iocoder.boot</groupId> | ||
| 52 | - <artifactId>yudao-spring-boot-starter-biz-tenant</artifactId> | ||
| 53 | - </dependency> | ||
| 54 | 50 | ||
| 55 | <!-- Web 相关 --> | 51 | <!-- Web 相关 --> |
| 56 | <dependency> | 52 | <dependency> |
| @@ -59,7 +55,7 @@ | @@ -59,7 +55,7 @@ | ||
| 59 | </dependency> | 55 | </dependency> |
| 60 | <dependency> | 56 | <dependency> |
| 61 | <groupId>cn.iocoder.boot</groupId> | 57 | <groupId>cn.iocoder.boot</groupId> |
| 62 | - <artifactId>yudao-spring-boot-starter-excel</artifactId> | 58 | + <artifactId>yudao-spring-boot-starter-security</artifactId> |
| 63 | </dependency> | 59 | </dependency> |
| 64 | 60 | ||
| 65 | <!-- DB 相关 --> | 61 | <!-- DB 相关 --> |
| @@ -73,6 +69,12 @@ | @@ -73,6 +69,12 @@ | ||
| 73 | <groupId>cn.iocoder.boot</groupId> | 69 | <groupId>cn.iocoder.boot</groupId> |
| 74 | <artifactId>yudao-spring-boot-starter-test</artifactId> | 70 | <artifactId>yudao-spring-boot-starter-test</artifactId> |
| 75 | </dependency> | 71 | </dependency> |
| 72 | + | ||
| 73 | + <!-- 工具类相关 --> | ||
| 74 | + <dependency> | ||
| 75 | + <groupId>cn.iocoder.boot</groupId> | ||
| 76 | + <artifactId>yudao-spring-boot-starter-excel</artifactId> | ||
| 77 | + </dependency> | ||
| 76 | </dependencies> | 78 | </dependencies> |
| 77 | 79 | ||
| 78 | </project> | 80 | </project> |
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/permission/MenuController.java
| @@ -6,7 +6,6 @@ import cn.iocoder.yudao.module.system.controller.admin.permission.vo.menu.*; | @@ -6,7 +6,6 @@ import cn.iocoder.yudao.module.system.controller.admin.permission.vo.menu.*; | ||
| 6 | import cn.iocoder.yudao.module.system.convert.permission.MenuConvert; | 6 | import cn.iocoder.yudao.module.system.convert.permission.MenuConvert; |
| 7 | import cn.iocoder.yudao.module.system.dal.dataobject.permission.MenuDO; | 7 | import cn.iocoder.yudao.module.system.dal.dataobject.permission.MenuDO; |
| 8 | import cn.iocoder.yudao.module.system.service.permission.MenuService; | 8 | import cn.iocoder.yudao.module.system.service.permission.MenuService; |
| 9 | -import cn.iocoder.yudao.module.system.service.tenant.TenantService; | ||
| 10 | import io.swagger.annotations.Api; | 9 | import io.swagger.annotations.Api; |
| 11 | import io.swagger.annotations.ApiImplicitParam; | 10 | import io.swagger.annotations.ApiImplicitParam; |
| 12 | import io.swagger.annotations.ApiOperation; | 11 | import io.swagger.annotations.ApiOperation; |
| @@ -29,8 +28,6 @@ public class MenuController { | @@ -29,8 +28,6 @@ public class MenuController { | ||
| 29 | 28 | ||
| 30 | @Resource | 29 | @Resource |
| 31 | private MenuService menuService; | 30 | private MenuService menuService; |
| 32 | - @Resource | ||
| 33 | - private TenantService tenantService; | ||
| 34 | 31 | ||
| 35 | @PostMapping("/create") | 32 | @PostMapping("/create") |
| 36 | @ApiOperation("创建菜单") | 33 | @ApiOperation("创建菜单") |
yudao-ui-admin/src/views/bpm/group/index.vue