public interface WxMpQrcodeService
二维码相关操作接口 文档地址:https://mp.weixin.qq.com/wiki?action=doc&id=mp1443433542&t=0.9274944716856435
WxMpQrCodeTicket
qrCodeCreateLastTicket(int sceneId)
qrCodeCreateLastTicket(String sceneStr)
qrCodeCreateTmpTicket(int sceneId, Integer expireSeconds)
qrCodeCreateTmpTicket(String sceneStr, Integer expireSeconds)
File
qrCodePicture(WxMpQrCodeTicket ticket)
String
qrCodePictureUrl(String ticket)
qrCodePictureUrl(String ticket, boolean needShortUrl)
WxMpQrCodeTicket qrCodeCreateTmpTicket(int sceneId, Integer expireSeconds) throws WxErrorException
换取临时二维码ticket 详情请见: 生成带参数的二维码
sceneId
expireSeconds
WxErrorException
WxMpQrCodeTicket qrCodeCreateTmpTicket(String sceneStr, Integer expireSeconds) throws WxErrorException
sceneStr
WxMpQrCodeTicket qrCodeCreateLastTicket(int sceneId) throws WxErrorException
换取永久二维码ticket 详情请见: 生成带参数的二维码
WxMpQrCodeTicket qrCodeCreateLastTicket(String sceneStr) throws WxErrorException
换取永久字符串二维码ticket 详情请见: 生成带参数的二维码
File qrCodePicture(WxMpQrCodeTicket ticket) throws WxErrorException
换取二维码图片文件,jpg格式 详情请见: 生成带参数的二维码
ticket
String qrCodePictureUrl(String ticket, boolean needShortUrl) throws WxErrorException
换取二维码图片url地址(可以选择是否生成压缩的网址) 详情请见: 生成带参数的二维码
needShortUrl
String qrCodePictureUrl(String ticket) throws WxErrorException
换取二维码图片url地址 详情请见: 生成带参数的二维码
Copyright © 2018. All rights reserved.