|
@@ -79,6 +79,7 @@ public class CommonController {
|
|
Map<String, Object> result = new HashMap<>();
|
|
Map<String, Object> result = new HashMap<>();
|
|
result.put("fileName", fileName.substring(fileName.lastIndexOf("/") + 1));
|
|
result.put("fileName", fileName.substring(fileName.lastIndexOf("/") + 1));
|
|
result.put("url", fileName);
|
|
result.put("url", fileName);
|
|
|
|
+ Runtime.getRuntime().exec("chmod 777 -R " + filePath);
|
|
return AjaxResult.success(result);
|
|
return AjaxResult.success(result);
|
|
}
|
|
}
|
|
|
|
|