master
parent
2461ae983c
commit
020e2d22ce
|
@ -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");
|
||||||
|
|
Loading…
Reference in New Issue