zhuo
2025-03-07 4e8506a9d434655a0460275c38d219db03394966
修改装备测试库配置
已修改2个文件
20 ■■■■■ 文件已修改
ruoyi-admin/src/main/resources/application-test.yml 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-common/src/main/java/com/ruoyi/common/utils/GZipUtil.java 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/resources/application-test.yml
@@ -104,13 +104,13 @@
  # 是否开启swagger
  enabled: true
#minio:
#  endpoint: http://114.132.189.42/
#  port: 7019
#  secure: false
#  accessKey: admin
#  secretKey: 12345678
#  preview-expiry: 24 # 预览地址默认24小时
minio:
  endpoint: http://114.132.189.42/
  port: 7019
  secure: false
  accessKey: admin
  secretKey: 12345678
  preview-expiry: 24 # 预览地址默认24小时
# 照片存储路径+++++++++++++++++++++++++++运维需要配置+++++++++++++++++++++++++++
file:
ruoyi-common/src/main/java/com/ruoyi/common/utils/GZipUtil.java
@@ -28,8 +28,7 @@
            return new String(out.toByteArray(), "iso-8859-1");
        } catch (Exception e) {
            e.printStackTrace();
            return str;
            throw new RuntimeException("数据压缩失败");
        }
    }
@@ -55,8 +54,7 @@
            return new String(out.toByteArray(), "utf-8");
        } catch (Exception e) {
            e.printStackTrace();
            return str;
            throw new RuntimeException("数据解压失败");
        }
    }