This commit is contained in:
王炜翔 2024-09-16 20:39:28 +08:00
parent 7212209cd3
commit a907e26710

View File

@ -33,7 +33,7 @@ namespace asg_form.Controllers.Teamregistration
public string gameId { get; set; } public string gameId { get; set; }
public string historyRank { get; set; } public string historyRank { get; set; }
public string contactNumber { get; set; } public string contactNumber { get; set; }
public string id { get; set; } public long id { get; set; }
} }
public class RegisterController : ControllerBase public class RegisterController : ControllerBase
{ {
@ -82,7 +82,7 @@ namespace asg_form.Controllers.Teamregistration
return Ok(new error_mb { code = 200, message = "提交成功" }); return Ok(new error_mb { code = 200, message = "提交成功" });
} }
var query = sub.T_Comform.Find(long.Parse(msg.id)); var query = sub.T_Comform.Find(msg.id);
query.chinaname = msg.chinaname; query.chinaname = msg.chinaname;
query.user_id = msg.userId; query.user_id = msg.userId;
query.sex = msg.sex; query.sex = msg.sex;