|
1 | 1 | package me.chanjar.weixin.mp.api.impl; |
2 | 2 |
|
3 | | -import java.io.IOException; |
4 | | - |
5 | | -import org.apache.http.HttpHost; |
6 | | -import org.apache.http.client.config.RequestConfig; |
7 | | -import org.apache.http.client.methods.CloseableHttpResponse; |
8 | | -import org.apache.http.client.methods.HttpGet; |
9 | | -import org.apache.http.conn.ssl.DefaultHostnameVerifier; |
10 | | -import org.apache.http.conn.ssl.SSLConnectionSocketFactory; |
11 | | -import org.apache.http.impl.client.BasicResponseHandler; |
12 | | -import org.apache.http.impl.client.CloseableHttpClient; |
13 | | -import org.slf4j.Logger; |
14 | | -import org.slf4j.LoggerFactory; |
15 | | - |
16 | 3 | import com.google.gson.JsonArray; |
17 | 4 | import com.google.gson.JsonElement; |
18 | 5 | import com.google.gson.JsonObject; |
19 | 6 | import com.google.gson.JsonParser; |
20 | | - |
21 | 7 | import me.chanjar.weixin.common.bean.WxAccessToken; |
22 | 8 | import me.chanjar.weixin.common.bean.WxJsapiSignature; |
23 | 9 | import me.chanjar.weixin.common.bean.result.WxError; |
|
26 | 12 | import me.chanjar.weixin.common.session.WxSessionManager; |
27 | 13 | import me.chanjar.weixin.common.util.RandomUtils; |
28 | 14 | import me.chanjar.weixin.common.util.crypto.SHA1; |
29 | | -import me.chanjar.weixin.common.util.http.ApacheHttpClientBuilder; |
30 | | -import me.chanjar.weixin.common.util.http.DefaultApacheHttpClientBuilder; |
31 | | -import me.chanjar.weixin.common.util.http.RequestExecutor; |
32 | | -import me.chanjar.weixin.common.util.http.SimpleGetRequestExecutor; |
33 | | -import me.chanjar.weixin.common.util.http.SimplePostRequestExecutor; |
34 | | -import me.chanjar.weixin.common.util.http.URIUtil; |
35 | | -import me.chanjar.weixin.mp.api.WxMpCardService; |
36 | | -import me.chanjar.weixin.mp.api.WxMpConfigStorage; |
37 | | -import me.chanjar.weixin.mp.api.WxMpDataCubeService; |
38 | | -import me.chanjar.weixin.mp.api.WxMpGroupService; |
39 | | -import me.chanjar.weixin.mp.api.WxMpKefuService; |
40 | | -import me.chanjar.weixin.mp.api.WxMpMaterialService; |
41 | | -import me.chanjar.weixin.mp.api.WxMpMenuService; |
42 | | -import me.chanjar.weixin.mp.api.WxMpPayService; |
43 | | -import me.chanjar.weixin.mp.api.WxMpQrcodeService; |
44 | | -import me.chanjar.weixin.mp.api.WxMpService; |
45 | | -import me.chanjar.weixin.mp.api.WxMpStoreService; |
46 | | -import me.chanjar.weixin.mp.api.WxMpUserBlacklistService; |
47 | | -import me.chanjar.weixin.mp.api.WxMpUserService; |
48 | | -import me.chanjar.weixin.mp.api.WxMpUserTagService; |
49 | | -import me.chanjar.weixin.mp.bean.WxMpIndustry; |
50 | | -import me.chanjar.weixin.mp.bean.WxMpMassGroupMessage; |
51 | | -import me.chanjar.weixin.mp.bean.WxMpMassNews; |
52 | | -import me.chanjar.weixin.mp.bean.WxMpMassOpenIdsMessage; |
53 | | -import me.chanjar.weixin.mp.bean.WxMpMassPreviewMessage; |
54 | | -import me.chanjar.weixin.mp.bean.WxMpMassVideo; |
55 | | -import me.chanjar.weixin.mp.bean.WxMpSemanticQuery; |
56 | | -import me.chanjar.weixin.mp.bean.WxMpTemplateMessage; |
57 | | -import me.chanjar.weixin.mp.bean.result.WxMpMassSendResult; |
58 | | -import me.chanjar.weixin.mp.bean.result.WxMpMassUploadResult; |
59 | | -import me.chanjar.weixin.mp.bean.result.WxMpOAuth2AccessToken; |
60 | | -import me.chanjar.weixin.mp.bean.result.WxMpSemanticQueryResult; |
61 | | -import me.chanjar.weixin.mp.bean.result.WxMpUser; |
| 15 | +import me.chanjar.weixin.common.util.http.*; |
| 16 | +import me.chanjar.weixin.mp.api.*; |
| 17 | +import me.chanjar.weixin.mp.bean.*; |
| 18 | +import me.chanjar.weixin.mp.bean.result.*; |
| 19 | +import org.apache.http.HttpHost; |
| 20 | +import org.apache.http.client.config.RequestConfig; |
| 21 | +import org.apache.http.client.methods.CloseableHttpResponse; |
| 22 | +import org.apache.http.client.methods.HttpGet; |
| 23 | +import org.apache.http.conn.ssl.DefaultHostnameVerifier; |
| 24 | +import org.apache.http.conn.ssl.SSLConnectionSocketFactory; |
| 25 | +import org.apache.http.impl.client.BasicResponseHandler; |
| 26 | +import org.apache.http.impl.client.CloseableHttpClient; |
| 27 | +import org.slf4j.Logger; |
| 28 | +import org.slf4j.LoggerFactory; |
| 29 | + |
| 30 | +import java.io.IOException; |
62 | 31 |
|
63 | 32 | public class WxMpServiceImpl implements WxMpService { |
64 | 33 |
|
@@ -86,8 +55,6 @@ public class WxMpServiceImpl implements WxMpService { |
86 | 55 |
|
87 | 56 | private WxMpUserService userService = new WxMpUserServiceImpl(this); |
88 | 57 |
|
89 | | - private WxMpGroupService groupService = new WxMpGroupServiceImpl(this); |
90 | | - |
91 | 58 | private WxMpUserTagService tagService = new WxMpUserTagServiceImpl(this); |
92 | 59 |
|
93 | 60 | private WxMpQrcodeService qrCodeService = new WxMpQrcodeServiceImpl(this); |
@@ -559,11 +526,6 @@ public WxMpUserService getUserService() { |
559 | 526 | return this.userService; |
560 | 527 | } |
561 | 528 |
|
562 | | - @Override |
563 | | - public WxMpGroupService getGroupService() { |
564 | | - return this.groupService; |
565 | | - } |
566 | | - |
567 | 529 | @Override |
568 | 530 | public WxMpUserTagService getUserTagService() { |
569 | 531 | return this.tagService; |
|
0 commit comments