From 49b19721cf91620c0bcef4388ea0e8565cfff692 Mon Sep 17 00:00:00 2001 From: luolan <2667210109@qq.com> Date: Sat, 12 Apr 2025 11:01:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=94=A8=E6=88=B7=E8=A1=A8?= =?UTF-8?q?=E5=8D=95=E4=BB=A3=E7=A0=81=EF=BC=8C=E7=A7=BB=E9=99=A4=E5=A4=9A?= =?UTF-8?q?=E4=BD=99=E6=B3=A8=E9=87=8A=E5=B9=B6=E6=B7=BB=E5=8A=A0VSCode?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/settings.json | 1 + asg_form/Controllers/user_form.cs | 8 +++----- 2 files changed, 4 insertions(+), 5 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/asg_form/Controllers/user_form.cs b/asg_form/Controllers/user_form.cs index 6ad97b4..b036feb 100644 --- a/asg_form/Controllers/user_form.cs +++ b/asg_form/Controllers/user_form.cs @@ -29,9 +29,7 @@ namespace asg_form.Controllers /// /// 绑定表单 /// - /// 表单名称 - /// 表单密码 - /// + /// [Authorize] [Route("api/v1/user/uploadvideo")] [HttpPost] @@ -186,7 +184,7 @@ namespace asg_form.Controllers - /// + /* /// /// 职位时间设置接口 /// /// @@ -205,7 +203,7 @@ namespace asg_form.Controllers user.joinTime = msg.joinTime; await userManager.UpdateAsync(user); return Ok(new { code = 200, message = "你成功修改了自己加入ASG的时间!" }); - } + } */ } }