erzhongxmu 2023-12-27 20:12:20 +08:00
parent 2461ae983c
commit 020e2d22ce
1 changed files with 3 additions and 3 deletions

View File

@ -89,7 +89,7 @@ public class wmBaseController extends BaseController {
String imgurl = localPath + File.separator + dbpath; String imgurl = localPath + File.separator + dbpath;
BarcodeUtil.generateFile(qrvalue, imgurl); BarcodeUtil.generateFile(qrvalue, imgurl);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
} }
if ("1".equals(flag)) { if ("1".equals(flag)) {
response.setContentType("application/x-msdownload;charset=utf-8"); response.setContentType("application/x-msdownload;charset=utf-8");
@ -148,7 +148,7 @@ e.printStackTrace();
String imgurl = localPath + File.separator + dbpath; String imgurl = localPath + File.separator + dbpath;
QRcodeUtil.encode(qrvalue, imgurl); QRcodeUtil.encode(qrvalue, imgurl);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
} }
if ("1".equals(flag)) { if ("1".equals(flag)) {
response.setContentType("application/x-msdownload;charset=utf-8"); response.setContentType("application/x-msdownload;charset=utf-8");