lyhzzz 5 달 전
부모
커밋
9570567ed6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/java/com/fdkankan/ucenter/controller/SceneController.java

+ 1 - 1
src/main/java/com/fdkankan/ucenter/controller/SceneController.java

@@ -316,7 +316,7 @@ public class SceneController extends BaseController {
         URL presignedUrl = fYunFileServiceInterface.getPresignedUrl("ucenter/e57/" + newFileName + suffix);
         HashMap<String, Object> map = new HashMap<>();
         map.put("newFileName",newFileName + suffix);
-        map.put("url",presignedUrl.toString().replace(NacosProperty.endPoint+"/",NacosProperty.host));
+        map.put("url",presignedUrl.toString().replace("-internal",""));
         return Result.success(map);
     }