FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

支付通知解密数据对象增加字段 by mr-xiaoyu · Pull Request #2106 · binarywang/WxJava · GitHub

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .java  (3) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,13 @@ WxMediaUploadResult upload(String mediaType, String fileType, InputStream inputS
*
* @param mediaType 媒体类型
* @param file 文件对象
* @param corpId 授权企业的corpid
* @see #upload(String, String, InputStream, String)
* @throws WxErrorException 异常信息
*/
WxMediaUploadResult upload(String mediaType, File file, String corpId) throws WxErrorException;


/**
* <pre>
* 上传图片.
Expand All @@ -52,9 +55,10 @@ WxMediaUploadResult upload(String mediaType, String fileType, InputStream inputS
* 每个企业每天最多可上传100张图片
* 接口url格式:https://qyapi.weixin.qq.com/cgi-bin/media/uploadimg?access_token=ACCESS_TOKEN
* </pre>
*
* @param file 上传的文件对象
* @param corpId 授权企业的corpid
* @return 返回图片url
* @throws WxErrorException 异常信息
*/
String uploadImg(File file, String corpId) throws WxErrorException;
}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public WxMediaUploadResult upload(String mediaType, File file, String corpId) th
@Override
public String uploadImg(File file, String corpId) throws WxErrorException {
String url = mainService.getWxCpTpConfigStorage().getApiUrl(IMG_UPLOAD);
url += "&access_token=" + mainService.getWxCpTpConfigStorage().getAccessToken(corpId);
url += "?access_token=" + mainService.getWxCpTpConfigStorage().getAccessToken(corpId);
return this.mainService.execute(MediaUploadRequestExecutor.create(this.mainService.getRequestHttp()), url, file)
.getUrl();
}
Expand Down
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,22 @@ public class PartnerTransactionsResult implements Serializable {

/**
* <pre>
* 字段名:+支付者
* 字段名:支付者信息
* 变量名:payer
* 是否必填:是
* 类型:object
* 描述:基础支付支付者信息
* </pre>
*/
private CombinePayerInfo payer;

/**
* <pre>
* 字段名:支付者
* 变量名:combine_payer_info
* 是否必填:否
* 类型:object
* 描述:示例值:见请求示例
* 描述:合单支付支付者信息,示例值:见请求示例
* </pre>
*/
@SerializedName(value = "combine_payer_info")
Expand Down

Back | FazBrowse Home | New Git URL