批量格式化代码

This commit is contained in:
Binary Wang
2017-05-11 17:07:08 +08:00
parent 5f887739a3
commit 8982cf8471
223 changed files with 2425 additions and 2793 deletions

View File

@@ -288,6 +288,7 @@ public interface WxPayService {
* 接口地址https://api.mch.weixin.qq.com/tools/shorturl
* 是否需要证书:否
* </pre>
*
* @param request 请求对象
*/
String shorturl(WxPayShorturlRequest request) throws WxErrorException;
@@ -296,8 +297,9 @@ public interface WxPayService {
* <pre>
* 转换短链接
* </pre>
* @see WxPayService#shorturl(WxPayShorturlRequest)
*
* @param longUrl 需要被压缩的网址
* @see WxPayService#shorturl(WxPayShorturlRequest)
*/
String shorturl(String longUrl) throws WxErrorException;
@@ -310,6 +312,7 @@ public interface WxPayService {
* 接口链接:
* https://api.mch.weixin.qq.com/tools/authcodetoopenid
* </pre>
*
* @param request 请求对象
* @return openid
*/
@@ -319,9 +322,10 @@ public interface WxPayService {
* <pre>
* 授权码查询OPENID接口
* </pre>
* @see WxPayService#authcode2Openid(WxPayAuthcode2OpenidRequest)
*
* @param authCode 授权码
* @return openid
* @see WxPayService#authcode2Openid(WxPayAuthcode2OpenidRequest)
*/
String authcode2Openid(String authCode) throws WxErrorException;
}

View File

@@ -17,11 +17,11 @@ import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.net.ssl.SSLContext;
import java.io.File;
import java.io.UnsupportedEncodingException;
import java.util.HashMap;
import java.util.Map;
import javax.net.ssl.SSLContext;
/**
* Created by Binary Wang on 2016/7/28.