mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-03-10 00:13:40 +08:00
批量格式化代码
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user