Files
fastapi-best-architecture/backend/app/admin/schema/captcha.py
T
Wu Clan 7553ccf14d Update return schema of query interface (#492)
* Update return model of query interface

* Update tree data return type hints

* Update code generation and task return types

* Fix inconsistency between ORM query result and schema
2025-01-18 23:33:37 +08:00

11 lines
265 B
Python

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from pydantic import Field
from backend.common.schema import SchemaBase
class GetCaptchaDetail(SchemaBase):
image_type: str = Field(description='图片类型')
image: str = Field(description='图片内容')