first init

This commit is contained in:
xingc
2025-02-18 14:26:47 +08:00
commit 48a02974fc
41 changed files with 2297 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
# -*- coding = utf-8 -*-
# @Time : 2025/2/17 下午2:30
# @File : schema.py
# @Software : PyCharm
# @Author : xingc
# @Desc :
from typing import Optional
from pydantic import BaseModel, constr
class WechatLoginIn(BaseModel):
code: str
phone: Optional[constr(pattern='^1[0-9]{10}$')] = None
encrypted_data: Optional[str] = None
iv: Optional[str] = None