test/custom-admin-ui #3

Merged
orion merged 673 commits from test/custom-admin-ui into master 2026-06-05 17:20:58 +08:00
Showing only changes of commit f3a12820bf - Show all commits
+2 -2
View File
@@ -2,7 +2,7 @@
# @Author : Lan # @Author : Lan
# @File : response.py # @File : response.py
# @Software: PyCharm # @Software: PyCharm
from typing import Generic, TypeVar from typing import Generic, Optional, TypeVar
from pydantic import BaseModel from pydantic import BaseModel
@@ -12,4 +12,4 @@ T = TypeVar("T")
class APIResponse(BaseModel, Generic[T]): class APIResponse(BaseModel, Generic[T]):
code: int = 200 code: int = 200
message: str = "ok" message: str = "ok"
detail: T detail: Optional[T] = None