From cf1c18184ef0d0ac9770e51526e123969dc9821f Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期四, 26 十月 2023 19:41:11 +0800 Subject: [PATCH] update 优化 排除powerjob无用的依赖 减少打包30M体积 --- ruoyi-common/ruoyi-common-sms/pom.xml | 21 +++++++++------------ 1 files changed, 9 insertions(+), 12 deletions(-) diff --git a/ruoyi-common/ruoyi-common-sms/pom.xml b/ruoyi-common/ruoyi-common-sms/pom.xml index b06c5ca..c50f222 100644 --- a/ruoyi-common/ruoyi-common-sms/pom.xml +++ b/ruoyi-common/ruoyi-common-sms/pom.xml @@ -16,22 +16,19 @@ </description> <dependencies> - <dependency> - <groupId>org.dromara</groupId> - <artifactId>ruoyi-common-json</artifactId> - </dependency> <dependency> - <groupId>com.aliyun</groupId> - <artifactId>dysmsapi20170525</artifactId> - <optional>true</optional> + <groupId>org.dromara.sms4j</groupId> + <artifactId>sms4j-spring-boot-starter</artifactId> + <exclusions> + <!-- 鎺掗櫎浜笢鐭俊鍐呭瓨鍦ㄧ殑fastjson绛夊緟浣滆�呭悗缁慨澶� --> + <exclusion> + <groupId>com.alibaba</groupId> + <artifactId>fastjson</artifactId> + </exclusion> + </exclusions> </dependency> - <dependency> - <groupId>com.tencentcloudapi</groupId> - <artifactId>tencentcloud-sdk-java-sms</artifactId> - <optional>true</optional> - </dependency> </dependencies> </project> -- Gitblit v1.9.3