修改文件上传上限

This commit is contained in:
2026-05-29 11:13:12 +08:00
parent e9a4d6f6ea
commit c1d6ec4eb5

View File

@@ -139,8 +139,8 @@ public class AiCloudFileController extends BaseController {
return fail("请选择要上传的文件");
}
if (files.length > 10) {
return fail("一次最多只能上传10个文件");
if (files.length > 5) {
return fail("一次最多只能上传5个文件");
}
User loginUser = getLoginUser();