|
@@ -304,6 +304,10 @@ public class HttpFileService extends AbstractFYunFileService {
|
|
|
params.put("appName", fYunFileConfig.getKey());
|
|
|
params.put("secret", fYunFileConfig.getSecret());
|
|
|
|
|
|
+ if (!sourcePath.startsWith(File.separator)) {
|
|
|
+ sourcePath = File.separator.concat(sourcePath);
|
|
|
+ }
|
|
|
+
|
|
|
params.put("dirName", sourcePath);
|
|
|
String url = fYunFileConfig.getEndPoint() + httpFyunConfig.getListDir();
|
|
|
|