fixbug upload file
This commit is contained in:
@@ -143,10 +143,7 @@ public class OSSClientUtil {
|
||||
|
||||
private String getUploadUrl(String fileName) {
|
||||
if (!StringUtils.isEmpty(fileName)) {
|
||||
// String[] split = fileUrl.split("/");
|
||||
// return this.healthDir + split[split.length - 1];
|
||||
String result = "https://api.hongyutiyu.top/fetchFile/" + fileName;
|
||||
return result;
|
||||
return this.url + this.healthDir + fileName;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user