“mitao”
2026-02-02 c9e9737a7584ebf84e12ecc956a337c3f8f0d67b
ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TCompanyController.java
@@ -82,7 +82,8 @@
    private final TAppUserService appUserService ;
    private final TBigGiftPackageOrderService bigGiftPackageOrderService;
    @Value("${spring.profiles.active}")
    private String env;
    public TCompanyController(TCompanyService companyService, ISysUserService userService, RedisTemplate redisTemplate, TAppUserService appUserService, TBigGiftPackageOrderService bigGiftPackageOrderService) {
        this.companyService = companyService;
        this.userService = userService;
@@ -219,7 +220,7 @@
        param.put("page", "pages/home/home");
        param.put("width", 430); //二维码尺寸
        param.put("scene",  "code=" + sysUser.getCode()+"&type=1"); //二维码尺寸
        param.put("env_version", "trial"); //二维码尺寸
        param.put("env_version", env.equals("prod") ? "release" : "trial"); //二维码尺寸
        param.put("check_path", false); //二维码尺寸
        HttpRequest post = HttpUtil.createPost(url);
        post.body(JSON.toJSONString(param));
@@ -295,7 +296,7 @@
            param.put("page", "pages/home/home");
            param.put("width", 430); //二维码尺寸
            param.put("scene", "code=" + user.getCode()+"&type=1"); //二维码尺寸
            param.put("env_version", "trial"); //二维码尺寸
            param.put("env_version", env.equals("prod") ? "release" : "trial"); //二维码尺寸
            param.put("check_path", false); //二维码尺寸
            HttpRequest post = HttpUtil.createPost(url);
            post.body(JSON.toJSONString(param));