public interface MarketingMediaService
微信支付营销专用媒体接口.
限定符和类型 | 方法和说明 |
---|---|
MarketingImageUploadResult |
imageUploadV3(File imageFile)
营销专用接口-图片上传API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_0_1.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/media/image-upload
|
MarketingImageUploadResult |
imageUploadV3(InputStream inputStream,
String fileName)
营销专用接口-图片上传API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_0_1.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/media/image-upload
|
MarketingImageUploadResult imageUploadV3(File imageFile) throws WxPayException, IOException
营销专用接口-图片上传API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_0_1.shtml 接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/media/image-upload
imageFile
- 需要上传的图片文件WxPayException
- the wx pay exceptionIOException
MarketingImageUploadResult imageUploadV3(InputStream inputStream, String fileName) throws WxPayException, IOException
营销专用接口-图片上传API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_0_1.shtml 接口链接:https://api.mch.weixin.qq.com/v3/marketing/favor/media/image-upload
inputStream
- 需要上传的图片文件流fileName
- 需要上传的图片文件名WxPayException
- the wx pay exceptionIOException
Copyright © 2023. All rights reserved.