Jelajahi Sumber

auth 模块更名为 common-auth, 表示这是一个公共模块

reghao 4 bulan lalu
induk
melakukan
8e983e3df4

+ 1 - 1
account/account-service/pom.xml

@@ -19,7 +19,7 @@
     <dependencies>
         <dependency>
             <groupId>cn.reghao.tnb</groupId>
-            <artifactId>auth</artifactId>
+            <artifactId>common-auth</artifactId>
             <version>1.0.0-SNAPSHOT</version>
         </dependency>
         <dependency>

+ 1 - 1
auth/pom.xml → common-auth/pom.xml

@@ -9,7 +9,7 @@
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
-    <artifactId>auth</artifactId>
+    <artifactId>common-auth</artifactId>
     <version>1.0.0-SNAPSHOT</version>
 
     <properties>

+ 0 - 0
auth/src/main/java/cn/reghao/tnb/auth/JwtUtil.java → common-auth/src/main/java/cn/reghao/tnb/auth/JwtUtil.java


+ 0 - 0
auth/src/main/java/cn/reghao/tnb/auth/model/JwtPayload.java → common-auth/src/main/java/cn/reghao/tnb/auth/model/JwtPayload.java


+ 0 - 0
auth/src/main/java/cn/reghao/tnb/auth/model/OssPayload.java → common-auth/src/main/java/cn/reghao/tnb/auth/model/OssPayload.java


+ 0 - 0
auth/src/main/java/cn/reghao/tnb/auth/model/RefreshPayload.java → common-auth/src/main/java/cn/reghao/tnb/auth/model/RefreshPayload.java


+ 1 - 1
file/file-service/pom.xml

@@ -20,7 +20,7 @@
     <dependencies>
         <dependency>
             <groupId>cn.reghao.tnb</groupId>
-            <artifactId>auth</artifactId>
+            <artifactId>common-auth</artifactId>
             <version>1.0.0-SNAPSHOT</version>
         </dependency>
 

+ 1 - 1
gateway/pom.xml

@@ -19,7 +19,7 @@
     <dependencies>
         <dependency>
             <groupId>cn.reghao.tnb</groupId>
-            <artifactId>auth</artifactId>
+            <artifactId>common-auth</artifactId>
             <version>1.0.0-SNAPSHOT</version>
         </dependency>
 

+ 1 - 1
oss/oss-store/pom.xml

@@ -25,7 +25,7 @@
         </dependency>
         <dependency>
             <groupId>cn.reghao.tnb</groupId>
-            <artifactId>auth</artifactId>
+            <artifactId>common-auth</artifactId>
             <version>1.0.0-SNAPSHOT</version>
         </dependency>
 

+ 1 - 1
pom.xml

@@ -10,6 +10,7 @@
     <packaging>pom</packaging>
     <modules>
         <module>common</module>
+        <module>common-auth</module>
         <module>account</module>
         <module>gateway</module>
         <module>content</module>
@@ -19,7 +20,6 @@
         <module>data</module>
         <module>eureka</module>
         <module>search</module>
-        <module>auth</module>
         <module>oss</module>
     </modules>