public static int createQRCode(String content, String imgPath,String logo) {
try {
Qrcode qrcodeHandler = new Qrcode();
qrcodeHandler.setQrcodeErrorCorrect('M');
qrcodeHandler.setQrcodeEncodeMode('B');
qrcodeHandler.setQrcodeVersion(7);
// System.out.println(content);
byte[] contentBytes = content.getBytes("gb2312");
//构造一