This commit is contained in:
949036910@qq.com
2026-05-28 20:02:11 +08:00
parent da7d28f7aa
commit 989e8eb065
4 changed files with 56 additions and 1 deletions

View File

@@ -118,7 +118,7 @@ pub async fn publish_login(
.await?;
if result.get("success").and_then(|v| v.as_bool()) == Some(true) {
let nickname = result
let nickname: String = result
.get("nickname")
.and_then(|v| v.as_str())
.unwrap_or("")