提交修改
This commit is contained in:
parent
6ab50c9841
commit
49aff4f811
@ -33,7 +33,7 @@ public class OssFileUploadServiceImpl implements OssFileUploadService {
|
|||||||
|
|
||||||
private String oss_buccket = "heyuimage";
|
private String oss_buccket = "heyuimage";
|
||||||
|
|
||||||
private String oss_url = "http://heyuimage.ihzhy.com/";
|
private String oss_url = "https://heyuimage.ihzhy.com/";
|
||||||
|
|
||||||
|
|
||||||
static {
|
static {
|
||||||
|
|||||||
@ -219,7 +219,7 @@ public class ZhenZhenLogAop {
|
|||||||
if (method.getReturnType() == String.class) {
|
if (method.getReturnType() == String.class) {
|
||||||
String str = (String) image;
|
String str = (String) image;
|
||||||
if (str != null
|
if (str != null
|
||||||
&& str.startsWith("http://heyuimage.ihzhy.com")) {
|
&& str.startsWith("https://heyuimage.ihzhy.com")) {
|
||||||
String setMethodName = "set" + method.getName().substring(3);
|
String setMethodName = "set" + method.getName().substring(3);
|
||||||
Method setMethod = methodMap.get(setMethodName);
|
Method setMethod = methodMap.get(setMethodName);
|
||||||
String newImage = image + "?key=xxxxxxx";
|
String newImage = image + "?key=xxxxxxx";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user