From 966f9e7367684f93349a347c9dbd69c763d3ae7b Mon Sep 17 00:00:00 2001
From: zhaoqingang <zhaoqg0118@163.com>
Date: 星期三, 08 一月 2025 14:24:40 +0800
Subject: [PATCH] 出错时返回错误信息
---
app/models/user.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/app/models/user.py b/app/models/user.py
index ab53067..daff50c 100644
--- a/app/models/user.py
+++ b/app/models/user.py
@@ -6,6 +6,7 @@
class UserCreate(BaseModel):
username: str
password: str
+ email: Optional[str] = ""
# 瀹氫箟璇锋眰浣撴ā鍨�
--
Gitblit v1.8.0