This commit is contained in:
王炜翔 2024-09-16 22:24:17 +08:00
parent 5779ce853d
commit 552c53789f

View File

@ -152,6 +152,7 @@ namespace asg_form.Controllers.Teamregistration
approvalTime = form.approval_time, approvalTime = form.approval_time,
status = form.status status = form.status
}; };
await sub.SaveChangesAsync();
return Ok(result); return Ok(result);
} }
} }
@ -209,7 +210,7 @@ namespace asg_form.Controllers.Teamregistration
var result = await query.ToListAsync(); var result = await query.ToListAsync();
return Ok(new { messages = result }); return Ok(new { code=200,data = result });
} }
} }
} }