From 7212209cd3a4631f5fa94721c4a9d3b9babc7600 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E7=82=9C=E7=BF=94?= <2307953404@qq.com> Date: Mon, 16 Sep 2024 20:32:01 +0800 Subject: [PATCH] 111 --- asg_form/Controllers/Teamregistration/RegisterController.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/asg_form/Controllers/Teamregistration/RegisterController.cs b/asg_form/Controllers/Teamregistration/RegisterController.cs index 25b7df4..229e22a 100644 --- a/asg_form/Controllers/Teamregistration/RegisterController.cs +++ b/asg_form/Controllers/Teamregistration/RegisterController.cs @@ -4,6 +4,7 @@ using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using System.Security.Claims; using Microsoft.EntityFrameworkCore; +using RestSharp.Extensions; namespace asg_form.Controllers.Teamregistration { @@ -81,7 +82,7 @@ namespace asg_form.Controllers.Teamregistration return Ok(new error_mb { code = 200, message = "提亀成功" }); } - var query = sub.T_Comform.Find(msg.id); + var query = sub.T_Comform.Find(long.Parse(msg.id)); query.chinaname = msg.chinaname; query.user_id = msg.userId; query.sex = msg.sex;