类 UQRCode

java.lang.Object
com.gdxsoft.easyweb.utils.UQRCode

public class UQRCode extends Object
  • 构造器详细资料

    • UQRCode

      public UQRCode()
  • 方法详细资料

    • createQRCodeBufImg

      public static BufferedImage createQRCodeBufImg(String msg, int width)
    • createQRCode

      public static byte[] createQRCode(String msg, int width, File logoFile) throws IOException
      创建带logo的二维码
      参数:
      msg -
      width -
      logoFile -
      返回:
      抛出:
      IOException
    • createQRCode

      public static byte[] createQRCode(String msg, int width, byte[] logoBytes) throws IOException
      创建带logo的二维码
      参数:
      msg -
      width -
      logoBytes - logo文件的二进制
      返回:
      抛出:
      IOException
    • createQRCode

      public static byte[] createQRCode(String msg)
    • createQRCode

      public static byte[] createQRCode(String msg, int width)
    • getQRCodeSavedPath

      public static String[] getQRCodeSavedPath(String paras, String ext)
      获取
      参数:
      ext -
      md5 -
      返回:
      二维数组,0 物理文件,1 url