7
7
8
8
/**
9
9
* 二维码相关操作接口
10
- *
10
+ * 文档地址:https://mp.weixin.qq.com/wiki?action=doc&id=mp1443433542&t=0.9274944716856435
11
11
* @author Binary Wang
12
12
*/
13
13
public interface WxMpQrcodeService {
14
14
15
15
/**
16
16
* <pre>
17
17
* 换取临时二维码ticket
18
- * 详情请见: <a href="http ://mp.weixin.qq.com/wiki/18/167e7d94df85d8389df6c94a7a8f78ba.html ">生成带参数的二维码</a>
18
+ * 详情请见: <a href="https ://mp.weixin.qq.com/wiki?action=doc&id=mp1443433542&t=0.9274944716856435 ">生成带参数的二维码</a>
19
19
* </pre>
20
20
*
21
- * @param sceneId 参数。
22
- * @param expireSeconds 过期秒数,默认60秒,最小60秒,最大1800秒
21
+ * @param sceneId 场景值ID,临时二维码时为32位非0整型
22
+ * @param expireSeconds 该二维码有效时间,以秒为单位。 最大不超过2592000(即30天),此字段如果不填,则默认有效期为30秒。
23
23
*/
24
24
WxMpQrCodeTicket qrCodeCreateTmpTicket (int sceneId , Integer expireSeconds ) throws WxErrorException ;
25
25
26
26
/**
27
27
* <pre>
28
28
* 换取永久二维码ticket
29
- * 详情请见: <a href="http ://mp.weixin.qq.com/wiki/18/167e7d94df85d8389df6c94a7a8f78ba.html ">生成带参数的二维码</a>
29
+ * 详情请见: <a href="https ://mp.weixin.qq.com/wiki?action=doc&id=mp1443433542&t=0.9274944716856435 ">生成带参数的二维码</a>
30
30
* </pre>
31
31
*
32
- * @param sceneId 参数。永久二维码时最大值为100000 (目前参数只支持1--100000)
32
+ * @param sceneId 场景值ID,最大值为100000 (目前参数只支持1--100000)
33
33
*/
34
34
WxMpQrCodeTicket qrCodeCreateLastTicket (int sceneId ) throws WxErrorException ;
35
35
36
36
/**
37
37
* <pre>
38
38
* 换取永久字符串二维码ticket
39
- * 详情请见: <a href="http ://mp.weixin.qq.com/wiki/18/167e7d94df85d8389df6c94a7a8f78ba.html ">生成带参数的二维码</a>
39
+ * 详情请见: <a href="https ://mp.weixin.qq.com/wiki?action=doc&id=mp1443433542&t=0.9274944716856435 ">生成带参数的二维码</a>
40
40
* </pre>
41
41
*
42
42
* @param sceneStr 参数。字符串类型长度现在为1到64
@@ -46,7 +46,7 @@ public interface WxMpQrcodeService {
46
46
/**
47
47
* <pre>
48
48
* 换取二维码图片文件,jpg格式
49
- * 详情请见: <a href="http ://mp.weixin.qq.com/wiki/18/167e7d94df85d8389df6c94a7a8f78ba.html ">生成带参数的二维码</a>
49
+ * 详情请见: <a href="https ://mp.weixin.qq.com/wiki?action=doc&id=mp1443433542&t=0.9274944716856435 ">生成带参数的二维码</a>
50
50
* </pre>
51
51
*
52
52
* @param ticket 二维码ticket
@@ -56,7 +56,7 @@ public interface WxMpQrcodeService {
56
56
/**
57
57
* <pre>
58
58
* 换取二维码图片url地址(可以选择是否生成压缩的网址)
59
- * 详情请见: <a href="http ://mp.weixin.qq.com/wiki/18/167e7d94df85d8389df6c94a7a8f78ba.html ">生成带参数的二维码</a>
59
+ * 详情请见: <a href="https ://mp.weixin.qq.com/wiki?action=doc&id=mp1443433542&t=0.9274944716856435 ">生成带参数的二维码</a>
60
60
* </pre>
61
61
*
62
62
* @param ticket 二维码ticket
@@ -67,7 +67,7 @@ public interface WxMpQrcodeService {
67
67
/**
68
68
* <pre>
69
69
* 换取二维码图片url地址
70
- * 详情请见: <a href="http ://mp.weixin.qq.com/wiki/18/167e7d94df85d8389df6c94a7a8f78ba.html ">生成带参数的二维码</a>
70
+ * 详情请见: <a href="https ://mp.weixin.qq.com/wiki?action=doc&id=mp1443433542&t=0.9274944716856435 ">生成带参数的二维码</a>
71
71
* </pre>
72
72
*
73
73
* @param ticket 二维码ticket
0 commit comments