fix: 修正创建令牌成功返回码为200

- 将创建令牌成功时的返回状态码从404改为200
This commit is contained in:
2025-08-25 19:55:25 +08:00
parent bc42d1d4f7
commit 1d107a97ff

View File

@@ -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,