Browse Source

Merge branch '20250214_sun' of sckj/mz-cloud into master

sckj 1 week ago
parent
commit
5ebe0651e7

+ 1 - 0
ruoyi-modules/mz-gljt/src/main/java/com/ruoyi/gljt/utils/ObsUtils.java

@@ -21,6 +21,7 @@ public class ObsUtils {
     public static final String endpoint = "14.125.0.146";
 
     public String path2Base64(String path) {
+        path = path.replaceFirst("gljtUploadPath", "uploadPath");
         String res = null;
         if (!StringUtils.equals(SpringUtil.getActiveProfile(), "prod")) {
             String filePath = "/home/ruoyi/mz/uploadPath" + path.replaceFirst("/uploadPath", "");