mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-04-24 10:31:09 +08:00
webui: fix bugs. adjust api model.
This commit is contained in:
@@ -14,16 +14,11 @@ export type StatusCode = 401 | 404 | 406 | 500;
|
||||
|
||||
export interface ApiError {
|
||||
status: StatusCode;
|
||||
detail: ApiErrorMessage;
|
||||
msg: string;
|
||||
msg_en: string;
|
||||
msg_zh: string;
|
||||
}
|
||||
|
||||
export interface ApiSuccess {
|
||||
msg: string;
|
||||
}
|
||||
|
||||
export interface ApiResponse {
|
||||
status: boolean;
|
||||
msg_en: string;
|
||||
msg_zh: string;
|
||||
}
|
||||
Reference in New Issue
Block a user