|
@@ -316,11 +316,11 @@ public class BackendFileController extends BaseController {
|
|
|
pathRoot = ResourceUtils.getURL("classpath:").getPath();
|
|
|
}
|
|
|
File obsFile = new File(pathRoot + fileName);
|
|
|
- fileName = folder + "/" + fileName; // 设置上传到 OBS 的路径
|
|
|
+ fileName = folder + fileName; // 设置上传到 OBS 的路径
|
|
|
// 上传文件到 OBS
|
|
|
obsClient.putObject(new PutObjectRequest(bucketName, fileName, obsFile));
|
|
|
|
|
|
- filePath = domain + "/" + fileName;
|
|
|
+ filePath = domain + "/" + fileName;
|
|
|
url = filePath;
|
|
|
}
|
|
|
|