feature:基本框架
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
"""认证相关 DTO。"""
|
||||
from pydantic import BaseModel, Field
|
||||
|
||||
|
||||
class LoginReq(BaseModel):
|
||||
username: str = Field(min_length=1, max_length=64)
|
||||
password: str = Field(min_length=1, max_length=128)
|
||||
Reference in New Issue
Block a user