Commit 7f657ee9313299f587de8a199558e1cadd99c464

Authored by YunaiV
1 parent c3318656

优化 mp-java 库的依赖管理

yudao-dependencies/pom.xml
... ... @@ -71,7 +71,7 @@
71 71 <justauth.version>1.0.1</justauth.version>
72 72 <jimureport.version>1.5.8</jimureport.version>
73 73 <xercesImpl.version>2.12.2</xercesImpl.version>
74   - <wx-java-mp.version>4.5.0</wx-java-mp.version>
  74 + <weixin-java.version>4.5.0</weixin-java.version>
75 75 </properties>
76 76  
77 77 <dependencyManagement>
... ... @@ -600,8 +600,23 @@
600 600  
601 601 <dependency>
602 602 <groupId>com.github.binarywang</groupId>
  603 + <artifactId>weixin-java-pay</artifactId>
  604 + <version>${weixin-java.version}</version>
  605 + </dependency>
  606 + <dependency>
  607 + <groupId>com.github.binarywang</groupId>
  608 + <artifactId>weixin-java-mp</artifactId>
  609 + <version>${weixin-java.version}</version>
  610 + </dependency>
  611 + <dependency>
  612 + <groupId>com.github.binarywang</groupId>
603 613 <artifactId>wx-java-mp-spring-boot-starter</artifactId>
604   - <version>${wx-java-mp.version}</version>
  614 + <version>${weixin-java.version}</version>
  615 + </dependency>
  616 + <dependency>
  617 + <groupId>com.github.binarywang</groupId>
  618 + <artifactId>wx-java-miniapp-spring-boot-starter</artifactId>
  619 + <version>${weixin-java.version}</version>
605 620 </dependency>
606 621  
607 622 <!-- 积木报表-->
... ...
yudao-framework/yudao-spring-boot-starter-biz-pay/pom.xml
... ... @@ -63,9 +63,7 @@
63 63 <dependency>
64 64 <groupId>com.github.binarywang</groupId>
65 65 <artifactId>weixin-java-pay</artifactId>
66   - <version>4.5.0</version>
67 66 </dependency>
68   - <!-- TODO 芋艿:清理 -->
69 67  
70 68 <!-- Test 测试相关 -->
71 69 <dependency>
... ...
yudao-framework/yudao-spring-boot-starter-biz-weixin/pom.xml
... ... @@ -34,16 +34,12 @@
34 34 <!-- 三方云服务相关 -->
35 35 <dependency>
36 36 <groupId>com.github.binarywang</groupId>
37   -<!-- <artifactId>weixin-java-mp</artifactId>-->
38 37 <artifactId>wx-java-mp-spring-boot-starter</artifactId>
39   - <version>4.5.0</version>
40 38 </dependency>
41 39 <dependency>
42 40 <groupId>com.github.binarywang</groupId>
43 41 <artifactId>wx-java-miniapp-spring-boot-starter</artifactId>
44   - <version>4.5.0</version>
45 42 </dependency>
46   - <!-- TODO 芋艿:清理 -->
47 43 </dependencies>
48 44  
49 45 </project>
... ...
yudao-server/src/main/resources/application-dev.yaml
... ... @@ -147,14 +147,14 @@ wx: # 参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-sta
147 147 # 存储配置,解决 AccessToken 的跨节点的共享
148 148 config-storage:
149 149 type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取
150   - key-prefix: wx # Redis Key 的前缀 TODO 芋艿:解决下 Redis key 管理的配置
  150 + key-prefix: wx # Redis Key 的前缀
151 151 http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台
152 152 miniapp: # 小程序配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-miniapp-spring-boot-starter/README.md 文档
153 153 appid: wx63c280fe3248a3e7
154 154 secret: 6f270509224a7ae1296bbf1c8cb97aed
155 155 config-storage:
156 156 type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取
157   - key-prefix: wa # Redis Key 的前缀 TODO 芋艿:解决下 Redis key 管理的配置
  157 + key-prefix: wa # Redis Key 的前缀
158 158 http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台
159 159  
160 160 --- #################### 芋道相关配置 ####################
... ...
yudao-server/src/main/resources/application-local.yaml
... ... @@ -170,14 +170,14 @@ wx:
170 170 # 存储配置,解决 AccessToken 的跨节点的共享
171 171 config-storage:
172 172 type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取
173   - key-prefix: wx # Redis Key 的前缀 TODO 芋艿:解决下 Redis key 管理的配置
  173 + key-prefix: wx # Redis Key 的前缀
174 174 http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台
175 175 miniapp: # 小程序配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-miniapp-spring-boot-starter/README.md 文档
176 176 appid: wx62056c0d5e8db250
177 177 secret: 333ae72f41552af1e998fe1f54e1584a
178 178 config-storage:
179 179 type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取
180   - key-prefix: wa # Redis Key 的前缀 TODO 芋艿:解决下 Redis key 管理的配置
  180 + key-prefix: wa # Redis Key 的前缀
181 181 http-client-type: HttpClient # 采用 HttpClient 请求微信公众号平台
182 182  
183 183 --- #################### 芋道相关配置 ####################
... ...