This commit is contained in:
王炜翔 2025-01-23 22:38:39 +08:00
parent 7f39547f49
commit f3895f3bcf

View File

@ -67,7 +67,7 @@ namespace asg_form.Controllers.Teamregistration
{ {
if (msg.id == null&&sub.T_Comform.Find(msg.userId) != null) if (msg.id == null && sub.T_Comform.Any(n => n.user_id==msg.userId))
{ {
return Ok(new error_mb { code = 400, message = "你已经提交过表单了,请不要重复提交" }); return Ok(new error_mb { code = 400, message = "你已经提交过表单了,请不要重复提交" });
} }