From 2b9dd95a59836284b5df6d49de247354b340e8a0 Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期四, 18 九月 2025 15:47:41 +0800 Subject: [PATCH] bug修改 --- cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/system/BallController.java | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/system/BallController.java b/cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/system/BallController.java index d31e0c6..479dd69 100644 --- a/cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/system/BallController.java +++ b/cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/system/BallController.java @@ -551,14 +551,14 @@ return null; } - public static void main(String[] args) throws Exception { - String blueS = "{\"vipDetail\":1,role\":1,\"time\":[{\"start_time\":\"2025-08-25 09:00:00\",\"end_time\":\"2025-08-30 23:00:00\"}]}"; - MyQrCodeUtil.createCodeToFile(blueS); - BufferedImage blueImage = QRCodeUtil.createImage(blueS); - MultipartFile blueFile = convert(blueImage, new Date().getTime() + UUIDUtil.getRandomCode(3) + ".PNG"); - String s = OssUploadUtil.ossUpload("img/", blueFile); - System.err.println(s); - } +// public static void main(String[] args) throws Exception { +// String blueS = "{\"vipDetail\":1,role\":1,\"time\":[{\"start_time\":\"2025-08-25 09:00:00\",\"end_time\":\"2025-08-30 23:00:00\"}]}"; +// MyQrCodeUtil.createCodeToFile(blueS); +// BufferedImage blueImage = QRCodeUtil.createImage(blueS); +// MultipartFile blueFile = convert(blueImage, new Date().getTime() + UUIDUtil.getRandomCode(3) + ".PNG"); +// String s = OssUploadUtil.ossUpload("img/", blueFile); +// System.err.println(s); +// } @RequestMapping("/pre_add") public String add(Model model) { -- Gitblit v1.7.1