Commit 3c24574c authored by xianyang's avatar xianyang

优化

parent c8acd0cf
...@@ -5,7 +5,7 @@ from typing import Optional ...@@ -5,7 +5,7 @@ from typing import Optional
class RoleCreate(BaseModel): class RoleCreate(BaseModel):
role_name: str role_name: str
authority: list authority: list
remark: str remark: Optional[str] = ""
class RoleUpdate(RoleCreate): class RoleUpdate(RoleCreate):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment