Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
134 commits
Select commit Hold shift + click to select a range
31493c6
Merge branch 'master' into develop
binarywang Apr 17, 2017
0516517
update version to 2.7.0-SNAPSHOT
binarywang Apr 17, 2017
5c78a11
增加第三方平台SDK支付 (#186)
DDLeEHi Apr 18, 2017
1efec6b
格式化代码
binarywang Apr 18, 2017
7553130
weixin-java-tools usage jodd-http
Apr 18, 2017
30cdad5
weixin-java-tools pay usage jodd-http
Apr 18, 2017
0e6113b
格式化代码
Apr 19, 2017
a8d443e
pay模块使用jodd-http方式,已支持证书方式 (#189)
crskyp Apr 19, 2017
897e139
jodd
Apr 20, 2017
d476047
mp usage jodd-http
Apr 21, 2017
0b0b5a9
common usage jodd-http
Apr 21, 2017
5726ca9
cp usage jodd-http
Apr 21, 2017
76330ef
装饰模式实现
Apr 22, 2017
9ac1aad
装饰模式实现
Apr 22, 2017
b03cb4b
添加了注释
Apr 22, 2017
fe61393
少提交一个
Apr 22, 2017
2019115
gradle配置信息
Apr 22, 2017
dbf0a15
weixin-java-parent pom.xml添加jodd-http
Apr 24, 2017
885db18
使用装饰模式,支持apache-http和jodd-http (#194)
crskyp Apr 25, 2017
2029cd0
修复企业号中 WxCpMessage转json时丢失safe属性的问题#196
binarywang Apr 26, 2017
49f9787
1、提取了公共代码,添加AbstractWxMPService、AbstractWxCPService类
Apr 27, 2017
ffa3544
1、提取了公共代码,添加AbstractWxMPService、AbstractWxCPService类
Apr 27, 2017
44cbf65
Merge branch 'develop' into develop
crskyp Apr 27, 2017
d01d372
修改了冲突和错误
Apr 27, 2017
f42b22f
WxCpService添加getWxMpConfigStorage方法,同时修改相关位置
Apr 27, 2017
57e1f09
WxCpService的getWxMpConfigStorage方法修改为getWxCpConfigStorage
Apr 27, 2017
48d6f10
提取公共代码、实现okhttp请求方式 (#199)
crskyp Apr 27, 2017
19b3b99
打印微信请求日志时地址中附带access_token #200
binarywang Apr 28, 2017
67a846b
出现40014的access_token问题时需要自动刷新token #197
binarywang Apr 28, 2017
cf5c21d
fix for test
binarywang Apr 28, 2017
a1faf8d
update WxCpJedisConfigStorage, connect a redis with password and pool…
mog0202 Apr 28, 2017
091e478
新加不带timeout跟password的构造方法,满足8/2需求。
bobbyguo Apr 28, 2017
bb83ead
抽取公众号部分微信请求URL到常量类中 #195
binarywang Apr 28, 2017
879c1f5
抽取公众号部分微信请求URL到接口类中 #195
binarywang Apr 28, 2017
f45ef9a
抽取客服相关接口请求URL到其接口类中 #195
binarywang Apr 28, 2017
4f900f8
添加httpType枚举
Apr 29, 2017
a8dfccc
Merge branch 'develop' of https://github.com/Wechat-Group/weixin-java…
Apr 29, 2017
dfed700
签名问题修复 (#205)
DDLeEHi May 3, 2017
01b5d91
升级qrcode-utils版本,取消对logback的依赖 #204
binarywang May 3, 2017
49dc14a
发布临时测试版本2.6.1.BETA
binarywang May 3, 2017
1eb2cc7
fix javadoc
binarywang May 3, 2017
424337a
简化方法名称
binarywang May 3, 2017
2384b4b
添加枚举HttpType
May 3, 2017
6b7c86d
添加枚举HttpType
May 3, 2017
59fc913
okhttp使用方式有错误,body().toString()修改为body().string()
May 4, 2017
fbd02a8
okhttp用法有错误;添加了枚举HttpType (#207)
crskyp May 4, 2017
aa4c076
1、删除AbstractWxMpService、AbstractWxCPService类
May 4, 2017
734c112
删除两个类;修改一个类的父类 (#208)
crskyp May 4, 2017
4958d6d
fix for previous commits
binarywang May 4, 2017
ce77578
增加微信推送用户领取卡券事件中所需两个属性 #210 并重构提取出部分内部类,避免WxMpXmlMessage类过于庞大
binarywang May 4, 2017
ee834e2
增加微信推送卡券转赠事件中所需两个属性 #211
binarywang May 4, 2017
b2a65d5
微信推送用户卡券转赠事件:WxConsts增加缺失的user_gifting_card事件常量 #212
binarywang May 4, 2017
26d68cd
RequestExecutor实例修改为通过create方法构建,解决了必须同时引入apache-http、jodd-http、okhtt…
May 6, 2017
a47a0bb
移动两个cp专用的bean到cp里
binarywang May 8, 2017
adcff4e
pom添developer
May 8, 2017
fcf3dbc
Merge remote-tracking branch 'wechat/develop' into develop
May 8, 2017
5463982
RequestExecutor实例修改为通过create方法构建,解决了必须同时引入apache-http、jodd-http、okhtt…
crskyp May 9, 2017
5234459
WxMpXmlMessage中增加微信推送用户核销卡券事件时所需的几个属性 #213
binarywang May 9, 2017
ae4cbf9
添加DNS解析器支持 (#171)
huotaihe May 10, 2017
b2c4160
添加DNS解析器支持 (#171) fix
binarywang May 10, 2017
a6d29d9
添加DNS解析器支持 (#171) fix
binarywang May 10, 2017
c21bad9
增加设置方法,方便设置是否使用微信支付仿真测试环境 #224
binarywang May 10, 2017
f216167
WxConsts增加微信推送会员卡内容更新事件update_member_card常量 #217
binarywang May 10, 2017
ba87eeb
WxConsts增加微信推送券点流水详情card_pay_order事件常量 #219
binarywang May 10, 2017
951913b
WxConsts增加微信推送摇一摇事件通知ShakearoundUserShake事件常量 #220
binarywang May 10, 2017
25cf370
将公众号相关的事件常量抽取出来,单独放于WxMpEventConstants类中
binarywang May 10, 2017
5f88773
事件常量根据分类创建静态内部类进行管理
binarywang May 10, 2017
8982cf8
批量格式化代码
binarywang May 11, 2017
1806389
批量格式化代码
binarywang May 11, 2017
3757606
Merge remote-tracking branch 'remotes/wechat/develop' into develop
May 19, 2017
16dea38
修改两个文件
May 19, 2017
9d2fb9f
完善微信支付 下载对账单 的接口 #65
DDLeEHi May 24, 2017
d108366
修复代码
binarywang May 24, 2017
3661018
修复代码
binarywang May 24, 2017
655b2c3
格式化代码
binarywang May 26, 2017
d961047
修复企业号菜单创建接口方法的bug
binarywang May 27, 2017
c017278
增加默认接口实现类,兼容之前版本
binarywang May 27, 2017
7f08a9e
优化pom,尽量减少不必要的依赖
binarywang May 27, 2017
4f41aa7
调整部分依赖版本,修复编译失败问题
binarywang May 27, 2017
a96e6f3
调整部分依赖版本,修复编译失败问题
binarywang May 27, 2017
46d94db
修复单元测试代码中对junit的依赖
binarywang May 27, 2017
8d5b41c
refactor code
binarywang May 29, 2017
ae8b2ef
refactor code
binarywang May 29, 2017
0ba2684
修复WxMpInRedisConfigStorage在极端情况下的问题 #229
binarywang May 29, 2017
0082572
WxMpXmlMessage微信推送卡券库存报警事件增加缺失的消息数据 #218
binarywang May 29, 2017
290bed1
WxMpXmlMessage微信推送会员卡内容更新事件增加缺失的消息数据 #216
binarywang May 29, 2017
e186cd9
调整注释内容 #215
binarywang May 29, 2017
c80621c
WxMpXmlMessage微信推送用户卡券买单事件增加缺失的消息数据 #214
binarywang May 29, 2017
ac257dd
修复调用【上传临时素材文件】接口返回 44001 多媒体文件为空的问题 #209
binarywang May 29, 2017
a436e62
抽取卡券相关接口请求URL到其接口类中 #195
binarywang May 29, 2017
931533c
抽取数据统计相关接口请求URL到其接口类中,并重构重复代码 #195
binarywang May 29, 2017
355f64c
发布临时测试版本2.6.2.BETA
binarywang May 29, 2017
4cf3f5c
remove useless gradle files
binarywang May 29, 2017
69ca699
加强检查支付配置
binarywang May 30, 2017
7f91ba2
jodd response 编码设置为UTF-8
Jun 3, 2017
3b7c0a7
Merge pull request #241 from crskyp/develop
crskyp Jun 3, 2017
ff2caf7
WxPayUnifiedOrderRequest里的builder类添加新增加的两个子服务商的属性
binarywang Jun 5, 2017
ea13197
新增接口:摇一摇周边获取设备及用户信息 (#243)
rememberber Jun 6, 2017
92c8a86
引入WxPayException,替代原有的异常处理类,并做相应的优化
binarywang Jun 6, 2017
cc33de3
update some files
binarywang Jun 6, 2017
563302e
消息路由器路由时可以传入context (#245)
Jun 7, 2017
228b379
#247 统一下单接口支持H5支付,并去掉交易类型trade_type的校验
binarywang Jun 10, 2017
8ed0e78
#246 修复企业号用户信息相关属性,对比实际接口返回内容,移除已失效属性(weixinid、tel),添加缺失的属性(telephone…
binarywang Jun 10, 2017
707d9b0
发布临时测试版本2.6.3.BETA
binarywang Jun 10, 2017
c1967bc
Merge branch 'master' into develop
binarywang Jun 10, 2017
26272bb
refactor some packages and class files name
binarywang Jun 10, 2017
0fe431f
生成sha1签名时,加入参数判断
binarywang Jun 10, 2017
975cfda
生成sha1签名时,加入参数判断
binarywang Jun 10, 2017
787a4cc
#244 修复下载多媒体文件报错的问题
binarywang Jun 10, 2017
9c0e9e4
检查签名时,如果有异常打印出日志
binarywang Jun 10, 2017
007e736
fix some code
binarywang Jun 10, 2017
b2f8ee1
#248 httpclient请求时忽略掉对服务器端证书的校验,以避免某些情况下微信请求会出现40029或443 failed to re…
binarywang Jun 13, 2017
5986fbb
单元测试增加缺少的logback依赖
binarywang Jun 13, 2017
4c03373
支付结果通知类优化
binarywang Jun 15, 2017
0546e00
fix logback-test.xml
binarywang Jun 15, 2017
39e79a2
minor change
binarywang Jun 15, 2017
1bd9b15
#193 增加小程序模块weixin-java-miniapp,支持小程序后台开发
binarywang Jun 15, 2017
fd5b077
发布临时测试版本2.6.5.BETA
binarywang Jun 15, 2017
9eb4ccf
小程序增加素材类型常量
binarywang Jun 16, 2017
87687b3
实现获取仿真测试系统的验签密钥的API #206
binarywang Jun 18, 2017
ec4bf26
修复微信支付请求某些接口在某些情况下会出现乱码的情况 #225
binarywang Jun 18, 2017
c7ffff0
#251 微信支付证书文件路径配置支持classpath开头的地址
binarywang Jun 18, 2017
aded340
#253 修改企业号发送消息的messageSend方法,增加返回值,方便客户端进行自行处理
binarywang Jun 22, 2017
239b8c5
修改logback配置
binarywang Jun 24, 2017
49cf402
调整企业号message相关类的包位置
binarywang Jun 24, 2017
899d037
调整企业号message相关类的包位置
binarywang Jun 24, 2017
a90628c
调整企业号config相关类的包位置
binarywang Jun 24, 2017
6b1b7f1
重构企业号代码
binarywang Jun 24, 2017
e6c8010
清理简化代码
binarywang Jun 25, 2017
17d65ee
修复单元测试
binarywang Jun 25, 2017
0f0f7bb
统一日志格式
binarywang Jun 25, 2017
9f4a7a7
优化重构企业号相关代码,修复了升级企业微信后出现的菜单问题和用户管理的问题
binarywang Jun 25, 2017
3af4c5c
更改版本号为2.7.0正式版本
binarywang Jun 26, 2017
07e8ffa
Merge branch 'master' into develop
binarywang Jun 26, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
157 changes: 91 additions & 66 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<?xml version="1.0"?>
<project
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0">
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.binarywang</groupId>
<artifactId>weixin-java-parent</artifactId>
<version>2.6.0</version>
<version>2.7.0</version>
<packaging>pom</packaging>
<name>WeiXin Java Tools - Parent</name>
<description>微信公众号、企业号上级POM</description>
Expand Down Expand Up @@ -74,6 +75,11 @@
<email>aimilin@yeah.net</email>
<url>https://github.com/aimilin6688</url>
</developer>
<developer>
<name>ecoolper</name>
<email>crskyp@gmail.com</email>
<url>https://github.com/crskyp</url>
</developer>
</developers>

<scm>
Expand All @@ -87,6 +93,7 @@
<module>weixin-java-cp</module>
<module>weixin-java-mp</module>
<module>weixin-java-pay</module>
<module>weixin-java-miniapp</module>
<!--module>weixin-java-osgi</module-->
</modules>

Expand All @@ -98,73 +105,90 @@
<downloadJavadocs>true</downloadJavadocs>
<downloadSources>true</downloadSources>
<httpclient.version>4.5</httpclient.version>
<slf4j.version>1.7.10</slf4j.version>
<logback.version>1.1.2</logback.version>
<gson.version>2.7</gson.version>
<guava.version>19.0</guava.version>
<commons-lang3.version>3.5</commons-lang3.version>
<commons-io.version>2.5</commons-io.version>
<commons-codec.version>1.10</commons-codec.version>
<jetty.version>9.3.0.RC0</jetty.version>
<jedis.version>2.9.0</jedis.version>
</properties>

<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>
<version>1.4.9</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>${httpclient.version}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpmime</artifactId>
<version>${httpclient.version}</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>${gson.version}</version>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>${commons-codec.version}</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${commons-io.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${commons-lang3.version}</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
</dependencies>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.github.binarywang</groupId>
<artifactId>qrcode-utils</artifactId>
<version>1.1</version>
</dependency>
<!-- 由于jodd-http较新的3.8版本需要jdk8,故而此处采用较低版本 -->
<dependency>
<groupId>org.jodd</groupId>
<artifactId>jodd-http</artifactId>
<version>3.7.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>3.7.0</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>${httpclient.version}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpmime</artifactId>
<version>${httpclient.version}</version>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.10</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.5</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.5</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.24</version>
</dependency>
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>
<version>1.4.9</version>
</dependency>
<!-- 由于guava较新的21.0版本需要jdk8,故而此处采用较低版本 -->
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>20.0</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.8.0</version>
</dependency>

<!-- 测试所用依赖 -->
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>2.9.7</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.1.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
Expand All @@ -174,7 +198,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.8.7</version>
<version>6.10</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -198,7 +222,8 @@
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
<version>${jedis.version}</version>
<version>2.9.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
</dependencyManagement>
Expand Down
12 changes: 0 additions & 12 deletions weixin-java-common/build.gradle

This file was deleted.

60 changes: 57 additions & 3 deletions weixin-java-common/pom.xml
Original file line number Diff line number Diff line change
@@ -1,19 +1,73 @@
<?xml version="1.0"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.github.binarywang</groupId>
<artifactId>weixin-java-parent</artifactId>
<version>2.6.0</version>
<version>2.7.0</version>
</parent>

<artifactId>weixin-java-common</artifactId>
<name>WeiXin Java Tools - Common</name>
<description>微信公众号、企业号Java SDK Common</description>

<dependencies>
<dependency>
<groupId>org.jodd</groupId>
<artifactId>jodd-http</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpmime</artifactId>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>

<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@

/**
* 标识某个字段是否是必填的
*
* <p>
* Created by Binary Wang on 2016/9/25.
* @author binarywang (https://github.com/binarywang)
*
* @author binarywang (https://github.com/binarywang)
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface Required {

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ public class WxConsts {
public static final String XML_MSG_HARDWARE = "hardware";
public static final String XML_TRANSFER_CUSTOMER_SERVICE = "transfer_customer_service";


///////////////////////
// 主动发送消息(即客服消息)的消息类型
///////////////////////
Expand Down Expand Up @@ -88,45 +87,6 @@ public class WxConsts {
public static final String EVT_LOCATION_SELECT = "location_select";
public static final String EVT_TEMPLATESENDJOBFINISH = "TEMPLATESENDJOBFINISH";
public static final String EVT_ENTER_AGENT = "enter_agent";
public static final String EVT_CARD_PASS_CHECK = "card_pass_check";
public static final String EVT_CARD_NOT_PASS_CHECK = "card_not_pass_check";
public static final String EVT_USER_GET_CARD = "user_get_card";
public static final String EVT_USER_DEL_CARD = "user_del_card";
public static final String EVT_USER_CONSUME_CARD = "user_consume_card";
public static final String EVT_USER_PAY_FROM_PAY_CELL = "user_pay_from_pay_cell";
public static final String EVT_USER_VIEW_CARD = "user_view_card";
public static final String EVT_USER_ENTER_SESSION_FROM_CARD = "user_enter_session_from_card";
public static final String EVT_CARD_SKU_REMIND = "card_sku_remind"; // 库存报警
public static final String EVT_KF_CREATE_SESSION = "kf_create_session"; // 客服接入会话
public static final String EVT_KF_CLOSE_SESSION = "kf_close_session"; // 客服关闭会话
public static final String EVT_KF_SWITCH_SESSION = "kf_switch_session"; // 客服转接会话
public static final String EVT_POI_CHECK_NOTIFY = "poi_check_notify"; //门店审核事件推送
public static final String EVN_SUBMIT_MEMBERCARD_USER_INFO = "submit_membercard_user_info"; //接收会员信息事件推送
//以下为微信认证事件
/**
* 资质认证成功
*/
public static final String EVT_QUALIFICATION_VERIFY_SUCCESS = "qualification_verify_success";
/**
* 资质认证失败
*/
public static final String EVT_QUALIFICATION_VERIFY_FAIL = "qualification_verify_fail";
/**
* 名称认证成功
*/
public static final String EVT_NAMING_VERIFY_SUCCESS = "naming_verify_success";
/**
* 名称认证失败
*/
public static final String EVT_NAMING_VERIFY_FAIL = "naming_verify_fail";
/**
* 年审通知
*/
public static final String EVT_ANNUAL_RENEW = "annual_renew";
/**
* 认证过期失效通知
*/
public static final String EVT_VERIFY_EXPIRED = "verify_expired";

///////////////////////
// 上传多媒体文件的类型
Expand Down Expand Up @@ -185,7 +145,7 @@ public class WxConsts {
* 跳转图文消息URL
*/
public static final String BUTTON_VIEW_LIMITED = "view_limited";

/**
* 不弹出授权页面,直接跳转,只能获取用户openid
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package me.chanjar.weixin.common.bean.result;

import me.chanjar.weixin.common.util.json.WxGsonBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

Expand Down Expand Up @@ -50,8 +52,7 @@ public void setThumbMediaId(String thumbMediaId) {

@Override
public String toString() {
return "WxUploadResult [type=" + this.type + ", media_id=" + this.mediaId + ", thumb_media_id=" + this.thumbMediaId
+ ", created_at=" + this.createdAt + "]";
return ToStringBuilder.reflectionToString(this, ToStringStyle.JSON_STYLE);
}

}
Loading