Commit 23f1b6b7 by kaevom

所有接口基本完成

parent dfbe3eb3
......@@ -117,7 +117,7 @@ public class DbFileController extends BaseController {
@PostMapping("/upload")
public R upload(MultipartFile file, HttpServletRequest req) {
if(!file.isEmpty()){
String uploadPath = "C:\\uploadFile";
//String uploadPath = "C:\\uploadFile";
// 如果目录不存在则创建
File uploadDir = new File(uploadPath);
if (!uploadDir.exists()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment