🆕 #1915 【企业微信】发送应用消息接口增加是否开启重复消息检查等字段

This commit is contained in:
Binary Wang
2020-12-21 01:02:32 +08:00
parent 155501152a
commit a2448d5179
2 changed files with 76 additions and 26 deletions

View File

@ -22,6 +22,8 @@ public interface WxMpQrcodeService {
*
* @param sceneId 场景值ID临时二维码时为32位非0整型
* @param expireSeconds 该二维码有效时间,以秒为单位。 最大不超过2592000即30天此字段如果不填则默认有效期为30秒。
* @return the wx mp qr code ticket
* @throws WxErrorException the wx error exception
*/
WxMpQrCodeTicket qrCodeCreateTmpTicket(int sceneId, Integer expireSeconds) throws WxErrorException;
@ -34,6 +36,8 @@ public interface WxMpQrcodeService {
*
* @param sceneStr 场景值ID字符串形式的ID字符串类型长度限制为1到64
* @param expireSeconds 该二维码有效时间,以秒为单位。 最大不超过2592000即30天此字段如果不填则默认有效期为30秒。
* @return the wx mp qr code ticket
* @throws WxErrorException the wx error exception
*/
WxMpQrCodeTicket qrCodeCreateTmpTicket(String sceneStr, Integer expireSeconds) throws WxErrorException;
@ -44,6 +48,8 @@ public interface WxMpQrcodeService {
* </pre>
*
* @param sceneId 场景值ID最大值为100000目前参数只支持1--100000
* @return the wx mp qr code ticket
* @throws WxErrorException the wx error exception
*/
WxMpQrCodeTicket qrCodeCreateLastTicket(int sceneId) throws WxErrorException;
@ -54,6 +60,8 @@ public interface WxMpQrcodeService {
* </pre>
*
* @param sceneStr 参数。字符串类型长度现在为1到64
* @return the wx mp qr code ticket
* @throws WxErrorException the wx error exception
*/
WxMpQrCodeTicket qrCodeCreateLastTicket(String sceneStr) throws WxErrorException;
@ -64,6 +72,8 @@ public interface WxMpQrcodeService {
* </pre>
*
* @param ticket 二维码ticket
* @return the file
* @throws WxErrorException the wx error exception
*/
File qrCodePicture(WxMpQrCodeTicket ticket) throws WxErrorException;
@ -75,6 +85,8 @@ public interface WxMpQrcodeService {
*
* @param ticket 二维码ticket
* @param needShortUrl 是否需要压缩的二维码地址
* @return the string
* @throws WxErrorException the wx error exception
*/
String qrCodePictureUrl(String ticket, boolean needShortUrl) throws WxErrorException;
@ -85,6 +97,8 @@ public interface WxMpQrcodeService {
* </pre>
*
* @param ticket 二维码ticket
* @return the string
* @throws WxErrorException the wx error exception
*/
String qrCodePictureUrl(String ticket) throws WxErrorException;