Class QrApi


  • public class QrApi
    extends MpApi
    二维码相关API
    Since:
    JDK 1.6
    Author:
    jinyu(foxinmy@gmail.com)
    • Field Summary

      • Fields inherited from class com.foxinmy.weixin4j.api.BaseApi

        weixinExecutor
    • Constructor Summary

      Constructors 
      Constructor Description
      QrApi​(com.foxinmy.weixin4j.token.TokenManager tokenManager)  
    • Constructor Detail

      • QrApi

        public QrApi​(com.foxinmy.weixin4j.token.TokenManager tokenManager)
    • Method Detail

      • createQR

        public com.foxinmy.weixin4j.model.qr.QRResult createQR​(com.foxinmy.weixin4j.model.qr.QRParameter parameter)
                                                        throws com.foxinmy.weixin4j.exception.WeixinException
        生成带参数的二维码
        Parameters:
        parameter - 二维码参数
        Returns:
        二维码结果对象
        Throws:
        com.foxinmy.weixin4j.exception.WeixinException
        See Also:
        QRResult, QRParameter, 生成二维码