删除已存在数据库

This commit is contained in:
lkhsss
2026-01-07 11:52:41 +08:00
parent b17f020c26
commit 382f4b6063
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -49,7 +49,7 @@ pub async fn reg(
Common::success("注册成功".to_string())
}
Err(e) => match e {
// sqlx::Error::Database(_) => Common::failure("该账号已注册".to_string()),
sqlx::Error::Database(_) => Common::failure("该账号已注册".to_string()),
_ => Common::failure(e.to_string()),
},
}