|
|
@@ -232,7 +232,7 @@ public class BaseApiController extends BaseController {
|
|
|
if(!filePath.exists()){
|
|
|
filePath.mkdirs();
|
|
|
}
|
|
|
- fileName += fn;
|
|
|
+ fileName += "/"+ fn;
|
|
|
System.out.println("------------"+ uploadPrivatePath + fileName);
|
|
|
fos = new FileOutputStream(new File(uploadPrivatePath + fileName));
|
|
|
} else {
|
|
|
@@ -240,7 +240,7 @@ public class BaseApiController extends BaseController {
|
|
|
if(!filePath.exists()){
|
|
|
filePath.mkdirs();
|
|
|
}
|
|
|
- fileName += fn;
|
|
|
+ fileName += "/" + fn;
|
|
|
System.out.println("------------"+ uploadPath + fileName);
|
|
|
fos = new FileOutputStream(new File(uploadPath + fileName));
|
|
|
}
|