mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-08-23 22:11:40 +08:00
规范部分javadoc
This commit is contained in:
parent
e34f6de775
commit
5358d68fff
@ -94,7 +94,8 @@ public interface WxMpService {
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* 上传多媒体文件
|
||||
* 新增临时素材
|
||||
* 本接口即为原“上传多媒体文件”接口。
|
||||
*
|
||||
* 上传的多媒体文件有格式和大小限制,如下:
|
||||
* 图片(image): 1M,支持JPG格式
|
||||
@ -102,7 +103,7 @@ public interface WxMpService {
|
||||
* 视频(video):10MB,支持MP4格式
|
||||
* 缩略图(thumb):64KB,支持JPG格式
|
||||
*
|
||||
* 详情请见: http://mp.weixin.qq.com/wiki/index.php?title=上传下载多媒体文件
|
||||
* 详情请见: <a href="http://mp.weixin.qq.com/wiki/15/2d353966323806a202cd2deaafe8e557.html">新增临时素材</a>
|
||||
* </pre>
|
||||
* @param mediaType 媒体类型, 请看{@link me.chanjar.weixin.common.api.WxConsts}
|
||||
* @param fileType 文件类型,请看{@link me.chanjar.weixin.common.api.WxConsts}
|
||||
@ -241,6 +242,7 @@ public interface WxMpService {
|
||||
public WxMpMaterialFileBatchGetResult materialFileBatchGet(String type, int offset, int count) throws WxErrorException;
|
||||
|
||||
/**
|
||||
* 新增临时素材
|
||||
* @see #mediaUpload(String, String, InputStream)
|
||||
* @param mediaType
|
||||
* @param file
|
||||
@ -250,9 +252,10 @@ public interface WxMpService {
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* 下载多媒体文件
|
||||
* 获取临时素材
|
||||
* 本接口即为原“下载多媒体文件”接口。
|
||||
* 根据微信文档,视频文件下载不了,会返回null
|
||||
* 详情请见: http://mp.weixin.qq.com/wiki/index.php?title=上传下载多媒体文件
|
||||
* 详情请见: <a href="http://mp.weixin.qq.com/wiki/9/677a85e3f3849af35de54bb5516c2521.html">获取临时素材</a>
|
||||
* </pre>
|
||||
* @params media_id
|
||||
* @return 保存到本地的临时文件
|
||||
@ -465,7 +468,7 @@ public interface WxMpService {
|
||||
/**
|
||||
* <pre>
|
||||
* 换取临时二维码ticket
|
||||
* 详情请见: http://mp.weixin.qq.com/wiki/index.php?title=生成带参数的二维码
|
||||
* 详情请见: <a href="http://mp.weixin.qq.com/wiki/18/167e7d94df85d8389df6c94a7a8f78ba.html">生成带参数的二维码</a>
|
||||
* </pre>
|
||||
* @param scene_id 参数。
|
||||
* @param expire_seconds 过期秒数,默认60秒,最小60秒,最大1800秒
|
||||
@ -477,7 +480,7 @@ public interface WxMpService {
|
||||
/**
|
||||
* <pre>
|
||||
* 换取永久二维码ticket
|
||||
* 详情请见: http://mp.weixin.qq.com/wiki/index.php?title=生成带参数的二维码
|
||||
* 详情请见: <a href="http://mp.weixin.qq.com/wiki/18/167e7d94df85d8389df6c94a7a8f78ba.html">生成带参数的二维码</a>
|
||||
* </pre>
|
||||
* @param scene_id 参数。永久二维码时最大值为100000(目前参数只支持1--100000)
|
||||
* @return
|
||||
@ -488,7 +491,7 @@ public interface WxMpService {
|
||||
/**
|
||||
* <pre>
|
||||
* 换取永久字符串二维码ticket
|
||||
* 详情请见: http://mp.weixin.qq.com/wiki/index.php?title=生成带参数的二维码
|
||||
* 详情请见: <a href="http://mp.weixin.qq.com/wiki/18/167e7d94df85d8389df6c94a7a8f78ba.html">生成带参数的二维码</a>
|
||||
* </pre>
|
||||
*
|
||||
* @param scene_str 参数。字符串类型长度现在为1到64
|
||||
@ -500,7 +503,7 @@ public interface WxMpService {
|
||||
/**
|
||||
* <pre>
|
||||
* 换取二维码图片文件,jpg格式
|
||||
* 详情请见: http://mp.weixin.qq.com/wiki/index.php?title=生成带参数的二维码
|
||||
* 详情请见: <a href="http://mp.weixin.qq.com/wiki/18/167e7d94df85d8389df6c94a7a8f78ba.html">生成带参数的二维码</a>
|
||||
* </pre>
|
||||
* @param ticket 二维码ticket
|
||||
* @return
|
||||
@ -511,7 +514,7 @@ public interface WxMpService {
|
||||
/**
|
||||
* <pre>
|
||||
* 换取二维码图片url地址
|
||||
* 详情请见: http://mp.weixin.qq.com/wiki/index.php?title=生成带参数的二维码
|
||||
* 详情请见: <a href="http://mp.weixin.qq.com/wiki/18/167e7d94df85d8389df6c94a7a8f78ba.html">生成带参数的二维码</a>
|
||||
* </pre>
|
||||
* @param ticket 二维码ticket
|
||||
* @return
|
||||
@ -775,7 +778,6 @@ public interface WxMpService {
|
||||
@Deprecated
|
||||
Map<String, String> getJsapiPayInfo(String openId, String outTradeNo, double amt, String body, String ip, String notifyUrl) throws WxErrorException;
|
||||
|
||||
|
||||
/**
|
||||
* 该接口提供所有微信支付订单的查询,当支付通知处理异常戒丢失的情冴,商户可以通过该接口查询订单支付状态。
|
||||
* 详见http://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=9_2
|
||||
|
Loading…
Reference in New Issue
Block a user