|
@@ -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", "");
|