Skip to content

Commit 34fe113

Browse files
committed
event 解析修正
1 parent 33d2883 commit 34fe113

11 files changed

Lines changed: 20 additions & 11 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# ChangeLog
22

3+
## 2.3.0 (2017-12-08)
4+
#### 修正
5+
- Event 解析修正
6+
37
## 2.3.0 (2017-12-01)
48
#### 更改
59
- 合并账户系统相关接口

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ maven 远程仓库
3434
<dependency>
3535
<groupId>Pingplusplus</groupId>
3636
<artifactId>pingpp-java</artifactId>
37-
<version>2.3.0</version>
37+
<version>2.3.1</version>
3838
<type>jar</type>
3939
</dependency>
4040
```
@@ -52,7 +52,7 @@ repositories {
5252

5353
安装 Ping++ SDK
5454
```
55-
compile 'Pingplusplus:pingpp-java:2.3.0'
55+
compile 'Pingplusplus:pingpp-java:2.3.1'
5656
```
5757

5858
### 初始化

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.3.0
1+
2.3.1
-278 KB
Binary file not shown.

example/libs/gson-2.6.2.jar

-224 KB
Binary file not shown.

example/libs/pingpp-java-2.2.5.jar

-56 KB
Binary file not shown.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>Pingplusplus</groupId>
66
<artifactId>pingpp-java</artifactId>
7-
<version>2.3.0</version>
7+
<version>2.3.1</version>
88
<name>pingpp-java</name>
99
<url>https://github.com/PingPlusPlus/pingpp-java</url>
1010
<properties>

src/main/java/com/pingplusplus/Pingpp.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public abstract class Pingpp {
1111
/**
1212
* version
1313
*/
14-
public static final String VERSION = "2.3.0";
14+
public static final String VERSION = "2.3.1";
1515
/**
1616
* api key
1717
*/

src/main/java/com/pingplusplus/PingppAccount.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
* Created by Afon on 2016/12/22.
55
*/
66
public abstract class PingppAccount extends Pingpp {
7-
public static final String VERSION = "1.2.3";
7+
public static final String VERSION = "1.2.4"; // 之后不再更新此版本号
88
}

src/main/java/com/pingplusplus/serializer/AccountEventDataDeserializer.java

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,22 @@ public class AccountEventDataDeserializer extends EventDataDeserializer {
3535

3636
objectMap.put("order", Order.class);
3737
objectMap.put("order_refund", OrderRefund.class);
38+
objectMap.put("user", User.class);
39+
objectMap.put("settle_account", SettleAccount.class);
3840
objectMap.put("withdrawal", Withdrawal.class);
3941
objectMap.put("batch_withdrawal", BatchWithdrawal.class);
42+
objectMap.put("balance_bonus", BalanceBonus.class);
43+
objectMap.put("balance_transfer", BalanceTransfer.class);
44+
objectMap.put("recharge", Recharge.class);
45+
objectMap.put("balance_transaction", BalanceTransaction.class);
46+
4047
objectMap.put("coupon", Coupon.class);
4148
objectMap.put("coupon_template", CouponTemplate.class);
42-
objectMap.put("balance_transaction", BalanceTransaction.class);
43-
objectMap.put("user", User.class);
4449

4550
objectMap.put("royalty", Royalty.class);
4651
objectMap.put("royalty_settlement", RoyaltySettlement.class);
4752
objectMap.put("royalty_transaction", RoyaltyTransaction.class);
48-
objectMap.put("settle_account", SettleAccount.class);
53+
4954
objectMap.put("sub_app", SubApp.class);
5055
objectMap.put("channel", Channel.class);
5156
}

0 commit comments

Comments
 (0)