File tree Expand file tree Collapse file tree 4 files changed +5
-20
lines changed
weixin-java-mp/src/main/java/me/chanjar/weixin/mp/api/impl Expand file tree Collapse file tree 4 files changed +5
-20
lines changed Original file line number Diff line number Diff line change @@ -400,4 +400,9 @@ public WxMpDeviceService getDeviceService() {
400
400
public WxMpShakeService getShakeService (){
401
401
return this .shakeService ;
402
402
}
403
+
404
+ @ Override
405
+ public RequestHttp getRequestHttp () {
406
+ return this ;
407
+ }
403
408
}
Original file line number Diff line number Diff line change 4
4
import me .chanjar .weixin .common .bean .result .WxError ;
5
5
import me .chanjar .weixin .common .exception .WxErrorException ;
6
6
import me .chanjar .weixin .common .util .http .HttpType ;
7
- import me .chanjar .weixin .common .util .http .RequestHttp ;
8
7
import me .chanjar .weixin .common .util .http .apache .ApacheHttpClientBuilder ;
9
8
import me .chanjar .weixin .common .util .http .apache .DefaultApacheHttpClientBuilder ;
10
9
import me .chanjar .weixin .mp .api .WxMpConfigStorage ;
@@ -61,11 +60,6 @@ public void initHttp() {
61
60
this .httpClient = apacheHttpClientBuilder .build ();
62
61
}
63
62
64
- @ Override
65
- public RequestHttp getRequestHttp () {
66
- return this ;
67
- }
68
-
69
63
@ Override
70
64
public String getAccessToken (boolean forceRefresh ) throws WxErrorException {
71
65
Lock lock = this .getWxMpConfigStorage ().getAccessTokenLock ();
Original file line number Diff line number Diff line change 6
6
import me .chanjar .weixin .common .bean .result .WxError ;
7
7
import me .chanjar .weixin .common .exception .WxErrorException ;
8
8
import me .chanjar .weixin .common .util .http .HttpType ;
9
- import me .chanjar .weixin .common .util .http .RequestHttp ;
10
9
import me .chanjar .weixin .mp .api .WxMpConfigStorage ;
11
10
import me .chanjar .weixin .mp .api .WxMpService ;
12
11
@@ -46,12 +45,6 @@ public void initHttp() {
46
45
httpClient = JoddHttp .httpConnectionProvider ;
47
46
}
48
47
49
- @ Override
50
- public RequestHttp getRequestHttp () {
51
- return this ;
52
- }
53
-
54
-
55
48
@ Override
56
49
public String getAccessToken (boolean forceRefresh ) throws WxErrorException {
57
50
Lock lock = this .getWxMpConfigStorage ().getAccessTokenLock ();
Original file line number Diff line number Diff line change 4
4
import me .chanjar .weixin .common .bean .result .WxError ;
5
5
import me .chanjar .weixin .common .exception .WxErrorException ;
6
6
import me .chanjar .weixin .common .util .http .HttpType ;
7
- import me .chanjar .weixin .common .util .http .RequestHttp ;
8
7
import me .chanjar .weixin .common .util .http .okhttp .OkHttpProxyInfo ;
9
8
import me .chanjar .weixin .mp .api .WxMpConfigStorage ;
10
9
import me .chanjar .weixin .mp .api .WxMpService ;
@@ -94,10 +93,4 @@ public void initHttp() {
94
93
httpClient = new ConnectionPool ();
95
94
}
96
95
97
- @ Override
98
- public RequestHttp getRequestHttp () {
99
- return this ;
100
- }
101
-
102
-
103
96
}
You can’t perform that action at this time.
0 commit comments