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 1212import me .chanjar .weixin .common .session .WxSession ;
1313import me .chanjar .weixin .common .session .WxSessionManager ;
1414import me .chanjar .weixin .common .util .RandomUtils ;
15- import me .chanjar .weixin .common .util .StringUtils ;
1615import me .chanjar .weixin .common .util .crypto .SHA1 ;
1716import me .chanjar .weixin .common .util .fs .FileUtils ;
1817import me .chanjar .weixin .common .util .http .*;
2221import me .chanjar .weixin .cp .bean .WxCpTag ;
2322import me .chanjar .weixin .cp .bean .WxCpUser ;
2423import me .chanjar .weixin .cp .util .json .WxCpGsonBuilder ;
24+ import org .apache .commons .lang3 .StringUtils ;
2525import org .apache .http .HttpHost ;
2626import org .apache .http .client .ClientProtocolException ;
2727import org .apache .http .client .config .RequestConfig ;
Original file line number Diff line number Diff line change 1010
1111import com .google .gson .*;
1212import me .chanjar .weixin .common .api .WxConsts ;
13- import me .chanjar .weixin .common .util .StringUtils ;
1413import me .chanjar .weixin .cp .bean .WxCpMessage ;
14+ import org .apache .commons .lang3 .StringUtils ;
1515
1616import java .lang .reflect .Type ;
1717
Original file line number Diff line number Diff line change 11package me .chanjar .weixin .cp .api ;
22
3+ import com .google .inject .Inject ;
4+ import me .chanjar .weixin .common .exception .WxErrorException ;
5+ import org .apache .commons .lang3 .StringUtils ;
36import org .testng .Assert ;
47import org .testng .annotations .Guice ;
58import org .testng .annotations .Test ;
69
7- import com .google .inject .Inject ;
8-
9- import me .chanjar .weixin .common .exception .WxErrorException ;
10- import me .chanjar .weixin .common .util .StringUtils ;
11-
1210/**
1311 * 基础API测试
1412 *
Original file line number Diff line number Diff line change 11package me .chanjar .weixin .cp .demo ;
22
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 ;
103import me .chanjar .weixin .cp .api .WxCpConfigStorage ;
114import me .chanjar .weixin .cp .api .WxCpMessageRouter ;
125import me .chanjar .weixin .cp .api .WxCpService ;
136import me .chanjar .weixin .cp .bean .WxCpXmlMessage ;
147import me .chanjar .weixin .cp .bean .WxCpXmlOutMessage ;
158import 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 ;
1615
1716/**
1817 * @author Daniel Qian
You can’t perform that action at this time.
0 commit comments