fix: 修正创建令牌成功返回码为200
- 将创建令牌成功时的返回状态码从404改为200
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user