diff --git a/api-third/src/main/java/com/heyu/api/oss/OssFileUploadServiceImpl.java b/api-third/src/main/java/com/heyu/api/oss/OssFileUploadServiceImpl.java index 2030f09..5e2122c 100644 --- a/api-third/src/main/java/com/heyu/api/oss/OssFileUploadServiceImpl.java +++ b/api-third/src/main/java/com/heyu/api/oss/OssFileUploadServiceImpl.java @@ -33,7 +33,7 @@ public class OssFileUploadServiceImpl implements OssFileUploadService { private String oss_buccket = "heyuimage"; - private String oss_url = "http://heyuimage.ihzhy.com/"; + private String oss_url = "https://heyuimage.ihzhy.com/"; static { diff --git a/api-web/api-interface/src/main/java/com/heyu/api/aop/ZhenZhenLogAop.java b/api-web/api-interface/src/main/java/com/heyu/api/aop/ZhenZhenLogAop.java index 10b1193..f41d6a1 100644 --- a/api-web/api-interface/src/main/java/com/heyu/api/aop/ZhenZhenLogAop.java +++ b/api-web/api-interface/src/main/java/com/heyu/api/aop/ZhenZhenLogAop.java @@ -219,7 +219,7 @@ public class ZhenZhenLogAop { if (method.getReturnType() == String.class) { String str = (String) image; if (str != null - && str.startsWith("http://heyuimage.ihzhy.com")) { + && str.startsWith("https://heyuimage.ihzhy.com")) { String setMethodName = "set" + method.getName().substring(3); Method setMethod = methodMap.get(setMethodName); String newImage = image + "?key=xxxxxxx";