File tree Expand file tree Collapse file tree 4 files changed +11
-14
lines changed
main/java/me/chanjar/weixin/cp
test/java/me/chanjar/weixin/cp Expand file tree Collapse file tree 4 files changed +11
-14
lines changed Original file line number Diff line number Diff line change 12
12
import me .chanjar .weixin .common .session .WxSession ;
13
13
import me .chanjar .weixin .common .session .WxSessionManager ;
14
14
import me .chanjar .weixin .common .util .RandomUtils ;
15
- import me .chanjar .weixin .common .util .StringUtils ;
16
15
import me .chanjar .weixin .common .util .crypto .SHA1 ;
17
16
import me .chanjar .weixin .common .util .fs .FileUtils ;
18
17
import me .chanjar .weixin .common .util .http .*;
22
21
import me .chanjar .weixin .cp .bean .WxCpTag ;
23
22
import me .chanjar .weixin .cp .bean .WxCpUser ;
24
23
import me .chanjar .weixin .cp .util .json .WxCpGsonBuilder ;
24
+ import org .apache .commons .lang3 .StringUtils ;
25
25
import org .apache .http .HttpHost ;
26
26
import org .apache .http .client .ClientProtocolException ;
27
27
import org .apache .http .client .config .RequestConfig ;
Original file line number Diff line number Diff line change 10
10
11
11
import com .google .gson .*;
12
12
import me .chanjar .weixin .common .api .WxConsts ;
13
- import me .chanjar .weixin .common .util .StringUtils ;
14
13
import me .chanjar .weixin .cp .bean .WxCpMessage ;
14
+ import org .apache .commons .lang3 .StringUtils ;
15
15
16
16
import java .lang .reflect .Type ;
17
17
Original file line number Diff line number Diff line change 1
1
package me .chanjar .weixin .cp .api ;
2
2
3
+ import com .google .inject .Inject ;
4
+ import me .chanjar .weixin .common .exception .WxErrorException ;
5
+ import org .apache .commons .lang3 .StringUtils ;
3
6
import org .testng .Assert ;
4
7
import org .testng .annotations .Guice ;
5
8
import org .testng .annotations .Test ;
6
9
7
- import com .google .inject .Inject ;
8
-
9
- import me .chanjar .weixin .common .exception .WxErrorException ;
10
- import me .chanjar .weixin .common .util .StringUtils ;
11
-
12
10
/**
13
11
* 基础API测试
14
12
*
Original file line number Diff line number Diff line change 1
1
package me .chanjar .weixin .cp .demo ;
2
2
3
- import java .io .IOException ;
4
-
5
- import javax .servlet .http .HttpServlet ;
6
- import javax .servlet .http .HttpServletRequest ;
7
- import javax .servlet .http .HttpServletResponse ;
8
-
9
- import me .chanjar .weixin .common .util .StringUtils ;
10
3
import me .chanjar .weixin .cp .api .WxCpConfigStorage ;
11
4
import me .chanjar .weixin .cp .api .WxCpMessageRouter ;
12
5
import me .chanjar .weixin .cp .api .WxCpService ;
13
6
import me .chanjar .weixin .cp .bean .WxCpXmlMessage ;
14
7
import me .chanjar .weixin .cp .bean .WxCpXmlOutMessage ;
15
8
import me .chanjar .weixin .cp .util .crypto .WxCpCryptUtil ;
9
+ import org .apache .commons .lang3 .StringUtils ;
10
+
11
+ import javax .servlet .http .HttpServlet ;
12
+ import javax .servlet .http .HttpServletRequest ;
13
+ import javax .servlet .http .HttpServletResponse ;
14
+ import java .io .IOException ;
16
15
17
16
/**
18
17
* @author Daniel Qian
You can’t perform that action at this time.
0 commit comments