@since JDK 1.7 => @since JDK 1.6

This commit is contained in:
jinyu 2015-12-08 11:58:49 +08:00
parent 105cf4bfe8
commit 94ec4a2196
362 changed files with 412 additions and 403 deletions

View File

@ -513,11 +513,6 @@
+ weixin4j-base:调整PayUtil#createNativePayRequestURL参数位置:从主到次 + weixin4j-base:调整PayUtil#createNativePayRequestURL参数位置:从主到次
* 2015-12-01
+ weixin4j-[mp|qy]:version upgrade to 1.6.4
+ weixin4j-server:version upgrade to 1.1.4
* 2015-12-04 * 2015-12-04
@ -525,4 +520,10 @@
+ weixin4j-base:【重要】添加MchPayRequest的构造函数便于二次发起支付。 + weixin4j-base:【重要】添加MchPayRequest的构造函数便于二次发起支付。
+ weixin4j-qy:【重要】第三方应用授权时获取永久授权码覆盖问题。 + weixin4j-qy:【重要】第三方应用授权时获取永久授权码覆盖问题。
* 2015-12-08
+ weixin4j-[mp|qy]:version upgrade to 1.6.4
+ weixin4j-server:version upgrade to 1.1.4

View File

@ -26,21 +26,21 @@ weixin4j
如何获取 如何获取
---------- ----------
###1.maven依赖 ###1.maven依赖
微信公众平台API(1.6.4,2015-12-01 released) 微信公众平台API(1.6.4,2015-12-08 released)
<dependency> <dependency>
<groupId>com.foxinmy</groupId> <groupId>com.foxinmy</groupId>
<artifactId>weixin4j-mp</artifactId> <artifactId>weixin4j-mp</artifactId>
<version>1.6.4</version> <version>1.6.4</version>
</dependency> </dependency>
微信企业号API(1.6.4,2015-12-01 released) 微信企业号API(1.6.4,2015-12-08 released)
<dependency> <dependency>
<groupId>com.foxinmy</groupId> <groupId>com.foxinmy</groupId>
<artifactId>weixin4j-qy</artifactId> <artifactId>weixin4j-qy</artifactId>
<version>1.6.4</version> <version>1.6.4</version>
</dependency> </dependency>
微信回调消息服务器(1.1.4,2015-12-01 released) 微信回调消息服务器(1.1.4,2015-12-08 released)
<dependency> <dependency>
<groupId>com.foxinmy</groupId> <groupId>com.foxinmy</groupId>

View File

@ -17,7 +17,7 @@ import com.foxinmy.weixin4j.util.Weixin4jConst;
* @className BaseApi * @className BaseApi
* @author jy.hu * @author jy.hu
* @date 2014年9月26日 * @date 2014年9月26日
* @since JDK 1.7 * @since JDK 1.6
* @see <a href="http://mp.weixin.qq.com/wiki/index.php">微信公众平台API文档</a> * @see <a href="http://mp.weixin.qq.com/wiki/index.php">微信公众平台API文档</a>
* @see <a href="http://qydev.weixin.qq.com/wiki/index.php">微信企业号API文档</a> * @see <a href="http://qydev.weixin.qq.com/wiki/index.php">微信企业号API文档</a>
*/ */

View File

@ -30,7 +30,7 @@ import com.foxinmy.weixin4j.xml.XmlStream;
* @className CashApi * @className CashApi
* @author jy * @author jy
* @date 2015年3月28日 * @date 2015年3月28日
* @since JDK 1.7 * @since JDK 1.6
* @see <a * @see <a
* href="http://pay.weixin.qq.com/wiki/doc/api/cash_coupon.php?chapter=13_1">现金红包</a> * href="http://pay.weixin.qq.com/wiki/doc/api/cash_coupon.php?chapter=13_1">现金红包</a>
* @see <a * @see <a

View File

@ -26,7 +26,7 @@ import com.foxinmy.weixin4j.xml.XmlStream;
* @className CouponApi * @className CouponApi
* @author jy * @author jy
* @date 2015年3月25日 * @date 2015年3月25日
* @since JDK 1.7 * @since JDK 1.6
* @see <a href="http://pay.weixin.qq.com/wiki/doc/api/sp_coupon.php">代金券文档</a> * @see <a href="http://pay.weixin.qq.com/wiki/doc/api/sp_coupon.php">代金券文档</a>
*/ */
public class CouponApi { public class CouponApi {

View File

@ -48,7 +48,7 @@ import com.foxinmy.weixin4j.xml.XmlStream;
* @className Pay3Api * @className Pay3Api
* @author jy * @author jy
* @date 2014年10月28日 * @date 2014年10月28日
* @since JDK 1.7 * @since JDK 1.6
* @see <a href="http://pay.weixin.qq.com/wiki/doc/api/index.html">商户平台API</a> * @see <a href="http://pay.weixin.qq.com/wiki/doc/api/index.html">商户平台API</a>
*/ */
public class Pay3Api { public class Pay3Api {
@ -304,7 +304,7 @@ public class Pay3Api {
* href="http://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=9_6">下载对账单API</a> * href="http://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=9_6">下载对账单API</a>
* @throws WeixinException * @throws WeixinException
*/ */
public File downloadbill(Date billDate, BillType billType) public File downloadBill(Date billDate, BillType billType)
throws WeixinException { throws WeixinException {
if (billDate == null) { if (billDate == null) {
Calendar now = Calendar.getInstance(); Calendar now = Calendar.getInstance();

View File

@ -8,7 +8,7 @@ import com.foxinmy.weixin4j.util.StringUtil;
* @className WeixinException * @className WeixinException
* @author jy.hu * @author jy.hu
* @date 2014年4月10日 * @date 2014年4月10日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class WeixinException extends Exception { public class WeixinException extends Exception {

View File

@ -6,7 +6,7 @@ package com.foxinmy.weixin4j.exception;
* @className WeixinPayException * @className WeixinPayException
* @author jy * @author jy
* @date 2014年10月28日 * @date 2014年10月28日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class WeixinPayException extends WeixinException { public class WeixinPayException extends WeixinException {

View File

@ -8,7 +8,7 @@ import java.io.InputStream;
* @className AbstractHttpResponse * @className AbstractHttpResponse
* @author jy * @author jy
* @date 2015年9月7日 * @date 2015年9月7日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public abstract class AbstractHttpResponse implements HttpResponse { public abstract class AbstractHttpResponse implements HttpResponse {

View File

@ -14,7 +14,7 @@ import com.foxinmy.weixin4j.model.Consts;
* @className ContentType * @className ContentType
* @author jy * @author jy
* @date 2015年5月29日 * @date 2015年5月29日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public final class ContentType implements Serializable { public final class ContentType implements Serializable {

View File

@ -10,7 +10,7 @@ import com.foxinmy.weixin4j.http.entity.HttpEntity;
* @className HttpClient * @className HttpClient
* @author jy * @author jy
* @date 2015年5月30日 * @date 2015年5月30日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public interface HttpClient { public interface HttpClient {

View File

@ -7,7 +7,7 @@ package com.foxinmy.weixin4j.http;
* @className HttpMessage * @className HttpMessage
* @author jy * @author jy
* @date 2015年5月29日 * @date 2015年5月29日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public interface HttpMessage { public interface HttpMessage {

View File

@ -6,7 +6,7 @@ package com.foxinmy.weixin4j.http;
* @className HttpMethod * @className HttpMethod
* @author jy * @author jy
* @date 2015年5月29日 * @date 2015年5月29日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public enum HttpMethod { public enum HttpMethod {

View File

@ -11,7 +11,7 @@ import javax.net.ssl.SSLContext;
* @className HttpParams * @className HttpParams
* @author jy * @author jy
* @date 2015年8月13日 * @date 2015年8月13日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public final class HttpParams { public final class HttpParams {

View File

@ -10,7 +10,7 @@ import com.foxinmy.weixin4j.http.entity.HttpEntity;
* @className HttpRequest * @className HttpRequest
* @author jy * @author jy
* @date 2015年5月29日 * @date 2015年5月29日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class HttpRequest implements HttpMessage { public class HttpRequest implements HttpMessage {

View File

@ -8,7 +8,7 @@ import java.io.InputStream;
* @className HttpResponse * @className HttpResponse
* @author jy * @author jy
* @date 2015年5月30日 * @date 2015年5月30日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public interface HttpResponse extends HttpMessage { public interface HttpResponse extends HttpMessage {

View File

@ -9,7 +9,7 @@ import java.util.regex.Pattern;
* @className HttpVersion * @className HttpVersion
* @author jy * @author jy
* @date 2015年5月29日 * @date 2015年5月29日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class HttpVersion implements Comparable<HttpVersion> { public class HttpVersion implements Comparable<HttpVersion> {

View File

@ -27,7 +27,7 @@ import com.foxinmy.weixin4j.util.StringUtil;
* @className SimpleHttpClient * @className SimpleHttpClient
* @author jy * @author jy
* @date 2015年5月29日 * @date 2015年5月29日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class SimpleHttpClient extends AbstractHttpClient implements HttpClient { public class SimpleHttpClient extends AbstractHttpClient implements HttpClient {

View File

@ -13,7 +13,7 @@ import java.util.Map.Entry;
* @className SimpleHttpResponse * @className SimpleHttpResponse
* @author jy * @author jy
* @date 2015年8月14日 * @date 2015年8月14日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class SimpleHttpResponse extends AbstractHttpResponse { public class SimpleHttpResponse extends AbstractHttpResponse {

View File

@ -10,7 +10,7 @@ import com.foxinmy.weixin4j.util.URLEncodingUtil;
* @className UrlParameter * @className UrlParameter
* @author jy * @author jy
* @date 2015年5月29日 * @date 2015年5月29日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class URLParameter extends NameValue { public class URLParameter extends NameValue {

View File

@ -17,7 +17,7 @@ import com.foxinmy.weixin4j.http.HttpClientException;
* @className HttpClientFactory * @className HttpClientFactory
* @author jy * @author jy
* @date 2015年8月12日 * @date 2015年8月12日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public abstract class HttpClientFactory { public abstract class HttpClientFactory {

View File

@ -49,7 +49,7 @@ import com.foxinmy.weixin4j.util.StringUtil;
* @className HttpComponent3 * @className HttpComponent3
* @author jy * @author jy
* @date 2015年8月18日 * @date 2015年8月18日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class HttpComponent3 extends AbstractHttpClient { public class HttpComponent3 extends AbstractHttpClient {

View File

@ -8,14 +8,14 @@ import org.apache.commons.httpclient.HttpClient;
* @className HttpComponent3Factory * @className HttpComponent3Factory
* @author jy * @author jy
* @date 2015年8月12日 * @date 2015年8月12日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class HttpComponent3Factory extends HttpClientFactory { public class HttpComponent3Factory extends HttpClientFactory {
public HttpComponent3Factory() { public HttpComponent3Factory() {
// odd bug // odd bug
Class _ = HttpClient.class; Class<HttpClient> _dead = HttpClient.class;
} }
@Override @Override

View File

@ -17,7 +17,7 @@ import com.foxinmy.weixin4j.http.HttpVersion;
* @className HttpComponent3Response * @className HttpComponent3Response
* @author jy * @author jy
* @date 2015年8月17日 * @date 2015年8月17日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class HttpComponent3Response extends AbstractHttpResponse { public class HttpComponent3Response extends AbstractHttpResponse {

View File

@ -41,7 +41,7 @@ import com.foxinmy.weixin4j.util.StringUtil;
* @className HttpComponent4 * @className HttpComponent4
* @author jy * @author jy
* @date 2015年8月18日 * @date 2015年8月18日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public abstract class HttpComponent4 extends AbstractHttpClient { public abstract class HttpComponent4 extends AbstractHttpClient {

View File

@ -10,7 +10,7 @@ import com.foxinmy.weixin4j.http.HttpClient;
* @className HttpComponent4Factory * @className HttpComponent4Factory
* @author jy * @author jy
* @date 2015年8月12日 * @date 2015年8月12日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class HttpComponent4Factory extends HttpClientFactory { public class HttpComponent4Factory extends HttpClientFactory {

View File

@ -26,7 +26,7 @@ import com.foxinmy.weixin4j.model.Consts;
* @className HttpComponent4_1 * @className HttpComponent4_1
* @author jy * @author jy
* @date 2015年8月18日 * @date 2015年8月18日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class HttpComponent4_1 extends HttpComponent4 { public class HttpComponent4_1 extends HttpComponent4 {

View File

@ -17,7 +17,7 @@ import com.foxinmy.weixin4j.http.HttpVersion;
* @className HttpComponent4_1Response * @className HttpComponent4_1Response
* @author jy * @author jy
* @date 2015年8月18日 * @date 2015年8月18日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class HttpComponent4_1Response extends AbstractHttpResponse { public class HttpComponent4_1Response extends AbstractHttpResponse {

View File

@ -24,7 +24,7 @@ import com.foxinmy.weixin4j.http.HttpResponse;
* @className HttpComponent4_2 * @className HttpComponent4_2
* @author jy * @author jy
* @date 2015年8月18日 * @date 2015年8月18日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class HttpComponent4_2 extends HttpComponent4 { public class HttpComponent4_2 extends HttpComponent4 {

View File

@ -19,7 +19,7 @@ import com.foxinmy.weixin4j.http.HttpVersion;
* @className HttpComponent4_2Response * @className HttpComponent4_2Response
* @author jy * @author jy
* @date 2015年8月18日 * @date 2015年8月18日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class HttpComponent4_2Response extends AbstractHttpResponse { public class HttpComponent4_2Response extends AbstractHttpResponse {

View File

@ -45,7 +45,7 @@ import com.foxinmy.weixin4j.util.StringUtil;
* @className Netty4HttpClient * @className Netty4HttpClient
* @author jy * @author jy
* @date 2015年8月30日 * @date 2015年8月30日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class Netty4HttpClient extends AbstractHttpClient { public class Netty4HttpClient extends AbstractHttpClient {

View File

@ -22,7 +22,7 @@ import com.foxinmy.weixin4j.http.HttpClient;
* @className Netty4HttpClientFactory * @className Netty4HttpClientFactory
* @author jy * @author jy
* @date 2015年8月30日 * @date 2015年8月30日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class Netty4HttpClientFactory extends HttpClientFactory { public class Netty4HttpClientFactory extends HttpClientFactory {

View File

@ -17,7 +17,7 @@ import com.foxinmy.weixin4j.http.HttpVersion;
* @className Netty4HttpResponse * @className Netty4HttpResponse
* @author jy * @author jy
* @date 2015年8月30日 * @date 2015年8月30日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class Netty4HttpResponse extends AbstractHttpResponse { public class Netty4HttpResponse extends AbstractHttpResponse {

View File

@ -9,7 +9,7 @@ import com.foxinmy.weixin4j.http.SimpleHttpClient;
* @className SimpleHttpClientFactory * @className SimpleHttpClientFactory
* @author jy * @author jy
* @date 2015年8月12日 * @date 2015年8月12日
* @since JDK 1.7 * @since JDK 1.6
* @see com.foxinmy.weixin4j.http.SimpleHttpClient * @see com.foxinmy.weixin4j.http.SimpleHttpClient
*/ */
public class SimpleHttpClientFactory extends HttpClientFactory { public class SimpleHttpClientFactory extends HttpClientFactory {

View File

@ -10,7 +10,7 @@ import com.alibaba.fastjson.annotation.JSONField;
* @className JsonResult * @className JsonResult
* @author jy.hu * @author jy.hu
* @date 2014年9月24日 * @date 2014年9月24日
* @since JDK 1.7 * @since JDK 1.6
* @see <a * @see <a
* href="http://mp.weixin.qq.com/wiki/17/fa4e1434e57290788bde25603fa2fcbd.html">公众平台全局返回码说明</a> * href="http://mp.weixin.qq.com/wiki/17/fa4e1434e57290788bde25603fa2fcbd.html">公众平台全局返回码说明</a>
* @see <a * @see <a

View File

@ -30,7 +30,7 @@ import com.foxinmy.weixin4j.xml.XmlStream;
* @className WeixinRequestExecutor * @className WeixinRequestExecutor
* @author jy * @author jy
* @date 2015年8月15日 * @date 2015年8月15日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class WeixinRequestExecutor { public class WeixinRequestExecutor {

View File

@ -14,7 +14,7 @@ import com.foxinmy.weixin4j.exception.WeixinException;
* @className WeixinSSLRequestExecutor * @className WeixinSSLRequestExecutor
* @author jy * @author jy
* @date 2015年8月17日 * @date 2015年8月17日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class WeixinSSLRequestExecutor extends WeixinRequestExecutor { public class WeixinSSLRequestExecutor extends WeixinRequestExecutor {

View File

@ -15,7 +15,7 @@ import com.alibaba.fastjson.annotation.JSONField;
* @className XmlResult * @className XmlResult
* @author jy * @author jy
* @date 2014年11月1日 * @date 2014年11月1日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
@XmlRootElement @XmlRootElement

View File

@ -17,7 +17,7 @@ import com.foxinmy.weixin4j.type.ButtonType;
* @className Button * @className Button
* @author jy.hu * @author jy.hu
* @date 2014年4月5日 * @date 2014年4月5日
* @since JDK 1.7 * @since JDK 1.6
* @see com.foxinmy.weixin4j.type.ButtonType * @see com.foxinmy.weixin4j.type.ButtonType
*/ */
public class Button implements Serializable { public class Button implements Serializable {

View File

@ -8,7 +8,7 @@ import java.nio.charset.Charset;
* @className Consts * @className Consts
* @author jy * @author jy
* @date 2014年12月3日 * @date 2014年12月3日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public final class Consts { public final class Consts {

View File

@ -6,7 +6,7 @@ package com.foxinmy.weixin4j.model;
* @className Gender * @className Gender
* @author jy * @author jy
* @date 2014年11月5日 * @date 2014年11月5日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public enum Gender { public enum Gender {

View File

@ -10,7 +10,7 @@ import com.alibaba.fastjson.annotation.JSONField;
* @className MediaCounter * @className MediaCounter
* @author jy * @author jy
* @date 2015年3月22日 * @date 2015年3月22日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class MediaCounter implements Serializable { public class MediaCounter implements Serializable {

View File

@ -11,7 +11,7 @@ import com.foxinmy.weixin4j.http.ContentType;
* @className MediaDownloadResult * @className MediaDownloadResult
* @author jy * @author jy
* @date 2015年7月25日 * @date 2015年7月25日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class MediaDownloadResult implements Serializable { public class MediaDownloadResult implements Serializable {

View File

@ -14,7 +14,7 @@ import com.foxinmy.weixin4j.tuple.MpArticle;
* @className MediaItem * @className MediaItem
* @author jy * @author jy
* @date 2015年3月22日 * @date 2015年3月22日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class MediaItem implements Serializable { public class MediaItem implements Serializable {

View File

@ -12,7 +12,7 @@ import com.foxinmy.weixin4j.type.MediaType;
* @className MediaRecord * @className MediaRecord
* @author jy * @author jy
* @date 2015年3月22日 * @date 2015年3月22日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class MediaRecord implements Serializable { public class MediaRecord implements Serializable {

View File

@ -13,7 +13,7 @@ import com.foxinmy.weixin4j.type.MediaType;
* @className MediaUploadResult * @className MediaUploadResult
* @author jy * @author jy
* @date 2015年7月25日 * @date 2015年7月25日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class MediaUploadResult implements Serializable { public class MediaUploadResult implements Serializable {

View File

@ -10,7 +10,7 @@ import com.foxinmy.weixin4j.model.Sort.Direction;
* @className Pageable * @className Pageable
* @author jy * @author jy
* @date 2014年12月27日 * @date 2014年12月27日
* @since JDK 1.7 * @since JDK 1.6
*/ */
public class Pageable implements Serializable { public class Pageable implements Serializable {

View File

@ -11,7 +11,7 @@ import com.alibaba.fastjson.annotation.JSONField;
* @className Token * @className Token
* @author jy.hu * @author jy.hu
* @date 2014年4月5日 * @date 2014年4月5日
* @since JDK 1.7 * @since JDK 1.6
* @see <a * @see <a
* href="http://mp.weixin.qq.com/wiki/11/0e4b294685f817b95cbed85ba5e82b8f.html">微信公众平台获取token</a> * href="http://mp.weixin.qq.com/wiki/11/0e4b294685f817b95cbed85ba5e82b8f.html">微信公众平台获取token</a>
* @see <a * @see <a

View File

@ -11,7 +11,7 @@ import com.alibaba.fastjson.annotation.JSONField;
* @className WeixinAccount * @className WeixinAccount
* @author jy * @author jy
* @date 2014年11月18日 * @date 2014年11月18日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class WeixinAccount implements Serializable { public class WeixinAccount implements Serializable {

View File

@ -10,7 +10,7 @@ import com.foxinmy.weixin4j.util.StringUtil;
* @className WeixinPayAccount * @className WeixinPayAccount
* @author jy * @author jy
* @date 2015年6月26日 * @date 2015年6月26日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class WeixinPayAccount extends WeixinAccount { public class WeixinPayAccount extends WeixinAccount {

View File

@ -13,7 +13,7 @@ import com.alibaba.fastjson.annotation.JSONField;
* @className JsPayNotify * @className JsPayNotify
* @author jy * @author jy
* @date 2014年8月19日 * @date 2014年8月19日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
@XmlRootElement @XmlRootElement

View File

@ -17,7 +17,7 @@ import com.foxinmy.weixin4j.util.RandomUtil;
* @className MicroPayPackage * @className MicroPayPackage
* @author jy * @author jy
* @date 2014年11月17日 * @date 2014年11月17日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
@XmlRootElement @XmlRootElement

View File

@ -16,7 +16,7 @@ import com.foxinmy.weixin4j.type.SignType;
* @className PayBaseInfo * @className PayBaseInfo
* @author jy * @author jy
* @date 2014年11月5日 * @date 2014年11月5日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
@XmlRootElement @XmlRootElement

View File

@ -17,7 +17,7 @@ import com.foxinmy.weixin4j.util.DateUtil;
* @className PayPackage * @className PayPackage
* @author jy * @author jy
* @date 2014年12月18日 * @date 2014年12月18日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
@XmlRootElement @XmlRootElement

View File

@ -6,7 +6,7 @@ package com.foxinmy.weixin4j.payment;
* @className PayURLConsts * @className PayURLConsts
* @author jy * @author jy
* @date 2014年12月3日 * @date 2014年12月3日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public final class PayURLConsts { public final class PayURLConsts {

View File

@ -32,7 +32,7 @@ import com.foxinmy.weixin4j.xml.XmlStream;
* @className PayUtil * @className PayUtil
* @author jy * @author jy
* @date 2014年10月28日 * @date 2014年10月28日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class PayUtil { public class PayUtil {

View File

@ -38,7 +38,7 @@ import com.foxinmy.weixin4j.util.Weixin4jConst;
* @className WeixinPayProxy * @className WeixinPayProxy
* @author jy * @author jy
* @date 2015年1月3日 * @date 2015年1月3日
* @since JDK 1.7 * @since JDK 1.6
* @see com.foxinmy.weixin4j.api.Pay3Api * @see com.foxinmy.weixin4j.api.Pay3Api
* @see <a href="http://pay.weixin.qq.com/wiki/doc/api/index.html">商户平台支付API</a> * @see <a href="http://pay.weixin.qq.com/wiki/doc/api/index.html">商户平台支付API</a>
*/ */
@ -175,7 +175,7 @@ public class WeixinPayProxy {
* @since V3 * @since V3
* @throws WeixinException * @throws WeixinException
*/ */
public RefundRecord refundQueryV3(IdQuery idQuery) throws WeixinException { public RefundRecord refundQuery(IdQuery idQuery) throws WeixinException {
return pay3Api.refundQuery(idQuery); return pay3Api.refundQuery(idQuery);
} }
@ -198,9 +198,9 @@ public class WeixinPayProxy {
* href="http://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=9_6">下载对账单API</a> * href="http://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=9_6">下载对账单API</a>
* @throws WeixinException * @throws WeixinException
*/ */
public File downloadbill(Date billDate, BillType billType) public File downloadBill(Date billDate, BillType billType)
throws WeixinException { throws WeixinException {
return pay3Api.downloadbill(billDate, billType); return pay3Api.downloadBill(billDate, billType);
} }
/** /**

View File

@ -20,7 +20,7 @@ import com.foxinmy.weixin4j.util.DateUtil;
* @className CouponDetail * @className CouponDetail
* @author jy * @author jy
* @date 2015年3月27日 * @date 2015年3月27日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
@XmlRootElement @XmlRootElement

View File

@ -15,7 +15,7 @@ import com.alibaba.fastjson.annotation.JSONField;
* @className CouponInfo * @className CouponInfo
* @author jy * @author jy
* @date 2015年3月24日 * @date 2015年3月24日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
@XmlRootElement @XmlRootElement

View File

@ -14,7 +14,7 @@ import com.foxinmy.weixin4j.payment.mch.ApiResult;
* @className CouponResult * @className CouponResult
* @author jy * @author jy
* @date 2015年3月25日 * @date 2015年3月25日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
@XmlRootElement @XmlRootElement

View File

@ -19,7 +19,7 @@ import com.foxinmy.weixin4j.util.DateUtil;
* @className CouponStock * @className CouponStock
* @author jy * @author jy
* @date 2015年3月27日 * @date 2015年3月27日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
@XmlRootElement @XmlRootElement

View File

@ -14,7 +14,7 @@ import com.foxinmy.weixin4j.http.weixin.XmlResult;
* @className ApiResult * @className ApiResult
* @author jy * @author jy
* @date 2014年10月21日 * @date 2014年10月21日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
@XmlRootElement @XmlRootElement

View File

@ -13,7 +13,7 @@ import com.alibaba.fastjson.annotation.JSONField;
* @className AuthCodeOpenIdResult * @className AuthCodeOpenIdResult
* @author jy * @author jy
* @date 2015年7月23日 * @date 2015年7月23日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
@XmlRootElement @XmlRootElement

View File

@ -17,7 +17,7 @@ import com.foxinmy.weixin4j.util.DateUtil;
* @className MPPayment * @className MPPayment
* @author jy * @author jy
* @date 2015年4月1日 * @date 2015年4月1日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
@XmlRootElement @XmlRootElement

View File

@ -17,7 +17,7 @@ import com.foxinmy.weixin4j.util.DateUtil;
* @className MPPaymentRecord * @className MPPaymentRecord
* @author jy * @author jy
* @date 2015年6月23日 * @date 2015年6月23日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
@XmlRootElement @XmlRootElement

View File

@ -13,7 +13,7 @@ import com.alibaba.fastjson.annotation.JSONField;
* @className MPPaymentResult * @className MPPaymentResult
* @author jy * @author jy
* @date 2015年4月1日 * @date 2015年4月1日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
@XmlRootElement @XmlRootElement

View File

@ -19,7 +19,7 @@ import com.foxinmy.weixin4j.util.RandomUtil;
* @className MchPayPackage * @className MchPayPackage
* @author jy * @author jy
* @date 2014年10月21日 * @date 2014年10月21日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
@XmlRootElement @XmlRootElement

View File

@ -23,7 +23,7 @@ import com.foxinmy.weixin4j.payment.PayRequest;
* @className MchPayRequest * @className MchPayRequest
* @author jy * @author jy
* @date 2014年8月17日 * @date 2014年8月17日
* @since JDK 1.7 * @since JDK 1.6
* @see com.foxinmy.weixin4j.payment.mch.PrePay * @see com.foxinmy.weixin4j.payment.mch.PrePay
*/ */
@XmlRootElement @XmlRootElement
@ -41,20 +41,19 @@ public class MchPayRequest extends PayRequest {
} }
public MchPayRequest(PrePay prePay) { public MchPayRequest(PrePay prePay) {
this(prePay.getAppId(), prePay.getPrepayId()); this.setAppId(prePay.getAppId());
this.setPackageInfo("prepay_id=" + prePay.getPrepayId());
this.prePay = prePay; this.prePay = prePay;
} }
public MchPayRequest(String appId, String prepayId) { public MchPayRequest(String appId, String prepayId) {
this.setAppId(appId); this.setAppId(appId);
this.setPackageInfo("prepay_id=" + prePay.getPrepayId()); this.setPackageInfo("prepay_id=" + prepayId);
this.prePay = new PrePay();
this.prePay.setAppId(appId);
this.prePay.setPrepayId(prepayId);
} }
/**
* 注意MchPayRequest(String appId, String prepayId) 构造时 为空
*
* @return 预支付对象
*/
public PrePay getPrePay() { public PrePay getPrePay() {
return prePay; return prePay;
} }
@ -69,5 +68,4 @@ public class MchPayRequest extends PayRequest {
public String toString() { public String toString() {
return "MchPayRequest [" + super.toString() + "]"; return "MchPayRequest [" + super.toString() + "]";
} }
} }

View File

@ -11,7 +11,7 @@ import javax.xml.bind.annotation.XmlRootElement;
* @className PayNativeNotify * @className PayNativeNotify
* @author jy * @author jy
* @date 2014年10月30日 * @date 2014年10月30日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
@XmlRootElement @XmlRootElement

View File

@ -17,7 +17,7 @@ import com.foxinmy.weixin4j.util.RandomUtil;
* @className NativePayResponseV3 * @className NativePayResponseV3
* @author jy * @author jy
* @date 2014年10月28日 * @date 2014年10月28日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
@XmlRootElement @XmlRootElement

View File

@ -23,7 +23,7 @@ import com.foxinmy.weixin4j.xml.ListsuffixResult;
* @className Order * @className Order
* @author jy * @author jy
* @date 2014年11月2日 * @date 2014年11月2日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
@XmlRootElement @XmlRootElement

View File

@ -13,7 +13,7 @@ import com.foxinmy.weixin4j.type.TradeType;
* @className PrePay * @className PrePay
* @author jy * @author jy
* @date 2014年10月21日 * @date 2014年10月21日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
@XmlRootElement @XmlRootElement

View File

@ -16,7 +16,7 @@ import com.foxinmy.weixin4j.util.DateUtil;
* @className Redpacket * @className Redpacket
* @author jy * @author jy
* @date 2015年3月28日 * @date 2015年3月28日
* @since JDK 1.7 * @since JDK 1.6
* @see <a * @see <a
* href="http://pay.weixin.qq.com/wiki/doc/api/cash_coupon.php?chapter=13_1">红包简介</a> * href="http://pay.weixin.qq.com/wiki/doc/api/cash_coupon.php?chapter=13_1">红包简介</a>
*/ */

View File

@ -23,7 +23,7 @@ import com.foxinmy.weixin4j.util.DateUtil;
* @className RedpacketRecord * @className RedpacketRecord
* @author jy * @author jy
* @date 2015年6月4日 * @date 2015年6月4日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
@XmlRootElement @XmlRootElement

View File

@ -14,7 +14,7 @@ import com.foxinmy.weixin4j.http.weixin.XmlResult;
* @className RedpacketSendResult * @className RedpacketSendResult
* @author jy * @author jy
* @date 2015年4月1日 * @date 2015年4月1日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
@XmlRootElement @XmlRootElement

View File

@ -20,7 +20,7 @@ import com.foxinmy.weixin4j.xml.ListsuffixResult;
* @className RefundDetail * @className RefundDetail
* @author jy * @author jy
* @date 2014年11月6日 * @date 2014年11月6日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
@XmlRootElement @XmlRootElement

View File

@ -17,7 +17,7 @@ import com.foxinmy.weixin4j.xml.ListsuffixResult;
* @className RefundRecord * @className RefundRecord
* @author jy * @author jy
* @date 2014年11月1日 * @date 2014年11月1日
* @since JDK 1.7 * @since JDK 1.6
*/ */
@XmlRootElement @XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD) @XmlAccessorType(XmlAccessType.FIELD)

View File

@ -13,7 +13,7 @@ import com.alibaba.fastjson.annotation.JSONField;
* @className RefundResult * @className RefundResult
* @author jy * @author jy
* @date 2014年11月6日 * @date 2014年11月6日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
@XmlRootElement @XmlRootElement

View File

@ -8,7 +8,7 @@ import com.foxinmy.weixin4j.exception.WeixinException;
* @className CacheStorager * @className CacheStorager
* @author jy * @author jy
* @date 2015年6月22日 * @date 2015年6月22日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public interface CacheStorager<T> { public interface CacheStorager<T> {

View File

@ -15,7 +15,7 @@ import com.foxinmy.weixin4j.xml.XmlStream;
* @className FileTokenStorager * @className FileTokenStorager
* @author jy * @author jy
* @date 2015年1月9日 * @date 2015年1月9日
* @since JDK 1.7 * @since JDK 1.6
*/ */
public class FileTokenStorager implements TokenStorager { public class FileTokenStorager implements TokenStorager {

View File

@ -9,7 +9,7 @@ import com.foxinmy.weixin4j.model.Token;
* @className TokenCreator * @className TokenCreator
* @author jy * @author jy
* @date 2015年1月10日 * @date 2015年1月10日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public interface TokenCreator { public interface TokenCreator {

View File

@ -9,7 +9,7 @@ import com.foxinmy.weixin4j.model.Token;
* @className TokenHolder * @className TokenHolder
* @author jy * @author jy
* @date 2015年6月12日 * @date 2015年6月12日
* @since JDK 1.7 * @since JDK 1.6
* @see TokenCreator * @see TokenCreator
* @see TokenStorager * @see TokenStorager
*/ */

View File

@ -8,7 +8,7 @@ import com.foxinmy.weixin4j.model.Token;
* @className TokenStorager * @className TokenStorager
* @author jy.hu * @author jy.hu
* @date 2014年9月27日 * @date 2014年9月27日
* @since JDK 1.7 * @since JDK 1.6
* @see com.foxinmy.weixin4j.model.Token * @see com.foxinmy.weixin4j.model.Token
* @see com.foxinmy.weixin4j.token.FileTokenStorager * @see com.foxinmy.weixin4j.token.FileTokenStorager
* @see com.foxinmy.weixin4j.token.RedisTokenStorager * @see com.foxinmy.weixin4j.token.RedisTokenStorager

View File

@ -13,7 +13,7 @@ import com.alibaba.fastjson.annotation.JSONField;
* @className Article * @className Article
* @author jy * @author jy
* @date 2014年9月29日 * @date 2014年9月29日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class Article implements Serializable { public class Article implements Serializable {

View File

@ -14,7 +14,7 @@ import com.alibaba.fastjson.annotation.JSONField;
* @className Card * @className Card
* @author jy * @author jy
* @date 2015年6月8日 * @date 2015年6月8日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class Card implements MassTuple { public class Card implements MassTuple {

View File

@ -6,7 +6,7 @@ package com.foxinmy.weixin4j.tuple;
* @className ChatTuple * @className ChatTuple
* @author jy * @author jy
* @date 2015年8月1日 * @date 2015年8月1日
* @since JDK 1.7 * @since JDK 1.6
* @see com.foxinmy.weixin4j.tuple.Text * @see com.foxinmy.weixin4j.tuple.Text
* @see com.foxinmy.weixin4j.tuple.Image * @see com.foxinmy.weixin4j.tuple.Image
* @see com.foxinmy.weixin4j.tuple.File * @see com.foxinmy.weixin4j.tuple.File

View File

@ -14,7 +14,7 @@ import com.alibaba.fastjson.annotation.JSONField;
* @className File * @className File
* @author jy * @author jy
* @date 2014年11月21日 * @date 2014年11月21日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class File implements NotifyTuple, ChatTuple { public class File implements NotifyTuple, ChatTuple {

View File

@ -14,7 +14,7 @@ import com.alibaba.fastjson.annotation.JSONField;
* @className Image * @className Image
* @author jy * @author jy
* @date 2014年9月29日 * @date 2014年9月29日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class Image implements MassTuple, NotifyTuple, ChatTuple { public class Image implements MassTuple, NotifyTuple, ChatTuple {

View File

@ -7,7 +7,7 @@ package com.foxinmy.weixin4j.tuple;
* @className MassTuple * @className MassTuple
* @author jy * @author jy
* @date 2014年11月22日 * @date 2014年11月22日
* @since JDK 1.7 * @since JDK 1.6
* @see com.foxinmy.weixin4j.tuple.Text * @see com.foxinmy.weixin4j.tuple.Text
* @see com.foxinmy.weixin4j.tuple.Image * @see com.foxinmy.weixin4j.tuple.Image
* @see com.foxinmy.weixin4j.tuple.Voice * @see com.foxinmy.weixin4j.tuple.Voice

View File

@ -10,7 +10,7 @@ import com.alibaba.fastjson.annotation.JSONField;
* *
* @author jy.hu * @author jy.hu
* @date 2014年4月26日 * @date 2014年4月26日
* @since JDK 1.7 * @since JDK 1.6
*/ */
public class MpArticle implements Serializable { public class MpArticle implements Serializable {

View File

@ -18,7 +18,7 @@ import com.alibaba.fastjson.annotation.JSONField;
* @className MpNews * @className MpNews
* @author jy * @author jy
* @date 2014年9月29日 * @date 2014年9月29日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class MpNews implements MassTuple, NotifyTuple { public class MpNews implements MassTuple, NotifyTuple {

View File

@ -14,7 +14,7 @@ import com.alibaba.fastjson.annotation.JSONField;
* @className MpVideo * @className MpVideo
* @author jy * @author jy
* @date 2014年9月29日 * @date 2014年9月29日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class MpVideo implements MassTuple { public class MpVideo implements MassTuple {

View File

@ -13,7 +13,7 @@ import com.alibaba.fastjson.annotation.JSONField;
* @className Music * @className Music
* @author jy * @author jy
* @date 2014年9月29日 * @date 2014年9月29日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class Music implements NotifyTuple { public class Music implements NotifyTuple {

View File

@ -17,7 +17,7 @@ import com.alibaba.fastjson.annotation.JSONField;
* @className News * @className News
* @author jy * @author jy
* @date 2014年11月21日 * @date 2014年11月21日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class News implements NotifyTuple { public class News implements NotifyTuple {

View File

@ -6,7 +6,7 @@ package com.foxinmy.weixin4j.tuple;
* @className NotifyTuple * @className NotifyTuple
* @author jy * @author jy
* @date 2014年11月22日 * @date 2014年11月22日
* @since JDK 1.7 * @since JDK 1.6
* @see com.foxinmy.weixin4j.tuple.Text * @see com.foxinmy.weixin4j.tuple.Text
* @see com.foxinmy.weixin4j.tuple.Image * @see com.foxinmy.weixin4j.tuple.Image
* @see com.foxinmy.weixin4j.tuple.Voice * @see com.foxinmy.weixin4j.tuple.Voice

View File

@ -12,7 +12,7 @@ import com.alibaba.fastjson.annotation.JSONField;
* @className Text * @className Text
* @author jy * @author jy
* @date 2014年9月29日 * @date 2014年9月29日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class Text implements MassTuple, NotifyTuple, ChatTuple { public class Text implements MassTuple, NotifyTuple, ChatTuple {

View File

@ -10,7 +10,7 @@ import javax.xml.bind.annotation.XmlTransient;
* @className Tuple * @className Tuple
* @author jy * @author jy
* @date 2015年4月19日 * @date 2015年4月19日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public interface Tuple extends Serializable { public interface Tuple extends Serializable {

View File

@ -15,7 +15,7 @@ import com.alibaba.fastjson.annotation.JSONField;
* @className Video * @className Video
* @author jy * @author jy
* @date 2014年9月29日 * @date 2014年9月29日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class Video implements NotifyTuple { public class Video implements NotifyTuple {

View File

@ -12,7 +12,7 @@ import com.alibaba.fastjson.annotation.JSONField;
* @className Voice * @className Voice
* @author jy * @author jy
* @date 2014年9月29日 * @date 2014年9月29日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public class Voice extends Image implements NotifyTuple { public class Voice extends Image implements NotifyTuple {

View File

@ -7,7 +7,7 @@ package com.foxinmy.weixin4j.type;
* @className BankType * @className BankType
* @author jy * @author jy
* @date 2015年8月19日 * @date 2015年8月19日
* @since JDK 1.7 * @since JDK 1.6
* @see * @see
*/ */
public enum BankType { public enum BankType {

Some files were not shown because too many files have changed in this diff Show More