新增数据统计接口&支付单元测试
This commit is contained in:
@@ -164,4 +164,8 @@ weixin4j-mp
|
||||
|
||||
+ **weixin4j-mp-api**: 退款相关类拆分为V2跟V3
|
||||
|
||||
+ **weixin4j-mp-api**: 新增接口上报接口
|
||||
+ **weixin4j-mp-api**: 新增接口上报接口
|
||||
|
||||
* 2015-01-31
|
||||
|
||||
+ **weixin4j-mp-api**: 新增数据分析接口
|
||||
@@ -143,4 +143,8 @@ weixin.properties说明
|
||||
|
||||
+ 退款相关类拆分为V2跟V3
|
||||
|
||||
+ 新增接口上报接口
|
||||
+ 新增接口上报接口
|
||||
|
||||
* 2015-01-31
|
||||
|
||||
+ 新增数据分析接口
|
||||
@@ -233,7 +233,6 @@ public class Pay2Api extends PayApi {
|
||||
}
|
||||
}
|
||||
}
|
||||
System.err.println(response.getAsString());
|
||||
return response.getAsObject(new TypeReference<RefundResult>() {
|
||||
});
|
||||
}
|
||||
|
||||
+2
-2
@@ -130,5 +130,5 @@ unifiedorder_uri={mch_base_url}/pay/unifiedorder
|
||||
nativepay_v2_uri=weixin://wxpay/bizpayurl?sign=%s&appid=%s&productid=%s×tamp=%s&noncestr=%s
|
||||
nativepay_v3_uri=weixin://wxpay/bizpayurl?sign=%s&appid=%s&mch_id=%s&product_id=%s&time_stamp=%s&nonce_str=%s
|
||||
|
||||
# \u83b7\u53d6\u7528\u6237\u589e\u51cf\u6570\u636e
|
||||
datacube_getusersummary_uri={api_base_url}/datacube/getusersummary?access_token=%s
|
||||
# \u6570\u636e\u7edf\u8ba1
|
||||
datacube_uri={api_base_url}/datacube/%s?access_token=%s
|
||||
-6
@@ -2,8 +2,6 @@ package com.foxinmy.weixin4j.mp.payment.v3;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.foxinmy.weixin4j.model.WeixinMpAccount;
|
||||
import com.foxinmy.weixin4j.mp.payment.PayPackage;
|
||||
@@ -120,10 +118,6 @@ public class PayPackageV3 extends PayPackage {
|
||||
this.sign = sign;
|
||||
}
|
||||
|
||||
public void setBody(String body) {
|
||||
super.setBody(StringUtils.isBlank(body) ? "服务费用" : body);
|
||||
}
|
||||
|
||||
public String getTradeType() {
|
||||
return tradeType;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user