From dc8cbb43a8c8062ba3619c76713ca72a04ae8ab1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Tue, 7 Apr 2026 22:21:58 +0800 Subject: [PATCH] =?UTF-8?q?fix(qrLogin):=20=E8=B0=83=E6=95=B4=E4=BA=8C?= =?UTF-8?q?=E7=BB=B4=E7=A0=81=E9=A2=9C=E8=89=B2=E9=85=8D=E7=BD=AE=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将二维码自动颜色配置改为启用(auto_color设为true) - 注释掉手动设置二维码颜色的代码段 - 保持其他二维码参数配置不变 - 优化二维码生成逻辑,避免颜色冲突问题 --- .../com/gxwebsoft/auto/service/impl/QrLoginServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gxwebsoft/auto/service/impl/QrLoginServiceImpl.java b/src/main/java/com/gxwebsoft/auto/service/impl/QrLoginServiceImpl.java index 488d3f7..704f127 100644 --- a/src/main/java/com/gxwebsoft/auto/service/impl/QrLoginServiceImpl.java +++ b/src/main/java/com/gxwebsoft/auto/service/impl/QrLoginServiceImpl.java @@ -144,7 +144,7 @@ public class QrLoginServiceImpl implements QrLoginService { params.put("page", "passport/qr-confirm/index"); // 小程序确认页面路径(子包) params.put("env_version", "release"); // 正式版小程序 params.put("width", 280); // 二维码宽度 - params.put("auto_color", true); // 不自动配置颜色 + params.put("auto_color", false); // 不自动配置颜色 // HashMap lineColor = new HashMap<>(); // lineColor.put("r", 0); // lineColor.put("g", 122);