xbackend/schemas/api_module.py
李伟 84dcdad9b7 1.优化权限板块
2.新增用户搜索板块
2022-04-14 16:08:01 +08:00

18 lines
361 B
Python

from typing import Any, List, Union
from pydantic import BaseModel, Field
from schemas import DBBase
from typing import Optional
class Url_module(BaseModel):
auth_id: str = None
path_name: str = None
api_list: List[str] = None
api_name: List[str] = None
state: List[bool] = None
class Add_module(BaseModel):
auth_id: str
url:str