From 1d107a97ff17fc4c789d983f162874fc9ccfacfd Mon Sep 17 00:00:00 2001 From: matresnan <1358168412@qq.com> Date: Mon, 25 Aug 2025 19:55:25 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=E4=BB=A4=E7=89=8C=E6=88=90=E5=8A=9F=E8=BF=94=E5=9B=9E=E7=A0=81?= =?UTF-8?q?=E4=B8=BA200?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将创建令牌成功时的返回状态码从404改为200 --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 0722e03..a8e3cd9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -58,7 +58,7 @@ async fn create_token( return ( StatusCode::OK, Json(CreateTokenInfo { - code: 404, + code: 200, project: info.project, device_id: info.device_id, token: info.token,