From 1c1d03dda7bf77724e0ddb900477d191f45d9f04 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期三, 24 四月 2024 10:20:24 +0800 Subject: [PATCH] 1、实现二维码常量类; 2、增加google.zxing依赖包,支持生成二维码。 --- pms-parent/pom.xml | 36 +++++++++++++++++++++++++++--------- 1 files changed, 27 insertions(+), 9 deletions(-) diff --git a/pms-parent/pom.xml b/pms-parent/pom.xml index a1c8821..a3c20b7 100644 --- a/pms-parent/pom.xml +++ b/pms-parent/pom.xml @@ -50,6 +50,8 @@ <caffeine.version>3.1.8</caffeine.version> <!-- 鐢熸垚鍥剧墖缂╃暐鍥� --> <thumbnailator.version>0.4.20</thumbnailator.version> + <!-- google zxing 鐢熸垚浜岀淮鐮� --> + <google.zxing.version>3.5.3</google.zxing.version> <spring-boot-maven-plugin.version>3.2.0</spring-boot-maven-plugin.version> <maven-jar-plugin-plugin.version>3.3.0</maven-jar-plugin-plugin.version> @@ -242,15 +244,6 @@ </exclusions> </dependency> - <!-- Hutool鏄竴涓皬鑰屽叏鐨凧ava宸ュ叿绫诲簱(https://github.com/dromara/hutool) --> - <dependency> - <groupId>cn.hutool</groupId> - <artifactId>hutool-all</artifactId> - <version>${hutool-all.version}</version> - <type>pom</type> - <scope>import</scope> - </dependency> - <!-- jdom2 --> <dependency> <groupId>org.jdom</groupId> @@ -269,6 +262,31 @@ <scope>import</scope> </dependency> + <!-- zxing鐢熸垚浜岀淮鐮� --> + <dependency> + <groupId>com.google.zxing</groupId> + <artifactId>core</artifactId> + <version>${google.zxing.version}</version> + <type>pom</type> + <scope>import</scope> + </dependency> + <dependency> + <groupId>com.google.zxing</groupId> + <artifactId>javase</artifactId> + <version>${google.zxing.version}</version> + <type>pom</type> + <scope>import</scope> + </dependency> + + <!-- Hutool鏄竴涓皬鑰屽叏鐨凧ava宸ュ叿绫诲簱(https://github.com/dromara/hutool) --> + <dependency> + <groupId>cn.hutool</groupId> + <artifactId>hutool-all</artifactId> + <version>${hutool-all.version}</version> + <type>pom</type> + <scope>import</scope> + </dependency> + <!-- 娴嬭瘯 --> <dependency> <groupId>junit</groupId> -- Gitblit v1.8.0