try fix cookiecloud

This commit is contained in:
jxxghp
2024-03-17 12:57:38 +08:00
parent a05724f664
commit cbd704373c
3 changed files with 44 additions and 36 deletions

View File

@ -1,12 +1,10 @@
from typing import Union
from fastapi import Query
from pydantic import BaseModel
class CookieData(BaseModel):
uuid: str = Query(min_length=5, pattern="^[a-zA-Z0-9]+$")
encrypted: str = Query(min_length=1, max_length=1024 * 1024 * 50)
uuid: str = Query(min_length=5, pattern="^[a-zA-Z0-9]+$")
class CookiePassword(BaseModel):