mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 23:47:41 +08:00
集成CookieCloud服务端
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
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)
|
||||
|
||||
|
||||
class CookiePassword(BaseModel):
|
||||
password: str
|
||||
Reference in New Issue
Block a user