@@ -21,7 +21,7 @@ server:
port: 8080
servlet:
# 应用的访问路径
- context-path: /
+ context-path: /api
tomcat:
# tomcat的URI编码
uri-encoding: UTF-8
@@ -238,6 +238,7 @@ public class BaseController
toClient.write(buffer);
toClient.flush();
toClient.close();
+
// 删除生成的临时文件
if (file.exists()) {
file.delete();