public class MerchantMediaServiceImpl extends Object implements MerchantMediaService
构造器和说明 |
---|
MerchantMediaServiceImpl() |
限定符和类型 | 方法和说明 |
---|---|
ImageUploadResult |
imageUploadV3(File imageFile)
通用接口-图片上传API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/tool/chapter3_1.shtml
接口链接:https://api.mch.weixin.qq.com/v3/merchant/media/upload
|
ImageUploadResult |
imageUploadV3(InputStream inputStream,
String fileName)
通用接口-图片上传API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/tool/chapter3_1.shtml
接口链接:https://api.mch.weixin.qq.com/v3/merchant/media/upload
|
public ImageUploadResult imageUploadV3(File imageFile) throws WxPayException, IOException
MerchantMediaService
通用接口-图片上传API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/tool/chapter3_1.shtml 接口链接:https://api.mch.weixin.qq.com/v3/merchant/media/upload
imageUploadV3
在接口中 MerchantMediaService
imageFile
- 需要上传的图片文件WxPayException
- the wx pay exceptionIOException
public ImageUploadResult imageUploadV3(InputStream inputStream, String fileName) throws WxPayException, IOException
MerchantMediaService
通用接口-图片上传API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/tool/chapter3_1.shtml 接口链接:https://api.mch.weixin.qq.com/v3/merchant/media/upload
imageUploadV3
在接口中 MerchantMediaService
inputStream
- 需要上传的图片文件流fileName
- 需要上传的图片文件名WxPayException
- the wx pay exceptionIOException
Copyright © 2023. All rights reserved.