|
6 | 6 | import java.util.Map; |
7 | 7 | import java.util.concurrent.locks.Lock; |
8 | 8 |
|
9 | | -import cn.binarywang.wx.miniapp.api.*; |
10 | 9 | import org.apache.http.HttpHost; |
11 | 10 | import org.apache.http.client.config.RequestConfig; |
12 | 11 | import org.apache.http.client.methods.CloseableHttpResponse; |
|
16 | 15 | import org.slf4j.Logger; |
17 | 16 | import org.slf4j.LoggerFactory; |
18 | 17 |
|
| 18 | +import cn.binarywang.wx.miniapp.api.WxMaAnalysisService; |
| 19 | +import cn.binarywang.wx.miniapp.api.WxMaCodeService; |
| 20 | +import cn.binarywang.wx.miniapp.api.WxMaJsapiService; |
| 21 | +import cn.binarywang.wx.miniapp.api.WxMaMediaService; |
| 22 | +import cn.binarywang.wx.miniapp.api.WxMaMsgService; |
| 23 | +import cn.binarywang.wx.miniapp.api.WxMaQrcodeService; |
| 24 | +import cn.binarywang.wx.miniapp.api.WxMaRunService; |
| 25 | +import cn.binarywang.wx.miniapp.api.WxMaService; |
| 26 | +import cn.binarywang.wx.miniapp.api.WxMaSettingService; |
| 27 | +import cn.binarywang.wx.miniapp.api.WxMaShareService; |
| 28 | +import cn.binarywang.wx.miniapp.api.WxMaTemplateService; |
| 29 | +import cn.binarywang.wx.miniapp.api.WxMaUserService; |
19 | 30 | import cn.binarywang.wx.miniapp.bean.WxMaJscode2SessionResult; |
20 | 31 | import cn.binarywang.wx.miniapp.config.WxMaConfig; |
21 | 32 | import com.google.common.base.Joiner; |
@@ -57,6 +68,7 @@ public class WxMaServiceImpl implements WxMaService, RequestHttp<CloseableHttpCl |
57 | 68 | private WxMaSettingService settingService = new WxMaSettingServiceImpl(this); |
58 | 69 | private WxMaJsapiService jsapiService = new WxMaJsapiServiceImpl(this); |
59 | 70 | private WxMaShareService shareService = new WxMaShareServiceImpl(this); |
| 71 | + private WxMaRunService runService = new WxMaRunServiceImpl(this); |
60 | 72 |
|
61 | 73 | private int retrySleepMillis = 1000; |
62 | 74 | private int maxRetryTimes = 5; |
@@ -332,4 +344,9 @@ public WxMaSettingService getSettingService() { |
332 | 344 | public WxMaShareService getShareService() { |
333 | 345 | return this.shareService; |
334 | 346 | } |
| 347 | + |
| 348 | + @Override |
| 349 | + public WxMaRunService getRunService() { |
| 350 | + return this.runService; |
| 351 | + } |
335 | 352 | } |
0 commit comments