diff --git a/frontend/src/api/index.ts b/frontend/src/api/index.ts index 7cfbbc6..fb768f1 100644 --- a/frontend/src/api/index.ts +++ b/frontend/src/api/index.ts @@ -10,6 +10,14 @@ export type { OpenAPIConfig } from './core/OpenAPI'; export type { ComboBoxItem } from './models/ComboBoxItem'; export type { ComboBoxOut } from './models/ComboBoxOut'; export type { DispatchIn } from './models/DispatchIn'; +export type { GeneralConfig } from './models/GeneralConfig'; +export type { GeneralConfig_Game } from './models/GeneralConfig_Game'; +export type { GeneralConfig_Info } from './models/GeneralConfig_Info'; +export type { GeneralConfig_Run } from './models/GeneralConfig_Run'; +export type { GeneralConfig_Script } from './models/GeneralConfig_Script'; +export type { GeneralUserConfig } from './models/GeneralUserConfig'; +export type { GeneralUserConfig_Data } from './models/GeneralUserConfig_Data'; +export type { GeneralUserConfig_Info } from './models/GeneralUserConfig_Info'; export { GetStageIn } from './models/GetStageIn'; export type { GlobalConfig } from './models/GlobalConfig'; export type { GlobalConfig_Function } from './models/GlobalConfig_Function'; @@ -18,22 +26,47 @@ export type { GlobalConfig_Start } from './models/GlobalConfig_Start'; export type { GlobalConfig_UI } from './models/GlobalConfig_UI'; export type { GlobalConfig_Update } from './models/GlobalConfig_Update'; export type { GlobalConfig_Voice } from './models/GlobalConfig_Voice'; +export type { HistoryData } from './models/HistoryData'; +export type { HistoryDataGetIn } from './models/HistoryDataGetIn'; +export type { HistoryDataGetOut } from './models/HistoryDataGetOut'; +export { HistoryIndexItem } from './models/HistoryIndexItem'; +export { HistorySearchIn } from './models/HistorySearchIn'; +export type { HistorySearchOut } from './models/HistorySearchOut'; export type { HTTPValidationError } from './models/HTTPValidationError'; export type { InfoOut } from './models/InfoOut'; +export type { MaaConfig } from './models/MaaConfig'; +export type { MaaConfig_Info } from './models/MaaConfig_Info'; +export type { MaaConfig_Run } from './models/MaaConfig_Run'; +export type { MaaPlanConfig } from './models/MaaPlanConfig'; +export type { MaaPlanConfig_Info } from './models/MaaPlanConfig_Info'; +export type { MaaPlanConfig_Item } from './models/MaaPlanConfig_Item'; +export type { MaaUserConfig } from './models/MaaUserConfig'; +export type { MaaUserConfig_Data } from './models/MaaUserConfig_Data'; +export type { MaaUserConfig_Info } from './models/MaaUserConfig_Info'; +export type { MaaUserConfig_Task } from './models/MaaUserConfig_Task'; export type { OutBase } from './models/OutBase'; export type { PlanCreateIn } from './models/PlanCreateIn'; export type { PlanCreateOut } from './models/PlanCreateOut'; export type { PlanDeleteIn } from './models/PlanDeleteIn'; export type { PlanGetIn } from './models/PlanGetIn'; export type { PlanGetOut } from './models/PlanGetOut'; +export type { PlanIndexItem } from './models/PlanIndexItem'; export type { PlanReorderIn } from './models/PlanReorderIn'; export type { PlanUpdateIn } from './models/PlanUpdateIn'; +export type { QueueConfig } from './models/QueueConfig'; +export type { QueueConfig_Info } from './models/QueueConfig_Info'; export type { QueueCreateOut } from './models/QueueCreateOut'; export type { QueueDeleteIn } from './models/QueueDeleteIn'; export type { QueueGetIn } from './models/QueueGetIn'; export type { QueueGetOut } from './models/QueueGetOut'; +export type { QueueIndexItem } from './models/QueueIndexItem'; +export type { QueueItem } from './models/QueueItem'; +export type { QueueItem_Info } from './models/QueueItem_Info'; export type { QueueItemCreateOut } from './models/QueueItemCreateOut'; export type { QueueItemDeleteIn } from './models/QueueItemDeleteIn'; +export type { QueueItemGetIn } from './models/QueueItemGetIn'; +export type { QueueItemGetOut } from './models/QueueItemGetOut'; +export type { QueueItemIndexItem } from './models/QueueItemIndexItem'; export type { QueueItemReorderIn } from './models/QueueItemReorderIn'; export type { QueueItemUpdateIn } from './models/QueueItemUpdateIn'; export type { QueueReorderIn } from './models/QueueReorderIn'; @@ -44,19 +77,29 @@ export type { ScriptCreateOut } from './models/ScriptCreateOut'; export type { ScriptDeleteIn } from './models/ScriptDeleteIn'; export type { ScriptGetIn } from './models/ScriptGetIn'; export type { ScriptGetOut } from './models/ScriptGetOut'; +export { ScriptIndexItem } from './models/ScriptIndexItem'; export type { ScriptReorderIn } from './models/ScriptReorderIn'; export type { ScriptUpdateIn } from './models/ScriptUpdateIn'; export type { SettingGetOut } from './models/SettingGetOut'; export type { SettingUpdateIn } from './models/SettingUpdateIn'; export { TaskCreateIn } from './models/TaskCreateIn'; export type { TaskCreateOut } from './models/TaskCreateOut'; +export type { TimeSet } from './models/TimeSet'; +export type { TimeSet_Info } from './models/TimeSet_Info'; export type { TimeSetCreateOut } from './models/TimeSetCreateOut'; export type { TimeSetDeleteIn } from './models/TimeSetDeleteIn'; +export type { TimeSetGetIn } from './models/TimeSetGetIn'; +export type { TimeSetGetOut } from './models/TimeSetGetOut'; +export type { TimeSetIndexItem } from './models/TimeSetIndexItem'; export type { TimeSetReorderIn } from './models/TimeSetReorderIn'; export type { TimeSetUpdateIn } from './models/TimeSetUpdateIn'; +export type { UserConfig_Notify } from './models/UserConfig_Notify'; export type { UserCreateOut } from './models/UserCreateOut'; export type { UserDeleteIn } from './models/UserDeleteIn'; +export type { UserGetIn } from './models/UserGetIn'; +export type { UserGetOut } from './models/UserGetOut'; export type { UserInBase } from './models/UserInBase'; +export { UserIndexItem } from './models/UserIndexItem'; export type { UserReorderIn } from './models/UserReorderIn'; export type { UserUpdateIn } from './models/UserUpdateIn'; export type { ValidationError } from './models/ValidationError'; diff --git a/frontend/src/api/models/PlanCreateOut.ts b/frontend/src/api/models/PlanCreateOut.ts index 0d1dd56..5cb909d 100644 --- a/frontend/src/api/models/PlanCreateOut.ts +++ b/frontend/src/api/models/PlanCreateOut.ts @@ -2,6 +2,7 @@ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ +import type { MaaPlanConfig } from './MaaPlanConfig'; export type PlanCreateOut = { /** * 状态码 @@ -22,6 +23,6 @@ export type PlanCreateOut = { /** * 计划配置数据 */ - data: Record; + data: MaaPlanConfig; }; diff --git a/frontend/src/api/models/PlanGetIn.ts b/frontend/src/api/models/PlanGetIn.ts index c46e63b..5560368 100644 --- a/frontend/src/api/models/PlanGetIn.ts +++ b/frontend/src/api/models/PlanGetIn.ts @@ -4,7 +4,7 @@ /* eslint-disable */ export type PlanGetIn = { /** - * 计划ID,仅在模式为Single时需要 + * 计划ID, 未携带时表示获取所有计划数据 */ planId?: (string | null); }; diff --git a/frontend/src/api/models/PlanGetOut.ts b/frontend/src/api/models/PlanGetOut.ts index 70632b7..affc9c7 100644 --- a/frontend/src/api/models/PlanGetOut.ts +++ b/frontend/src/api/models/PlanGetOut.ts @@ -2,6 +2,8 @@ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ +import type { MaaPlanConfig } from './MaaPlanConfig'; +import type { PlanIndexItem } from './PlanIndexItem'; export type PlanGetOut = { /** * 状态码 @@ -18,10 +20,10 @@ export type PlanGetOut = { /** * 计划索引列表 */ - index: Array>; + index: Array; /** * 计划列表或单个计划数据 */ - data: Record; + data: Record; }; diff --git a/frontend/src/api/models/PlanUpdateIn.ts b/frontend/src/api/models/PlanUpdateIn.ts index a1f270b..a4e5e62 100644 --- a/frontend/src/api/models/PlanUpdateIn.ts +++ b/frontend/src/api/models/PlanUpdateIn.ts @@ -2,6 +2,7 @@ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ +import type { MaaPlanConfig } from './MaaPlanConfig'; export type PlanUpdateIn = { /** * 计划ID @@ -10,6 +11,6 @@ export type PlanUpdateIn = { /** * 计划更新数据 */ - data: Record>; + data: MaaPlanConfig; }; diff --git a/frontend/src/api/models/QueueCreateOut.ts b/frontend/src/api/models/QueueCreateOut.ts index 9168064..da6bb39 100644 --- a/frontend/src/api/models/QueueCreateOut.ts +++ b/frontend/src/api/models/QueueCreateOut.ts @@ -2,6 +2,7 @@ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ +import type { QueueConfig } from './QueueConfig'; export type QueueCreateOut = { /** * 状态码 @@ -22,6 +23,6 @@ export type QueueCreateOut = { /** * 队列配置数据 */ - data: Record; + data: QueueConfig; }; diff --git a/frontend/src/api/models/QueueGetIn.ts b/frontend/src/api/models/QueueGetIn.ts index 2ef0eeb..d169260 100644 --- a/frontend/src/api/models/QueueGetIn.ts +++ b/frontend/src/api/models/QueueGetIn.ts @@ -4,7 +4,7 @@ /* eslint-disable */ export type QueueGetIn = { /** - * 队列ID,仅在模式为Single时需要 + * 队列ID, 未携带时表示获取所有队列数据 */ queueId?: (string | null); }; diff --git a/frontend/src/api/models/QueueGetOut.ts b/frontend/src/api/models/QueueGetOut.ts index 21ab397..636b992 100644 --- a/frontend/src/api/models/QueueGetOut.ts +++ b/frontend/src/api/models/QueueGetOut.ts @@ -2,6 +2,8 @@ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ +import type { QueueConfig } from './QueueConfig'; +import type { QueueIndexItem } from './QueueIndexItem'; export type QueueGetOut = { /** * 状态码 @@ -18,10 +20,10 @@ export type QueueGetOut = { /** * 队列索引列表 */ - index: Array>; + index: Array; /** - * 队列列表或单个队列数据 + * 队列数据字典, key来自于index列表的uid */ - data: Record; + data: Record; }; diff --git a/frontend/src/api/models/QueueItemCreateOut.ts b/frontend/src/api/models/QueueItemCreateOut.ts index 77bab89..983d675 100644 --- a/frontend/src/api/models/QueueItemCreateOut.ts +++ b/frontend/src/api/models/QueueItemCreateOut.ts @@ -2,6 +2,7 @@ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ +import type { QueueItem } from './QueueItem'; export type QueueItemCreateOut = { /** * 状态码 @@ -22,6 +23,6 @@ export type QueueItemCreateOut = { /** * 队列项配置数据 */ - data: Record; + data: QueueItem; }; diff --git a/frontend/src/api/models/QueueItemUpdateIn.ts b/frontend/src/api/models/QueueItemUpdateIn.ts index 1734b93..d5da2a5 100644 --- a/frontend/src/api/models/QueueItemUpdateIn.ts +++ b/frontend/src/api/models/QueueItemUpdateIn.ts @@ -2,6 +2,7 @@ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ +import type { QueueItem } from './QueueItem'; export type QueueItemUpdateIn = { /** * 所属队列ID @@ -14,6 +15,6 @@ export type QueueItemUpdateIn = { /** * 队列项更新数据 */ - data: Record>; + data: QueueItem; }; diff --git a/frontend/src/api/models/QueueReorderIn.ts b/frontend/src/api/models/QueueReorderIn.ts index b718e87..9768fce 100644 --- a/frontend/src/api/models/QueueReorderIn.ts +++ b/frontend/src/api/models/QueueReorderIn.ts @@ -4,7 +4,7 @@ /* eslint-disable */ export type QueueReorderIn = { /** - * 调度队列ID列表,按新顺序排列 + * 按新顺序排列的调度队列UID列表 */ indexList: Array; }; diff --git a/frontend/src/api/models/QueueUpdateIn.ts b/frontend/src/api/models/QueueUpdateIn.ts index 2934f4b..53bf019 100644 --- a/frontend/src/api/models/QueueUpdateIn.ts +++ b/frontend/src/api/models/QueueUpdateIn.ts @@ -2,6 +2,7 @@ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ +import type { QueueConfig } from './QueueConfig'; export type QueueUpdateIn = { /** * 队列ID @@ -10,6 +11,6 @@ export type QueueUpdateIn = { /** * 队列更新数据 */ - data: Record>; + data: QueueConfig; }; diff --git a/frontend/src/api/models/ScriptCreateOut.ts b/frontend/src/api/models/ScriptCreateOut.ts index 96bda08..62d8d95 100644 --- a/frontend/src/api/models/ScriptCreateOut.ts +++ b/frontend/src/api/models/ScriptCreateOut.ts @@ -2,6 +2,8 @@ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ +import type { GeneralConfig } from './GeneralConfig'; +import type { MaaConfig } from './MaaConfig'; export type ScriptCreateOut = { /** * 状态码 @@ -22,6 +24,6 @@ export type ScriptCreateOut = { /** * 脚本配置数据 */ - data: Record; + data: (MaaConfig | GeneralConfig); }; diff --git a/frontend/src/api/models/ScriptGetIn.ts b/frontend/src/api/models/ScriptGetIn.ts index 44ca873..55e1f8c 100644 --- a/frontend/src/api/models/ScriptGetIn.ts +++ b/frontend/src/api/models/ScriptGetIn.ts @@ -4,7 +4,7 @@ /* eslint-disable */ export type ScriptGetIn = { /** - * 脚本ID,仅在模式为Single时需要 + * 脚本ID, 未携带时表示获取所有脚本数据 */ scriptId?: (string | null); }; diff --git a/frontend/src/api/models/ScriptGetOut.ts b/frontend/src/api/models/ScriptGetOut.ts index 3c20e2f..32640fa 100644 --- a/frontend/src/api/models/ScriptGetOut.ts +++ b/frontend/src/api/models/ScriptGetOut.ts @@ -2,6 +2,9 @@ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ +import type { GeneralConfig } from './GeneralConfig'; +import type { MaaConfig } from './MaaConfig'; +import type { ScriptIndexItem } from './ScriptIndexItem'; export type ScriptGetOut = { /** * 状态码 @@ -18,10 +21,10 @@ export type ScriptGetOut = { /** * 脚本索引列表 */ - index: Array>; + index: Array; /** - * 脚本列表或单个脚本数据 + * 脚本数据字典, key来自于index列表的uid */ - data: Record; + data: Record; }; diff --git a/frontend/src/api/models/ScriptUpdateIn.ts b/frontend/src/api/models/ScriptUpdateIn.ts index f7a5584..6742f5e 100644 --- a/frontend/src/api/models/ScriptUpdateIn.ts +++ b/frontend/src/api/models/ScriptUpdateIn.ts @@ -2,6 +2,8 @@ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ +import type { GeneralConfig } from './GeneralConfig'; +import type { MaaConfig } from './MaaConfig'; export type ScriptUpdateIn = { /** * 脚本ID @@ -10,6 +12,6 @@ export type ScriptUpdateIn = { /** * 脚本更新数据 */ - data: Record>; + data: (MaaConfig | GeneralConfig); }; diff --git a/frontend/src/api/models/TimeSetCreateOut.ts b/frontend/src/api/models/TimeSetCreateOut.ts index 06c5fc9..bfd4e29 100644 --- a/frontend/src/api/models/TimeSetCreateOut.ts +++ b/frontend/src/api/models/TimeSetCreateOut.ts @@ -2,6 +2,7 @@ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ +import type { TimeSet } from './TimeSet'; export type TimeSetCreateOut = { /** * 状态码 @@ -22,6 +23,6 @@ export type TimeSetCreateOut = { /** * 时间设置配置数据 */ - data: Record; + data: TimeSet; }; diff --git a/frontend/src/api/models/TimeSetUpdateIn.ts b/frontend/src/api/models/TimeSetUpdateIn.ts index 79647b7..0589edc 100644 --- a/frontend/src/api/models/TimeSetUpdateIn.ts +++ b/frontend/src/api/models/TimeSetUpdateIn.ts @@ -2,6 +2,7 @@ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ +import type { TimeSet } from './TimeSet'; export type TimeSetUpdateIn = { /** * 所属队列ID @@ -14,6 +15,6 @@ export type TimeSetUpdateIn = { /** * 时间设置更新数据 */ - data: Record>; + data: TimeSet; }; diff --git a/frontend/src/api/models/UserCreateOut.ts b/frontend/src/api/models/UserCreateOut.ts index 35052ef..630d5ac 100644 --- a/frontend/src/api/models/UserCreateOut.ts +++ b/frontend/src/api/models/UserCreateOut.ts @@ -2,6 +2,8 @@ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ +import type { GeneralUserConfig } from './GeneralUserConfig'; +import type { MaaUserConfig } from './MaaUserConfig'; export type UserCreateOut = { /** * 状态码 @@ -22,6 +24,6 @@ export type UserCreateOut = { /** * 用户配置数据 */ - data: Record; + data: (MaaUserConfig | GeneralUserConfig); }; diff --git a/frontend/src/api/models/UserUpdateIn.ts b/frontend/src/api/models/UserUpdateIn.ts index e185669..91f6b06 100644 --- a/frontend/src/api/models/UserUpdateIn.ts +++ b/frontend/src/api/models/UserUpdateIn.ts @@ -2,6 +2,8 @@ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ +import type { GeneralUserConfig } from './GeneralUserConfig'; +import type { MaaUserConfig } from './MaaUserConfig'; export type UserUpdateIn = { /** * 所属脚本ID @@ -14,6 +16,6 @@ export type UserUpdateIn = { /** * 用户更新数据 */ - data: Record>; + data: (MaaUserConfig | GeneralUserConfig); }; diff --git a/frontend/src/api/services/Service.ts b/frontend/src/api/services/Service.ts index 35211c8..45d5abe 100644 --- a/frontend/src/api/services/Service.ts +++ b/frontend/src/api/services/Service.ts @@ -5,6 +5,10 @@ import type { ComboBoxOut } from '../models/ComboBoxOut'; import type { DispatchIn } from '../models/DispatchIn'; import type { GetStageIn } from '../models/GetStageIn'; +import type { HistoryDataGetIn } from '../models/HistoryDataGetIn'; +import type { HistoryDataGetOut } from '../models/HistoryDataGetOut'; +import type { HistorySearchIn } from '../models/HistorySearchIn'; +import type { HistorySearchOut } from '../models/HistorySearchOut'; import type { InfoOut } from '../models/InfoOut'; import type { OutBase } from '../models/OutBase'; import type { PlanCreateIn } from '../models/PlanCreateIn'; @@ -20,6 +24,8 @@ import type { QueueGetIn } from '../models/QueueGetIn'; import type { QueueGetOut } from '../models/QueueGetOut'; import type { QueueItemCreateOut } from '../models/QueueItemCreateOut'; import type { QueueItemDeleteIn } from '../models/QueueItemDeleteIn'; +import type { QueueItemGetIn } from '../models/QueueItemGetIn'; +import type { QueueItemGetOut } from '../models/QueueItemGetOut'; import type { QueueItemReorderIn } from '../models/QueueItemReorderIn'; import type { QueueItemUpdateIn } from '../models/QueueItemUpdateIn'; import type { QueueReorderIn } from '../models/QueueReorderIn'; @@ -38,10 +44,14 @@ import type { TaskCreateIn } from '../models/TaskCreateIn'; import type { TaskCreateOut } from '../models/TaskCreateOut'; import type { TimeSetCreateOut } from '../models/TimeSetCreateOut'; import type { TimeSetDeleteIn } from '../models/TimeSetDeleteIn'; +import type { TimeSetGetIn } from '../models/TimeSetGetIn'; +import type { TimeSetGetOut } from '../models/TimeSetGetOut'; import type { TimeSetReorderIn } from '../models/TimeSetReorderIn'; import type { TimeSetUpdateIn } from '../models/TimeSetUpdateIn'; import type { UserCreateOut } from '../models/UserCreateOut'; import type { UserDeleteIn } from '../models/UserDeleteIn'; +import type { UserGetIn } from '../models/UserGetIn'; +import type { UserGetOut } from '../models/UserGetOut'; import type { UserInBase } from '../models/UserInBase'; import type { UserReorderIn } from '../models/UserReorderIn'; import type { UserUpdateIn } from '../models/UserUpdateIn'; @@ -218,6 +228,25 @@ export class Service { }, }); } + /** + * 查询用户 + * @param requestBody + * @returns UserGetOut Successful Response + * @throws ApiError + */ + public static getUserApiScriptsUserGetPost( + requestBody: UserGetIn, + ): CancelablePromise { + return __request(OpenAPI, { + method: 'POST', + url: '/api/scripts/user/get', + body: requestBody, + mediaType: 'application/json', + errors: { + 422: `Validation Error`, + }, + }); + } /** * 添加用户 * @param requestBody @@ -314,7 +343,7 @@ export class Service { }); } /** - * 查询计划表配置信息 + * 查询计划表 * @param requestBody * @returns PlanGetOut Successful Response * @throws ApiError @@ -476,6 +505,25 @@ export class Service { }, }); } + /** + * 查询定时项 + * @param requestBody + * @returns TimeSetGetOut Successful Response + * @throws ApiError + */ + public static getTimeSetApiQueueTimeGetPost( + requestBody: TimeSetGetIn, + ): CancelablePromise { + return __request(OpenAPI, { + method: 'POST', + url: '/api/queue/time/get', + body: requestBody, + mediaType: 'application/json', + errors: { + 422: `Validation Error`, + }, + }); + } /** * 添加定时项 * @param requestBody @@ -534,7 +582,7 @@ export class Service { }); } /** - * 重新排序时间设置 + * 重新排序定时项 * @param requestBody * @returns OutBase Successful Response * @throws ApiError @@ -552,6 +600,25 @@ export class Service { }, }); } + /** + * 查询队列项 + * @param requestBody + * @returns QueueItemGetOut Successful Response + * @throws ApiError + */ + public static getItemApiQueueItemGetPost( + requestBody: QueueItemGetIn, + ): CancelablePromise { + return __request(OpenAPI, { + method: 'POST', + url: '/api/queue/item/get', + body: requestBody, + mediaType: 'application/json', + errors: { + 422: `Validation Error`, + }, + }); + } /** * 添加队列项 * @param requestBody @@ -666,6 +733,44 @@ export class Service { }, }); } + /** + * 搜索历史记录总览信息 + * @param requestBody + * @returns HistorySearchOut Successful Response + * @throws ApiError + */ + public static searchHistoryApiHistorySearchPost( + requestBody: HistorySearchIn, + ): CancelablePromise { + return __request(OpenAPI, { + method: 'POST', + url: '/api/history/search', + body: requestBody, + mediaType: 'application/json', + errors: { + 422: `Validation Error`, + }, + }); + } + /** + * 从指定文件内获取历史记录数据 + * @param requestBody + * @returns HistoryDataGetOut Successful Response + * @throws ApiError + */ + public static getHistoryDataApiHistoryDataPost( + requestBody: HistoryDataGetIn, + ): CancelablePromise { + return __request(OpenAPI, { + method: 'POST', + url: '/api/history/data', + body: requestBody, + mediaType: 'application/json', + errors: { + 422: `Validation Error`, + }, + }); + } /** * 查询配置 * 查询配置