From c52f83ef5f702b3c178881d3eee72267c77e7751 Mon Sep 17 00:00:00 2001 From: zhibing.pu <393733352@qq.com> Date: 星期三, 24 七月 2024 17:26:46 +0800 Subject: [PATCH] Merge branch '2.0' of http://120.76.84.145:10101/gitblit/r/java/PlayPai into 2.0 --- cloud-server-management/src/main/java/com/dsh/guns/modular/system/util/QRCodeUtils.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cloud-server-management/src/main/java/com/dsh/guns/modular/system/util/QRCodeUtils.java b/cloud-server-management/src/main/java/com/dsh/guns/modular/system/util/QRCodeUtils.java index 9b23d82..c7c01b3 100644 --- a/cloud-server-management/src/main/java/com/dsh/guns/modular/system/util/QRCodeUtils.java +++ b/cloud-server-management/src/main/java/com/dsh/guns/modular/system/util/QRCodeUtils.java @@ -263,10 +263,10 @@ return QRCodeUtils.decode(new File(path)); } - public static void main(String[] args) throws Exception { - String text = "http://www.baidu.com"; //这里设置自定义网站url - String logoPath = "C:\\Users\\admin\\Desktop\\test\\test.jpg"; - String destPath = "C:\\Users\\admin\\Desktop\\test\\"; - logger.debug(QRCodeUtils.encode(text, "test", logoPath, destPath, true)); - } +// public static void main(String[] args) throws Exception { +// String text = "http://www.baidu.com"; //这里设置自定义网站url +// String logoPath = "C:\\Users\\admin\\Desktop\\test\\test.jpg"; +// String destPath = "C:\\Users\\admin\\Desktop\\test\\"; +// logger.debug(QRCodeUtils.encode(text, "test", logoPath, destPath, true)); +// } } -- Gitblit v1.7.1