删除已存在数据库
This commit is contained in:
BIN
data.sqlite
BIN
data.sqlite
Binary file not shown.
@ -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()),
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user