Skip to content

Commit 1f8583e

Browse files
committed
添加fastdfs配置
1 parent 6ab7b6b commit 1f8583e

File tree

1 file changed

+23
-11
lines changed

1 file changed

+23
-11
lines changed

pom.xml

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@
8080
<session.cookie.secure>false</session.cookie.secure>
8181
<jdbc.host>127.0.0.1</jdbc.host>
8282
<jdbc.password>68NKG7n1mN8rErEfbag2qM==</jdbc.password>
83+
<fdfs.host>http://127.0.0.1/</fdfs.host>
84+
<fdfs.trackerList>127.0.0.1:22122</fdfs.trackerList>
8385
</properties>
8486

8587
<!-- @TODO -->
@@ -93,6 +95,8 @@
9395
<fastDFS.host>127.0.0.1</fastDFS.host>
9496
<jdbc.host>127.0.0.1</jdbc.host>
9597
<jdbc.password>68NKG7n1mN8rErEfbag2qM==</jdbc.password>
98+
<fdfs.host>http://127.0.0.1/</fdfs.host>
99+
<fdfs.trackerList>127.0.0.1:22122</fdfs.trackerList>
96100
</properties>
97101
</profile>
98102
<profile>
@@ -105,6 +109,8 @@
105109
<session.cookie.secure>true</session.cookie.secure>
106110
<jdbc.host>127.0.0.1</jdbc.host>
107111
<jdbc.password>68NKG7n1mN8rErEfbag2qM==</jdbc.password>
112+
<fdfs.host>http://127.0.0.1/</fdfs.host>
113+
<fdfs.trackerList>127.0.0.1:22122</fdfs.trackerList>
108114
</properties>
109115
</profile>
110116
</profiles>
@@ -122,12 +128,7 @@
122128
</repository>
123129
</repositories>
124130

125-
<dependencies><!--FastDFS -->
126-
<dependency>
127-
<groupId>com.luhuiguo</groupId>
128-
<artifactId>fastdfs-spring-boot-starter</artifactId>
129-
<version>0.2.0</version>
130-
</dependency>
131+
<dependencies>
131132
<dependency>
132133
<groupId>junit</groupId>
133134
<artifactId>junit</artifactId>
@@ -223,16 +224,15 @@
223224
<groupId>org.springframework.data</groupId>
224225
<artifactId>spring-data-redis</artifactId>
225226
</dependency>
227+
<dependency>
228+
<groupId>org.springframework</groupId>
229+
<artifactId>spring-aspects</artifactId>
230+
</dependency>
226231
<!-- 缓存 -->
227232
<dependency>
228233
<groupId>redis.clients</groupId>
229234
<artifactId>jedis</artifactId>
230235
</dependency>
231-
<!-- 切面 -->
232-
<dependency>
233-
<groupId>org.aspectj</groupId>
234-
<artifactId>aspectjweaver</artifactId>
235-
</dependency>
236236
<!-- alibaba工具包 -->
237237
<dependency>
238238
<groupId>com.alibaba</groupId>
@@ -401,6 +401,18 @@
401401
<artifactId>pinyin4j</artifactId>
402402
<version>${pinyin4j.version}</version>
403403
</dependency>
404+
<!--FastDFS -->
405+
<dependency>
406+
<groupId>com.luhuiguo</groupId>
407+
<artifactId>fastdfs-client</artifactId>
408+
<version>0.4.0</version>
409+
<exclusions>
410+
<exclusion>
411+
<groupId>*</groupId>
412+
<artifactId>*</artifactId>
413+
</exclusion>
414+
</exclusions>
415+
</dependency>
404416
</dependencies>
405417

406418
<build>

0 commit comments

Comments
 (0)