From fe397cafbc7a90016dc576b31c85b2d4c1e17f76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E7=82=9C=E7=BF=94?= <2307953404@qq.com> Date: Wed, 9 Oct 2024 22:22:53 +0800 Subject: [PATCH] 2 --- asg_form/Controllers/InviteReferee.cs | 2 +- asg_form/Controllers/Teamregistration/RegisterController.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/asg_form/Controllers/InviteReferee.cs b/asg_form/Controllers/InviteReferee.cs index 8ac7e32..2ac7b37 100644 --- a/asg_form/Controllers/InviteReferee.cs +++ b/asg_form/Controllers/InviteReferee.cs @@ -29,7 +29,7 @@ namespace asg_form.Controllers using (TestDbContext sb = new TestDbContext()) { - + return Ok(); } } diff --git a/asg_form/Controllers/Teamregistration/RegisterController.cs b/asg_form/Controllers/Teamregistration/RegisterController.cs index a5f66d8..b530c8b 100644 --- a/asg_form/Controllers/Teamregistration/RegisterController.cs +++ b/asg_form/Controllers/Teamregistration/RegisterController.cs @@ -231,7 +231,7 @@ namespace asg_form.Controllers.Teamregistration var user = await userManager.Users.FirstOrDefaultAsync(u => u.Id == userId); if (query == null ) return Ok(new { code = 404, message = "用户1未找到" }); if (user == null) return Ok(new { code = 404, message = "用户2未找到" }); - query.status = "3"; + query.status = "4"; _ = user.officium == null; await testDb.SaveChangesAsync(); await userManager.UpdateAsync(user);