yanderong
2026-07-02 9ac7dcd277c03ed9b27ddf987cac33c7ba0cb20e
DriverYKDTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/api/DriverController.java
@@ -787,6 +787,7 @@
                param.put("width", 430); //二维码尺寸
                param.put("scene", "driverId=" + uid);
                param.put("env_version", "release"); //正式版为 "release",体验版为 "trial",开发版为 "develop"。默认是正式版。
                param.put("check_path",false);  // todo 正式版上面的后面的路径不存在,则不需要检查路径,上线后会存在
                HttpRequest post = HttpUtil.createPost(url);
                post.body(JSON.toJSONString(param));
@@ -800,8 +801,9 @@
                index=1;
                String url1 = "https://api.weixin.qq.com/wxa/generate_urllink?access_token=" + accessToken;
                Map<String, Object> param1 = new HashMap<>();
                param1.put("path", "pages/home/home");
                param1.put("query", "driverId=" + uid);
                // todo 正式版下面的路径不存在,则不需要检查路径,上线后会存在,需要放开
              /*  param1.put("path", "pages/home/home");
                param1.put("query", "driverId=" + uid);*/
                HttpRequest post = HttpUtil.createPost(url1);
                // map转json