diff --git a/.claude/settings.local.json b/.claude/settings.local.json index 782f2bc..f0ad67a 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -12,7 +12,8 @@ "Bash(mkdir:*)", "Bash(pnpm build)", "Bash(pnpm eslint:fix)", - "Bash(pnpm eslint:fix:*)" + "Bash(pnpm eslint:fix:*)", + "Bash(pnpm prettier:fix:*)" ], "deny": [], "ask": [] diff --git a/src/api/generated/.openapi-generator/FILES b/src/api/generated/.openapi-generator/FILES index 07ea3f3..90857ec 100644 --- a/src/api/generated/.openapi-generator/FILES +++ b/src/api/generated/.openapi-generator/FILES @@ -7,6 +7,8 @@ apis/jdhistory-api.ts apis/jdorder-management-api.ts apis/jdv2-account-api.ts apis/jdv2-order-api.ts +apis/jdv2-prefetch-api.ts +apis/jdv2-settings-api.ts apis/jdv2-token-management-api.ts apis/totpapi.ts base.ts @@ -18,6 +20,8 @@ docs/JDHistoryApi.md docs/JDOrderManagementApi.md docs/JDV2AccountApi.md docs/JDV2OrderApi.md +docs/JDV2PrefetchApi.md +docs/JDV2SettingsApi.md docs/JDV2TokenManagementApi.md docs/KamiApiCamelOilV1AccountHistoryItem.md docs/KamiApiCamelOilV1AccountHistoryReq.md @@ -40,6 +44,10 @@ docs/KamiApiCamelOilV1CreateTokenReq.md docs/KamiApiCamelOilV1CreateTokenRes.md docs/KamiApiCamelOilV1DeleteTokenReq.md docs/KamiApiCamelOilV1DeleteTokenRes.md +docs/KamiApiCamelOilV1DenominationSetting.md +docs/KamiApiCamelOilV1GetPrefetchOrderLogsReq.md +docs/KamiApiCamelOilV1GetPrefetchOrderLogsRes.md +docs/KamiApiCamelOilV1GetSettingsRes.md docs/KamiApiCamelOilV1GetTokenReq.md docs/KamiApiCamelOilV1GetTokenRes.md docs/KamiApiCamelOilV1ListAccountReq.md @@ -48,6 +56,8 @@ docs/KamiApiCamelOilV1ListCardBindingsByTokenReq.md docs/KamiApiCamelOilV1ListCardBindingsByTokenRes.md docs/KamiApiCamelOilV1ListOrderReq.md docs/KamiApiCamelOilV1ListOrderRes.md +docs/KamiApiCamelOilV1ListPrefetchOrderReq.md +docs/KamiApiCamelOilV1ListPrefetchOrderRes.md docs/KamiApiCamelOilV1ListTokensReq.md docs/KamiApiCamelOilV1ListTokensRes.md docs/KamiApiCamelOilV1OrderCallbackReq.md @@ -60,9 +70,12 @@ docs/KamiApiCamelOilV1OrderHistoryItem.md docs/KamiApiCamelOilV1OrderHistoryReq.md docs/KamiApiCamelOilV1OrderHistoryRes.md docs/KamiApiCamelOilV1OrderListItem.md +docs/KamiApiCamelOilV1PrefetchOrderListItem.md +docs/KamiApiCamelOilV1PrefetchOrderLogItem.md docs/KamiApiCamelOilV1SubmitOrderReq.md docs/KamiApiCamelOilV1SubmitOrderRes.md docs/KamiApiCamelOilV1TokenInfo.md +docs/KamiApiCamelOilV1UpdateSettingsReq.md docs/KamiApiCamelOilV1UpdateTokenReq.md docs/KamiApiCamelOilV1UpdateTokenRes.md docs/KamiApiCardInfoAppleV1AppleCardListRecord.md @@ -473,6 +486,10 @@ models/kami-api-camel-oil-v1-create-token-req.ts models/kami-api-camel-oil-v1-create-token-res.ts models/kami-api-camel-oil-v1-delete-token-req.ts models/kami-api-camel-oil-v1-delete-token-res.ts +models/kami-api-camel-oil-v1-denomination-setting.ts +models/kami-api-camel-oil-v1-get-prefetch-order-logs-req.ts +models/kami-api-camel-oil-v1-get-prefetch-order-logs-res.ts +models/kami-api-camel-oil-v1-get-settings-res.ts models/kami-api-camel-oil-v1-get-token-req.ts models/kami-api-camel-oil-v1-get-token-res.ts models/kami-api-camel-oil-v1-list-account-req.ts @@ -481,6 +498,8 @@ models/kami-api-camel-oil-v1-list-card-bindings-by-token-req.ts models/kami-api-camel-oil-v1-list-card-bindings-by-token-res.ts models/kami-api-camel-oil-v1-list-order-req.ts models/kami-api-camel-oil-v1-list-order-res.ts +models/kami-api-camel-oil-v1-list-prefetch-order-req.ts +models/kami-api-camel-oil-v1-list-prefetch-order-res.ts models/kami-api-camel-oil-v1-list-tokens-req.ts models/kami-api-camel-oil-v1-list-tokens-res.ts models/kami-api-camel-oil-v1-order-callback-req.ts @@ -493,9 +512,12 @@ models/kami-api-camel-oil-v1-order-history-item.ts models/kami-api-camel-oil-v1-order-history-req.ts models/kami-api-camel-oil-v1-order-history-res.ts models/kami-api-camel-oil-v1-order-list-item.ts +models/kami-api-camel-oil-v1-prefetch-order-list-item.ts +models/kami-api-camel-oil-v1-prefetch-order-log-item.ts models/kami-api-camel-oil-v1-submit-order-req.ts models/kami-api-camel-oil-v1-submit-order-res.ts models/kami-api-camel-oil-v1-token-info.ts +models/kami-api-camel-oil-v1-update-settings-req.ts models/kami-api-camel-oil-v1-update-token-req.ts models/kami-api-camel-oil-v1-update-token-res.ts models/kami-api-card-info-apple-v1-apple-card-list-record-upload-user.ts diff --git a/src/api/generated/api.ts b/src/api/generated/api.ts index 65fe169..abbec32 100644 --- a/src/api/generated/api.ts +++ b/src/api/generated/api.ts @@ -18,5 +18,7 @@ export * from './apis/jdhistory-api'; export * from './apis/jdorder-management-api'; export * from './apis/jdv2-account-api'; export * from './apis/jdv2-order-api'; +export * from './apis/jdv2-prefetch-api'; +export * from './apis/jdv2-settings-api'; export * from './apis/jdv2-token-management-api'; export * from './apis/totpapi'; diff --git a/src/api/generated/apis/jdv2-prefetch-api.ts b/src/api/generated/apis/jdv2-prefetch-api.ts new file mode 100644 index 0000000..f131dc8 --- /dev/null +++ b/src/api/generated/apis/jdv2-prefetch-api.ts @@ -0,0 +1,516 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import type { Configuration } from '../configuration'; +import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; +import globalAxios from 'axios'; +// Some imports not used depending on template conditions +// @ts-ignore +import { + DUMMY_BASE_URL, + assertParamExists, + setApiKeyToObject, + setBasicAuthToObject, + setBearerAuthToObject, + setOAuthToObject, + setSearchParams, + serializeDataIfNeeded, + toPathString, + createRequestFunction +} from '../common'; +// @ts-ignore +import { + BASE_PATH, + COLLECTION_FORMATS, + type RequestArgs, + BaseAPI, + RequiredError, + operationServerMap +} from '../base'; +// @ts-ignore +import type { KamiApiCamelOilV1GetPrefetchOrderLogsRes } from '../models'; +// @ts-ignore +import type { KamiApiCamelOilV1ListPrefetchOrderRes } from '../models'; +/** + * JDV2PrefetchApi - axios parameter creator + */ +export const JDV2PrefetchApiAxiosParamCreator = function ( + configuration?: Configuration +) { + return { + /** + * + * @summary 获取预拉取订单日志 + * @param {string} startTime 开始时间 + * @param {string} endTime 结束时间 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2PrefetchLogsGet: async ( + startTime: string, + endTime: string, + options: RawAxiosRequestConfig = {} + ): Promise => { + // verify required parameter 'startTime' is not null or undefined + assertParamExists('apiJdV2PrefetchLogsGet', 'startTime', startTime); + // verify required parameter 'endTime' is not null or undefined + assertParamExists('apiJdV2PrefetchLogsGet', 'endTime', endTime); + const localVarPath = `/api/jd-v2/prefetch/logs`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { + method: 'GET', + ...baseOptions, + ...options + }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + if (startTime !== undefined) { + localVarQueryParameter['startTime'] = startTime; + } + + if (endTime !== undefined) { + localVarQueryParameter['endTime'] = endTime; + } + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = + baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = { + ...localVarHeaderParameter, + ...headersFromBaseOptions, + ...options.headers + }; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions + }; + }, + /** + * + * @summary 获取预拉取订单列表 + * @param {number} current 页数 + * @param {ApiJdV2PrefetchOrdersGetPageSizeEnum} pageSize 页码 + * @param {number} [accountId] 账号ID + * @param {string} [accountName] 账号名称 + * @param {number} [amount] 订单金额 + * @param {string} [platformOrderNo] 平台订单号 + * @param {ApiJdV2PrefetchOrdersGetStatusEnum} [status] 状态:1待匹配 2已匹配 3已过期 4已失效 + * @param {Array} [dateRange] 时间范围 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2PrefetchOrdersGet: async ( + current: number, + pageSize: ApiJdV2PrefetchOrdersGetPageSizeEnum, + accountId?: number, + accountName?: string, + amount?: number, + platformOrderNo?: string, + status?: ApiJdV2PrefetchOrdersGetStatusEnum, + dateRange?: Array, + options: RawAxiosRequestConfig = {} + ): Promise => { + // verify required parameter 'current' is not null or undefined + assertParamExists('apiJdV2PrefetchOrdersGet', 'current', current); + // verify required parameter 'pageSize' is not null or undefined + assertParamExists('apiJdV2PrefetchOrdersGet', 'pageSize', pageSize); + const localVarPath = `/api/jd-v2/prefetch/orders`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { + method: 'GET', + ...baseOptions, + ...options + }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + if (current !== undefined) { + localVarQueryParameter['current'] = current; + } + + if (pageSize !== undefined) { + localVarQueryParameter['pageSize'] = pageSize; + } + + if (accountId !== undefined) { + localVarQueryParameter['accountId'] = accountId; + } + + if (accountName !== undefined) { + localVarQueryParameter['accountName'] = accountName; + } + + if (amount !== undefined) { + localVarQueryParameter['amount'] = amount; + } + + if (platformOrderNo !== undefined) { + localVarQueryParameter['platformOrderNo'] = platformOrderNo; + } + + if (status !== undefined) { + localVarQueryParameter['status'] = status; + } + + if (dateRange) { + localVarQueryParameter['dateRange'] = dateRange; + } + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = + baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = { + ...localVarHeaderParameter, + ...headersFromBaseOptions, + ...options.headers + }; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions + }; + } + }; +}; + +/** + * JDV2PrefetchApi - functional programming interface + */ +export const JDV2PrefetchApiFp = function (configuration?: Configuration) { + const localVarAxiosParamCreator = + JDV2PrefetchApiAxiosParamCreator(configuration); + return { + /** + * + * @summary 获取预拉取订单日志 + * @param {string} startTime 开始时间 + * @param {string} endTime 结束时间 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiJdV2PrefetchLogsGet( + startTime: string, + endTime: string, + options?: RawAxiosRequestConfig + ): Promise< + ( + axios?: AxiosInstance, + basePath?: string + ) => AxiosPromise + > { + const localVarAxiosArgs = + await localVarAxiosParamCreator.apiJdV2PrefetchLogsGet( + startTime, + endTime, + options + ); + const localVarOperationServerIndex = configuration?.serverIndex ?? 0; + const localVarOperationServerBasePath = + operationServerMap['JDV2PrefetchApi.apiJdV2PrefetchLogsGet']?.[ + localVarOperationServerIndex + ]?.url; + return (axios, basePath) => + createRequestFunction( + localVarAxiosArgs, + globalAxios, + BASE_PATH, + configuration + )(axios, localVarOperationServerBasePath || basePath); + }, + /** + * + * @summary 获取预拉取订单列表 + * @param {number} current 页数 + * @param {ApiJdV2PrefetchOrdersGetPageSizeEnum} pageSize 页码 + * @param {number} [accountId] 账号ID + * @param {string} [accountName] 账号名称 + * @param {number} [amount] 订单金额 + * @param {string} [platformOrderNo] 平台订单号 + * @param {ApiJdV2PrefetchOrdersGetStatusEnum} [status] 状态:1待匹配 2已匹配 3已过期 4已失效 + * @param {Array} [dateRange] 时间范围 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiJdV2PrefetchOrdersGet( + current: number, + pageSize: ApiJdV2PrefetchOrdersGetPageSizeEnum, + accountId?: number, + accountName?: string, + amount?: number, + platformOrderNo?: string, + status?: ApiJdV2PrefetchOrdersGetStatusEnum, + dateRange?: Array, + options?: RawAxiosRequestConfig + ): Promise< + ( + axios?: AxiosInstance, + basePath?: string + ) => AxiosPromise + > { + const localVarAxiosArgs = + await localVarAxiosParamCreator.apiJdV2PrefetchOrdersGet( + current, + pageSize, + accountId, + accountName, + amount, + platformOrderNo, + status, + dateRange, + options + ); + const localVarOperationServerIndex = configuration?.serverIndex ?? 0; + const localVarOperationServerBasePath = + operationServerMap['JDV2PrefetchApi.apiJdV2PrefetchOrdersGet']?.[ + localVarOperationServerIndex + ]?.url; + return (axios, basePath) => + createRequestFunction( + localVarAxiosArgs, + globalAxios, + BASE_PATH, + configuration + )(axios, localVarOperationServerBasePath || basePath); + } + }; +}; + +/** + * JDV2PrefetchApi - factory interface + */ +export const JDV2PrefetchApiFactory = function ( + configuration?: Configuration, + basePath?: string, + axios?: AxiosInstance +) { + const localVarFp = JDV2PrefetchApiFp(configuration); + return { + /** + * + * @summary 获取预拉取订单日志 + * @param {JDV2PrefetchApiApiJdV2PrefetchLogsGetRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2PrefetchLogsGet( + requestParameters: JDV2PrefetchApiApiJdV2PrefetchLogsGetRequest, + options?: RawAxiosRequestConfig + ): AxiosPromise { + return localVarFp + .apiJdV2PrefetchLogsGet( + requestParameters.startTime, + requestParameters.endTime, + options + ) + .then(request => request(axios, basePath)); + }, + /** + * + * @summary 获取预拉取订单列表 + * @param {JDV2PrefetchApiApiJdV2PrefetchOrdersGetRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2PrefetchOrdersGet( + requestParameters: JDV2PrefetchApiApiJdV2PrefetchOrdersGetRequest, + options?: RawAxiosRequestConfig + ): AxiosPromise { + return localVarFp + .apiJdV2PrefetchOrdersGet( + requestParameters.current, + requestParameters.pageSize, + requestParameters.accountId, + requestParameters.accountName, + requestParameters.amount, + requestParameters.platformOrderNo, + requestParameters.status, + requestParameters.dateRange, + options + ) + .then(request => request(axios, basePath)); + } + }; +}; + +/** + * JDV2PrefetchApi - interface + */ +export interface JDV2PrefetchApiInterface { + /** + * + * @summary 获取预拉取订单日志 + * @param {JDV2PrefetchApiApiJdV2PrefetchLogsGetRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2PrefetchLogsGet( + requestParameters: JDV2PrefetchApiApiJdV2PrefetchLogsGetRequest, + options?: RawAxiosRequestConfig + ): AxiosPromise; + + /** + * + * @summary 获取预拉取订单列表 + * @param {JDV2PrefetchApiApiJdV2PrefetchOrdersGetRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2PrefetchOrdersGet( + requestParameters: JDV2PrefetchApiApiJdV2PrefetchOrdersGetRequest, + options?: RawAxiosRequestConfig + ): AxiosPromise; +} + +/** + * Request parameters for apiJdV2PrefetchLogsGet operation in JDV2PrefetchApi. + */ +export interface JDV2PrefetchApiApiJdV2PrefetchLogsGetRequest { + /** + * 开始时间 + */ + readonly startTime: string; + + /** + * 结束时间 + */ + readonly endTime: string; +} + +/** + * Request parameters for apiJdV2PrefetchOrdersGet operation in JDV2PrefetchApi. + */ +export interface JDV2PrefetchApiApiJdV2PrefetchOrdersGetRequest { + /** + * 页数 + */ + readonly current: number; + + /** + * 页码 + */ + readonly pageSize: ApiJdV2PrefetchOrdersGetPageSizeEnum; + + /** + * 账号ID + */ + readonly accountId?: number; + + /** + * 账号名称 + */ + readonly accountName?: string; + + /** + * 订单金额 + */ + readonly amount?: number; + + /** + * 平台订单号 + */ + readonly platformOrderNo?: string; + + /** + * 状态:1待匹配 2已匹配 3已过期 4已失效 + */ + readonly status?: ApiJdV2PrefetchOrdersGetStatusEnum; + + /** + * 时间范围 + */ + readonly dateRange?: Array; +} + +/** + * JDV2PrefetchApi - object-oriented interface + */ +export class JDV2PrefetchApi + extends BaseAPI + implements JDV2PrefetchApiInterface +{ + /** + * + * @summary 获取预拉取订单日志 + * @param {JDV2PrefetchApiApiJdV2PrefetchLogsGetRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + public apiJdV2PrefetchLogsGet( + requestParameters: JDV2PrefetchApiApiJdV2PrefetchLogsGetRequest, + options?: RawAxiosRequestConfig + ) { + return JDV2PrefetchApiFp(this.configuration) + .apiJdV2PrefetchLogsGet( + requestParameters.startTime, + requestParameters.endTime, + options + ) + .then(request => request(this.axios, this.basePath)); + } + + /** + * + * @summary 获取预拉取订单列表 + * @param {JDV2PrefetchApiApiJdV2PrefetchOrdersGetRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + public apiJdV2PrefetchOrdersGet( + requestParameters: JDV2PrefetchApiApiJdV2PrefetchOrdersGetRequest, + options?: RawAxiosRequestConfig + ) { + return JDV2PrefetchApiFp(this.configuration) + .apiJdV2PrefetchOrdersGet( + requestParameters.current, + requestParameters.pageSize, + requestParameters.accountId, + requestParameters.accountName, + requestParameters.amount, + requestParameters.platformOrderNo, + requestParameters.status, + requestParameters.dateRange, + options + ) + .then(request => request(this.axios, this.basePath)); + } +} + +export enum ApiJdV2PrefetchOrdersGetPageSizeEnum { + NUMBER_5 = 5, + NUMBER_10 = 10, + NUMBER_15 = 15, + NUMBER_20 = 20, + NUMBER_50 = 50, + NUMBER_100 = 100 +} +export enum ApiJdV2PrefetchOrdersGetStatusEnum { + NUMBER_3 = 3, + NUMBER_4 = 4, + NUMBER_2 = 2, + NUMBER_1 = 1 +} diff --git a/src/api/generated/apis/jdv2-settings-api.ts b/src/api/generated/apis/jdv2-settings-api.ts new file mode 100644 index 0000000..b9bea05 --- /dev/null +++ b/src/api/generated/apis/jdv2-settings-api.ts @@ -0,0 +1,327 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import type { Configuration } from '../configuration'; +import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; +import globalAxios from 'axios'; +// Some imports not used depending on template conditions +// @ts-ignore +import { + DUMMY_BASE_URL, + assertParamExists, + setApiKeyToObject, + setBasicAuthToObject, + setBearerAuthToObject, + setOAuthToObject, + setSearchParams, + serializeDataIfNeeded, + toPathString, + createRequestFunction +} from '../common'; +// @ts-ignore +import { + BASE_PATH, + COLLECTION_FORMATS, + type RequestArgs, + BaseAPI, + RequiredError, + operationServerMap +} from '../base'; +// @ts-ignore +import type { KamiApiCamelOilV1GetSettingsRes } from '../models'; +// @ts-ignore +import type { KamiApiCamelOilV1UpdateSettingsReq } from '../models'; +/** + * JDV2SettingsApi - axios parameter creator + */ +export const JDV2SettingsApiAxiosParamCreator = function ( + configuration?: Configuration +) { + return { + /** + * + * @summary 获取骆驼模块设置 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2SettingsGetGet: async ( + options: RawAxiosRequestConfig = {} + ): Promise => { + const localVarPath = `/api/jd-v2/settings/get`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { + method: 'GET', + ...baseOptions, + ...options + }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = + baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = { + ...localVarHeaderParameter, + ...headersFromBaseOptions, + ...options.headers + }; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions + }; + }, + /** + * + * @summary 更新骆驼模块设置 + * @param {KamiApiCamelOilV1UpdateSettingsReq} [kamiApiCamelOilV1UpdateSettingsReq] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2SettingsUpdatePost: async ( + kamiApiCamelOilV1UpdateSettingsReq?: KamiApiCamelOilV1UpdateSettingsReq, + options: RawAxiosRequestConfig = {} + ): Promise => { + const localVarPath = `/api/jd-v2/settings/update`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { + method: 'POST', + ...baseOptions, + ...options + }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = + baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = { + ...localVarHeaderParameter, + ...headersFromBaseOptions, + ...options.headers + }; + localVarRequestOptions.data = serializeDataIfNeeded( + kamiApiCamelOilV1UpdateSettingsReq, + localVarRequestOptions, + configuration + ); + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions + }; + } + }; +}; + +/** + * JDV2SettingsApi - functional programming interface + */ +export const JDV2SettingsApiFp = function (configuration?: Configuration) { + const localVarAxiosParamCreator = + JDV2SettingsApiAxiosParamCreator(configuration); + return { + /** + * + * @summary 获取骆驼模块设置 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiJdV2SettingsGetGet( + options?: RawAxiosRequestConfig + ): Promise< + ( + axios?: AxiosInstance, + basePath?: string + ) => AxiosPromise + > { + const localVarAxiosArgs = + await localVarAxiosParamCreator.apiJdV2SettingsGetGet(options); + const localVarOperationServerIndex = configuration?.serverIndex ?? 0; + const localVarOperationServerBasePath = + operationServerMap['JDV2SettingsApi.apiJdV2SettingsGetGet']?.[ + localVarOperationServerIndex + ]?.url; + return (axios, basePath) => + createRequestFunction( + localVarAxiosArgs, + globalAxios, + BASE_PATH, + configuration + )(axios, localVarOperationServerBasePath || basePath); + }, + /** + * + * @summary 更新骆驼模块设置 + * @param {KamiApiCamelOilV1UpdateSettingsReq} [kamiApiCamelOilV1UpdateSettingsReq] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiJdV2SettingsUpdatePost( + kamiApiCamelOilV1UpdateSettingsReq?: KamiApiCamelOilV1UpdateSettingsReq, + options?: RawAxiosRequestConfig + ): Promise< + (axios?: AxiosInstance, basePath?: string) => AxiosPromise + > { + const localVarAxiosArgs = + await localVarAxiosParamCreator.apiJdV2SettingsUpdatePost( + kamiApiCamelOilV1UpdateSettingsReq, + options + ); + const localVarOperationServerIndex = configuration?.serverIndex ?? 0; + const localVarOperationServerBasePath = + operationServerMap['JDV2SettingsApi.apiJdV2SettingsUpdatePost']?.[ + localVarOperationServerIndex + ]?.url; + return (axios, basePath) => + createRequestFunction( + localVarAxiosArgs, + globalAxios, + BASE_PATH, + configuration + )(axios, localVarOperationServerBasePath || basePath); + } + }; +}; + +/** + * JDV2SettingsApi - factory interface + */ +export const JDV2SettingsApiFactory = function ( + configuration?: Configuration, + basePath?: string, + axios?: AxiosInstance +) { + const localVarFp = JDV2SettingsApiFp(configuration); + return { + /** + * + * @summary 获取骆驼模块设置 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2SettingsGetGet( + options?: RawAxiosRequestConfig + ): AxiosPromise { + return localVarFp + .apiJdV2SettingsGetGet(options) + .then(request => request(axios, basePath)); + }, + /** + * + * @summary 更新骆驼模块设置 + * @param {JDV2SettingsApiApiJdV2SettingsUpdatePostRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2SettingsUpdatePost( + requestParameters: JDV2SettingsApiApiJdV2SettingsUpdatePostRequest = {}, + options?: RawAxiosRequestConfig + ): AxiosPromise { + return localVarFp + .apiJdV2SettingsUpdatePost( + requestParameters.kamiApiCamelOilV1UpdateSettingsReq, + options + ) + .then(request => request(axios, basePath)); + } + }; +}; + +/** + * JDV2SettingsApi - interface + */ +export interface JDV2SettingsApiInterface { + /** + * + * @summary 获取骆驼模块设置 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2SettingsGetGet( + options?: RawAxiosRequestConfig + ): AxiosPromise; + + /** + * + * @summary 更新骆驼模块设置 + * @param {JDV2SettingsApiApiJdV2SettingsUpdatePostRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2SettingsUpdatePost( + requestParameters?: JDV2SettingsApiApiJdV2SettingsUpdatePostRequest, + options?: RawAxiosRequestConfig + ): AxiosPromise; +} + +/** + * Request parameters for apiJdV2SettingsUpdatePost operation in JDV2SettingsApi. + */ +export interface JDV2SettingsApiApiJdV2SettingsUpdatePostRequest { + readonly kamiApiCamelOilV1UpdateSettingsReq?: KamiApiCamelOilV1UpdateSettingsReq; +} + +/** + * JDV2SettingsApi - object-oriented interface + */ +export class JDV2SettingsApi + extends BaseAPI + implements JDV2SettingsApiInterface +{ + /** + * + * @summary 获取骆驼模块设置 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + public apiJdV2SettingsGetGet(options?: RawAxiosRequestConfig) { + return JDV2SettingsApiFp(this.configuration) + .apiJdV2SettingsGetGet(options) + .then(request => request(this.axios, this.basePath)); + } + + /** + * + * @summary 更新骆驼模块设置 + * @param {JDV2SettingsApiApiJdV2SettingsUpdatePostRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + public apiJdV2SettingsUpdatePost( + requestParameters: JDV2SettingsApiApiJdV2SettingsUpdatePostRequest = {}, + options?: RawAxiosRequestConfig + ) { + return JDV2SettingsApiFp(this.configuration) + .apiJdV2SettingsUpdatePost( + requestParameters.kamiApiCamelOilV1UpdateSettingsReq, + options + ) + .then(request => request(this.axios, this.basePath)); + } +} diff --git a/src/api/generated/docs/JDV2PrefetchApi.md b/src/api/generated/docs/JDV2PrefetchApi.md new file mode 100644 index 0000000..e79033a --- /dev/null +++ b/src/api/generated/docs/JDV2PrefetchApi.md @@ -0,0 +1,124 @@ +# JDV2PrefetchApi + +All URIs are relative to _http://localhost_ + +| Method | HTTP request | Description | +| --------------------------------------------------------- | ---------------------------------- | ------------------ | +| [**apiJdV2PrefetchLogsGet**](#apijdv2prefetchlogsget) | **GET** /api/jd-v2/prefetch/logs | 获取预拉取订单日志 | +| [**apiJdV2PrefetchOrdersGet**](#apijdv2prefetchordersget) | **GET** /api/jd-v2/prefetch/orders | 获取预拉取订单列表 | + +# **apiJdV2PrefetchLogsGet** + +> KamiApiCamelOilV1GetPrefetchOrderLogsRes apiJdV2PrefetchLogsGet() + +### Example + +```typescript +import { JDV2PrefetchApi, Configuration } from './api'; + +const configuration = new Configuration(); +const apiInstance = new JDV2PrefetchApi(configuration); + +let startTime: string; //开始时间 (default to undefined) +let endTime: string; //结束时间 (default to undefined) + +const { status, data } = await apiInstance.apiJdV2PrefetchLogsGet( + startTime, + endTime +); +``` + +### Parameters + +| Name | Type | Description | Notes | +| ------------- | ------------ | ----------- | --------------------- | +| **startTime** | [**string**] | 开始时间 | defaults to undefined | +| **endTime** | [**string**] | 结束时间 | defaults to undefined | + +### Return type + +**KamiApiCamelOilV1GetPrefetchOrderLogsRes** + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +| ----------- | ----------- | ---------------- | +| **200** | | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **apiJdV2PrefetchOrdersGet** + +> KamiApiCamelOilV1ListPrefetchOrderRes apiJdV2PrefetchOrdersGet() + +### Example + +```typescript +import { JDV2PrefetchApi, Configuration } from './api'; + +const configuration = new Configuration(); +const apiInstance = new JDV2PrefetchApi(configuration); + +let current: number; //页数 (default to undefined) +let pageSize: 5 | 10 | 15 | 20 | 50 | 100; //页码 (default to undefined) +let accountId: number; //账号ID (optional) (default to undefined) +let accountName: string; //账号名称 (optional) (default to undefined) +let amount: number; //订单金额 (optional) (default to undefined) +let platformOrderNo: string; //平台订单号 (optional) (default to undefined) +let status: 3 | 4 | 2 | 1; //状态:1待匹配 2已匹配 3已过期 4已失效 (optional) (default to undefined) +let dateRange: Array; //时间范围 (optional) (default to undefined) + +const { status, data } = await apiInstance.apiJdV2PrefetchOrdersGet( + current, + pageSize, + accountId, + accountName, + amount, + platformOrderNo, + status, + dateRange +); +``` + +### Parameters + +| Name | Type | Description | Notes | +| ------------------- | ----------------------- | ----------- | -------------------------------- | --------------------------------------------- | ------------------------------------- | ----------------------------------------------------------------------- | ---- | --------------------- | +| **current** | [**number**] | 页数 | defaults to undefined | +| **pageSize** | [\*\*5 | 10 | 15 | 20 | 50 | 100**]**Array<5 | 10 | 15 | 20 | 50 | 100>\*\* | 页码 | defaults to undefined | +| **accountId** | [**number**] | 账号ID | (optional) defaults to undefined | +| **accountName** | [**string**] | 账号名称 | (optional) defaults to undefined | +| **amount** | [**number**] | 订单金额 | (optional) defaults to undefined | +| **platformOrderNo** | [**string**] | 平台订单号 | (optional) defaults to undefined | +| **status** | [\*\*3 | 4 | 2 | 1**]**Array<3 | 4 | 2 | 1>\*\* | 状态:1待匹配 2已匹配 3已过期 4已失效 | (optional) defaults to undefined | +| **dateRange** | **Array<string>** | 时间范围 | (optional) defaults to undefined | + +### Return type + +**KamiApiCamelOilV1ListPrefetchOrderRes** + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +| ----------- | ----------- | ---------------- | +| **200** | | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/JDV2SettingsApi.md b/src/api/generated/docs/JDV2SettingsApi.md new file mode 100644 index 0000000..307caf5 --- /dev/null +++ b/src/api/generated/docs/JDV2SettingsApi.md @@ -0,0 +1,98 @@ +# JDV2SettingsApi + +All URIs are relative to _http://localhost_ + +| Method | HTTP request | Description | +| ----------------------------------------------------------- | ----------------------------------- | ---------------- | +| [**apiJdV2SettingsGetGet**](#apijdv2settingsgetget) | **GET** /api/jd-v2/settings/get | 获取骆驼模块设置 | +| [**apiJdV2SettingsUpdatePost**](#apijdv2settingsupdatepost) | **POST** /api/jd-v2/settings/update | 更新骆驼模块设置 | + +# **apiJdV2SettingsGetGet** + +> KamiApiCamelOilV1GetSettingsRes apiJdV2SettingsGetGet() + +### Example + +```typescript +import { JDV2SettingsApi, Configuration } from './api'; + +const configuration = new Configuration(); +const apiInstance = new JDV2SettingsApi(configuration); + +const { status, data } = await apiInstance.apiJdV2SettingsGetGet(); +``` + +### Parameters + +This endpoint does not have any parameters. + +### Return type + +**KamiApiCamelOilV1GetSettingsRes** + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +| ----------- | ----------- | ---------------- | +| **200** | | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **apiJdV2SettingsUpdatePost** + +> object apiJdV2SettingsUpdatePost() + +### Example + +```typescript +import { + JDV2SettingsApi, + Configuration, + KamiApiCamelOilV1UpdateSettingsReq +} from './api'; + +const configuration = new Configuration(); +const apiInstance = new JDV2SettingsApi(configuration); + +let kamiApiCamelOilV1UpdateSettingsReq: KamiApiCamelOilV1UpdateSettingsReq; // (optional) + +const { status, data } = await apiInstance.apiJdV2SettingsUpdatePost( + kamiApiCamelOilV1UpdateSettingsReq +); +``` + +### Parameters + +| Name | Type | Description | Notes | +| -------------------------------------- | -------------------------------------- | ----------- | ----- | +| **kamiApiCamelOilV1UpdateSettingsReq** | **KamiApiCamelOilV1UpdateSettingsReq** | | | + +### Return type + +**object** + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +| ----------- | ----------- | ---------------- | +| **200** | | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1DenominationSetting.md b/src/api/generated/docs/KamiApiCamelOilV1DenominationSetting.md new file mode 100644 index 0000000..c84ef74 --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1DenominationSetting.md @@ -0,0 +1,23 @@ +# KamiApiCamelOilV1DenominationSetting + +## Properties + +| Name | Type | Description | Notes | +| ------------------ | ---------- | -------------------------------------------------------- | --------------------------------- | +| **denomination** | **number** | 面额值,如100、200、500等 | [optional] [default to undefined] | +| **minCapacity** | **number** | 该面额预拉取订单最小库存阈值(当库存低于此值时触发补充) | [optional] [default to undefined] | +| **targetCapacity** | **number** | 该面额预拉取订单目标库存(补充时的目标数量) | [optional] [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1DenominationSetting } from './api'; + +const instance: KamiApiCamelOilV1DenominationSetting = { + denomination, + minCapacity, + targetCapacity +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1GetPrefetchOrderLogsReq.md b/src/api/generated/docs/KamiApiCamelOilV1GetPrefetchOrderLogsReq.md new file mode 100644 index 0000000..be44a16 --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1GetPrefetchOrderLogsReq.md @@ -0,0 +1,21 @@ +# KamiApiCamelOilV1GetPrefetchOrderLogsReq + +## Properties + +| Name | Type | Description | Notes | +| ------------- | ---------- | ----------- | ---------------------- | +| **startTime** | **string** | 开始时间 | [default to undefined] | +| **endTime** | **string** | 结束时间 | [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1GetPrefetchOrderLogsReq } from './api'; + +const instance: KamiApiCamelOilV1GetPrefetchOrderLogsReq = { + startTime, + endTime +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1GetPrefetchOrderLogsRes.md b/src/api/generated/docs/KamiApiCamelOilV1GetPrefetchOrderLogsRes.md new file mode 100644 index 0000000..24a57d3 --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1GetPrefetchOrderLogsRes.md @@ -0,0 +1,19 @@ +# KamiApiCamelOilV1GetPrefetchOrderLogsRes + +## Properties + +| Name | Type | Description | Notes | +| -------- | -------------------------------------------------------------------------------------------------- | ------------------ | --------------------------------- | +| **logs** | [**Array<KamiApiCamelOilV1PrefetchOrderLogItem>**](KamiApiCamelOilV1PrefetchOrderLogItem.md) | 预拉取订单日志列表 | [optional] [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1GetPrefetchOrderLogsRes } from './api'; + +const instance: KamiApiCamelOilV1GetPrefetchOrderLogsRes = { + logs +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1GetSettingsRes.md b/src/api/generated/docs/KamiApiCamelOilV1GetSettingsRes.md new file mode 100644 index 0000000..04ac2b5 --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1GetSettingsRes.md @@ -0,0 +1,27 @@ +# KamiApiCamelOilV1GetSettingsRes + +## Properties + +| Name | Type | Description | Notes | +| ------------------------------- | ------------------------------------------------------------------------------------------------ | ------------------------------ | --------------------------------- | +| **useHaozhuPlatform** | **boolean** | 是否从豪猪平台获取手机号登录 | [optional] [default to undefined] | +| **loginAccountCount** | **number** | 要登录的手机号数量 | [optional] [default to undefined] | +| **prefetchConcurrencyAccounts** | **number** | 提前拉单并发的账号数量 | [optional] [default to undefined] | +| **singleAccountConcurrency** | **number** | 单个账号的并发数量 | [optional] [default to undefined] | +| **targetDenominations** | [**Array<KamiApiCamelOilV1DenominationSetting>**](KamiApiCamelOilV1DenominationSetting.md) | 要获取的面额和对应库存设置列表 | [optional] [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1GetSettingsRes } from './api'; + +const instance: KamiApiCamelOilV1GetSettingsRes = { + useHaozhuPlatform, + loginAccountCount, + prefetchConcurrencyAccounts, + singleAccountConcurrency, + targetDenominations +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1ListPrefetchOrderReq.md b/src/api/generated/docs/KamiApiCamelOilV1ListPrefetchOrderReq.md new file mode 100644 index 0000000..d04bf0e --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1ListPrefetchOrderReq.md @@ -0,0 +1,33 @@ +# KamiApiCamelOilV1ListPrefetchOrderReq + +## Properties + +| Name | Type | Description | Notes | +| ------------------- | ----------------------- | ------------------------------------- | --------------------------------- | +| **current** | **number** | 页数 | [default to undefined] | +| **pageSize** | **number** | 页码 | [default to undefined] | +| **accountId** | **number** | 账号ID | [optional] [default to undefined] | +| **accountName** | **string** | 账号名称 | [optional] [default to undefined] | +| **amount** | **number** | 订单金额 | [optional] [default to undefined] | +| **platformOrderNo** | **string** | 平台订单号 | [optional] [default to undefined] | +| **status** | **number** | 状态:1待匹配 2已匹配 3已过期 4已失效 | [optional] [default to undefined] | +| **dateRange** | **Array<string>** | 时间范围 | [optional] [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1ListPrefetchOrderReq } from './api'; + +const instance: KamiApiCamelOilV1ListPrefetchOrderReq = { + current, + pageSize, + accountId, + accountName, + amount, + platformOrderNo, + status, + dateRange +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1ListPrefetchOrderRes.md b/src/api/generated/docs/KamiApiCamelOilV1ListPrefetchOrderRes.md new file mode 100644 index 0000000..38498dc --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1ListPrefetchOrderRes.md @@ -0,0 +1,21 @@ +# KamiApiCamelOilV1ListPrefetchOrderRes + +## Properties + +| Name | Type | Description | Notes | +| --------- | ---------------------------------------------------------------------------------------------------- | ----------- | --------------------------------- | +| **total** | **number** | | [optional] [default to undefined] | +| **list** | [**Array<KamiApiCamelOilV1PrefetchOrderListItem>**](KamiApiCamelOilV1PrefetchOrderListItem.md) | | [optional] [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1ListPrefetchOrderRes } from './api'; + +const instance: KamiApiCamelOilV1ListPrefetchOrderRes = { + total, + list +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1PrefetchOrderListItem.md b/src/api/generated/docs/KamiApiCamelOilV1PrefetchOrderListItem.md new file mode 100644 index 0000000..91c85ce --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1PrefetchOrderListItem.md @@ -0,0 +1,45 @@ +# KamiApiCamelOilV1PrefetchOrderListItem + +## Properties + +| Name | Type | Description | Notes | +| ------------------- | ---------- | ----------------------------------------------- | --------------------------------- | +| **id** | **number** | 主键ID | [optional] [default to undefined] | +| **accountId** | **number** | 拉取时使用的账号ID | [optional] [default to undefined] | +| **accountName** | **string** | 账号名称 | [optional] [default to undefined] | +| **amount** | **number** | 预拉取订单金额 | [optional] [default to undefined] | +| **platformOrderNo** | **string** | 骆驼平台订单号 | [optional] [default to undefined] | +| **alipayUrl** | **string** | 支付宝支付链接 | [optional] [default to undefined] | +| **status** | **number** | 预拉取订单状态:1待匹配 2已匹配 3已过期 4已失效 | [optional] [default to undefined] | +| **orderNo** | **string** | 匹配后的订单号 | [optional] [default to undefined] | +| **matchedAt** | **string** | 匹配时间 | [optional] [default to undefined] | +| **expireAt** | **string** | 预拉取订单过期时间 | [optional] [default to undefined] | +| **failureReason** | **string** | 失败原因 | [optional] [default to undefined] | +| **remark** | **string** | 备注信息 | [optional] [default to undefined] | +| **createdAt** | **string** | 创建时间 | [optional] [default to undefined] | +| **updatedAt** | **string** | 更新时间 | [optional] [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1PrefetchOrderListItem } from './api'; + +const instance: KamiApiCamelOilV1PrefetchOrderListItem = { + id, + accountId, + accountName, + amount, + platformOrderNo, + alipayUrl, + status, + orderNo, + matchedAt, + expireAt, + failureReason, + remark, + createdAt, + updatedAt +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1PrefetchOrderLogItem.md b/src/api/generated/docs/KamiApiCamelOilV1PrefetchOrderLogItem.md new file mode 100644 index 0000000..3e4fe02 --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1PrefetchOrderLogItem.md @@ -0,0 +1,25 @@ +# KamiApiCamelOilV1PrefetchOrderLogItem + +## Properties + +| Name | Type | Description | Notes | +| ---------------- | ---------- | --------------- | --------------------------------- | +| **timestamp** | **string** | 请求时间戳 | [optional] [default to undefined] | +| **phone** | **string** | 手机号(脱敏) | [optional] [default to undefined] | +| **amount** | **number** | 订单面额 | [optional] [default to undefined] | +| **responseData** | **string** | API响应原始数据 | [optional] [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1PrefetchOrderLogItem } from './api'; + +const instance: KamiApiCamelOilV1PrefetchOrderLogItem = { + timestamp, + phone, + amount, + responseData +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1TokenInfo.md b/src/api/generated/docs/KamiApiCamelOilV1TokenInfo.md index 42474f0..3134c05 100644 --- a/src/api/generated/docs/KamiApiCamelOilV1TokenInfo.md +++ b/src/api/generated/docs/KamiApiCamelOilV1TokenInfo.md @@ -2,23 +2,24 @@ ## Properties -| Name | Type | Description | Notes | -| ----------------------- | ---------- | -------------- | --------------------------------- | -| **id** | **number** | Token ID | [optional] [default to undefined] | -| **tokenName** | **string** | Token名称 | [optional] [default to undefined] | -| **tokenValue** | **string** | Token值 | [optional] [default to undefined] | -| **phone** | **string** | 绑定的手机号 | [optional] [default to undefined] | -| **status** | **number** | 状态 | [optional] [default to undefined] | -| **bindCount** | **number** | 已绑定卡密数量 | [optional] [default to undefined] | -| **totalBindAmount** | **number** | 累计绑定金额 | [optional] [default to undefined] | -| **totalRechargeAmount** | **number** | 总充值金额 | [optional] [default to undefined] | -| **rechargeLimitAmount** | **number** | 充值金额限制 | [optional] [default to undefined] | -| **rechargeLimitCount** | **number** | 充值次数限制 | [optional] [default to undefined] | -| **lastBindAt** | **string** | 最后绑定时间 | [optional] [default to undefined] | -| **lastUsedAt** | **string** | 最后使用时间 | [optional] [default to undefined] | -| **remark** | **string** | 备注 | [optional] [default to undefined] | -| **createdAt** | **string** | 创建时间 | [optional] [default to undefined] | -| **updatedAt** | **string** | 更新时间 | [optional] [default to undefined] | +| Name | Type | Description | Notes | +| ----------------------- | ---------- | ------------------------------ | --------------------------------- | +| **id** | **number** | Token ID | [optional] [default to undefined] | +| **userId** | **string** | 用户ID,空字符串表示管理员创建 | [optional] [default to undefined] | +| **tokenName** | **string** | Token名称 | [optional] [default to undefined] | +| **tokenValue** | **string** | Token值 | [optional] [default to undefined] | +| **phone** | **string** | 绑定的手机号 | [optional] [default to undefined] | +| **status** | **number** | 状态 | [optional] [default to undefined] | +| **bindCount** | **number** | 已绑定卡密数量 | [optional] [default to undefined] | +| **totalBindAmount** | **number** | 累计绑定金额 | [optional] [default to undefined] | +| **totalRechargeAmount** | **number** | 总充值金额 | [optional] [default to undefined] | +| **rechargeLimitAmount** | **number** | 充值金额限制 | [optional] [default to undefined] | +| **rechargeLimitCount** | **number** | 充值次数限制 | [optional] [default to undefined] | +| **lastBindAt** | **string** | 最后绑定时间 | [optional] [default to undefined] | +| **lastUsedAt** | **string** | 最后使用时间 | [optional] [default to undefined] | +| **remark** | **string** | 备注 | [optional] [default to undefined] | +| **createdAt** | **string** | 创建时间 | [optional] [default to undefined] | +| **updatedAt** | **string** | 更新时间 | [optional] [default to undefined] | ## Example @@ -27,6 +28,7 @@ import { KamiApiCamelOilV1TokenInfo } from './api'; const instance: KamiApiCamelOilV1TokenInfo = { id, + userId, tokenName, tokenValue, phone, diff --git a/src/api/generated/docs/KamiApiCamelOilV1UpdateSettingsReq.md b/src/api/generated/docs/KamiApiCamelOilV1UpdateSettingsReq.md new file mode 100644 index 0000000..7ca46f5 --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1UpdateSettingsReq.md @@ -0,0 +1,27 @@ +# KamiApiCamelOilV1UpdateSettingsReq + +## Properties + +| Name | Type | Description | Notes | +| ------------------------------- | ------------------------------------------------------------------------------------------------ | ------------------------------ | --------------------------------- | +| **useHaozhuPlatform** | **boolean** | 是否从豪猪平台获取手机号登录 | [optional] [default to undefined] | +| **loginAccountCount** | **number** | 要登录的手机号数量 | [optional] [default to undefined] | +| **prefetchConcurrencyAccounts** | **number** | 提前拉单并发的账号数量 | [optional] [default to undefined] | +| **singleAccountConcurrency** | **number** | 单个账号的并发数量 | [optional] [default to undefined] | +| **targetDenominations** | [**Array<KamiApiCamelOilV1DenominationSetting>**](KamiApiCamelOilV1DenominationSetting.md) | 要获取的面额和对应库存设置列表 | [optional] [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1UpdateSettingsReq } from './api'; + +const instance: KamiApiCamelOilV1UpdateSettingsReq = { + useHaozhuPlatform, + loginAccountCount, + prefetchConcurrencyAccounts, + singleAccountConcurrency, + targetDenominations +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/models/index.ts b/src/api/generated/models/index.ts index d1efaac..a60c33e 100644 --- a/src/api/generated/models/index.ts +++ b/src/api/generated/models/index.ts @@ -19,6 +19,10 @@ export * from './kami-api-camel-oil-v1-create-token-req'; export * from './kami-api-camel-oil-v1-create-token-res'; export * from './kami-api-camel-oil-v1-delete-token-req'; export * from './kami-api-camel-oil-v1-delete-token-res'; +export * from './kami-api-camel-oil-v1-denomination-setting'; +export * from './kami-api-camel-oil-v1-get-prefetch-order-logs-req'; +export * from './kami-api-camel-oil-v1-get-prefetch-order-logs-res'; +export * from './kami-api-camel-oil-v1-get-settings-res'; export * from './kami-api-camel-oil-v1-get-token-req'; export * from './kami-api-camel-oil-v1-get-token-res'; export * from './kami-api-camel-oil-v1-list-account-req'; @@ -27,6 +31,8 @@ export * from './kami-api-camel-oil-v1-list-card-bindings-by-token-req'; export * from './kami-api-camel-oil-v1-list-card-bindings-by-token-res'; export * from './kami-api-camel-oil-v1-list-order-req'; export * from './kami-api-camel-oil-v1-list-order-res'; +export * from './kami-api-camel-oil-v1-list-prefetch-order-req'; +export * from './kami-api-camel-oil-v1-list-prefetch-order-res'; export * from './kami-api-camel-oil-v1-list-tokens-req'; export * from './kami-api-camel-oil-v1-list-tokens-res'; export * from './kami-api-camel-oil-v1-order-callback-req'; @@ -39,9 +45,12 @@ export * from './kami-api-camel-oil-v1-order-history-item'; export * from './kami-api-camel-oil-v1-order-history-req'; export * from './kami-api-camel-oil-v1-order-history-res'; export * from './kami-api-camel-oil-v1-order-list-item'; +export * from './kami-api-camel-oil-v1-prefetch-order-list-item'; +export * from './kami-api-camel-oil-v1-prefetch-order-log-item'; export * from './kami-api-camel-oil-v1-submit-order-req'; export * from './kami-api-camel-oil-v1-submit-order-res'; export * from './kami-api-camel-oil-v1-token-info'; +export * from './kami-api-camel-oil-v1-update-settings-req'; export * from './kami-api-camel-oil-v1-update-token-req'; export * from './kami-api-camel-oil-v1-update-token-res'; export * from './kami-api-card-info-apple-v1-apple-card-list-record'; diff --git a/src/api/generated/models/kami-api-camel-oil-v1-denomination-setting.ts b/src/api/generated/models/kami-api-camel-oil-v1-denomination-setting.ts new file mode 100644 index 0000000..d1c8a59 --- /dev/null +++ b/src/api/generated/models/kami-api-camel-oil-v1-denomination-setting.ts @@ -0,0 +1,28 @@ +/* tslint:disable */ + +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +export interface KamiApiCamelOilV1DenominationSetting { + /** + * 面额值,如100、200、500等 + */ + denomination?: number; + /** + * 该面额预拉取订单最小库存阈值(当库存低于此值时触发补充) + */ + minCapacity?: number; + /** + * 该面额预拉取订单目标库存(补充时的目标数量) + */ + targetCapacity?: number; +} diff --git a/src/api/generated/models/kami-api-camel-oil-v1-get-prefetch-order-logs-req.ts b/src/api/generated/models/kami-api-camel-oil-v1-get-prefetch-order-logs-req.ts new file mode 100644 index 0000000..57c023a --- /dev/null +++ b/src/api/generated/models/kami-api-camel-oil-v1-get-prefetch-order-logs-req.ts @@ -0,0 +1,24 @@ +/* tslint:disable */ + +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +export interface KamiApiCamelOilV1GetPrefetchOrderLogsReq { + /** + * 开始时间 + */ + startTime: string; + /** + * 结束时间 + */ + endTime: string; +} diff --git a/src/api/generated/models/kami-api-camel-oil-v1-get-prefetch-order-logs-res.ts b/src/api/generated/models/kami-api-camel-oil-v1-get-prefetch-order-logs-res.ts new file mode 100644 index 0000000..cb379c9 --- /dev/null +++ b/src/api/generated/models/kami-api-camel-oil-v1-get-prefetch-order-logs-res.ts @@ -0,0 +1,24 @@ +/* tslint:disable */ + +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +// May contain unused imports in some cases +// @ts-ignore +import type { KamiApiCamelOilV1PrefetchOrderLogItem } from './kami-api-camel-oil-v1-prefetch-order-log-item'; + +export interface KamiApiCamelOilV1GetPrefetchOrderLogsRes { + /** + * 预拉取订单日志列表 + */ + logs?: Array; +} diff --git a/src/api/generated/models/kami-api-camel-oil-v1-get-settings-res.ts b/src/api/generated/models/kami-api-camel-oil-v1-get-settings-res.ts new file mode 100644 index 0000000..e6535e0 --- /dev/null +++ b/src/api/generated/models/kami-api-camel-oil-v1-get-settings-res.ts @@ -0,0 +1,40 @@ +/* tslint:disable */ + +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +// May contain unused imports in some cases +// @ts-ignore +import type { KamiApiCamelOilV1DenominationSetting } from './kami-api-camel-oil-v1-denomination-setting'; + +export interface KamiApiCamelOilV1GetSettingsRes { + /** + * 是否从豪猪平台获取手机号登录 + */ + useHaozhuPlatform?: boolean; + /** + * 要登录的手机号数量 + */ + loginAccountCount?: number; + /** + * 提前拉单并发的账号数量 + */ + prefetchConcurrencyAccounts?: number; + /** + * 单个账号的并发数量 + */ + singleAccountConcurrency?: number; + /** + * 要获取的面额和对应库存设置列表 + */ + targetDenominations?: Array; +} diff --git a/src/api/generated/models/kami-api-camel-oil-v1-list-prefetch-order-req.ts b/src/api/generated/models/kami-api-camel-oil-v1-list-prefetch-order-req.ts new file mode 100644 index 0000000..a9dc437 --- /dev/null +++ b/src/api/generated/models/kami-api-camel-oil-v1-list-prefetch-order-req.ts @@ -0,0 +1,63 @@ +/* tslint:disable */ + +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +export interface KamiApiCamelOilV1ListPrefetchOrderReq { + /** + * 页数 + */ + current: number; + /** + * 页码 + */ + pageSize: KamiApiCamelOilV1ListPrefetchOrderReqPageSizeEnum; + /** + * 账号ID + */ + accountId?: number; + /** + * 账号名称 + */ + accountName?: string; + /** + * 订单金额 + */ + amount?: number; + /** + * 平台订单号 + */ + platformOrderNo?: string; + /** + * 状态:1待匹配 2已匹配 3已过期 4已失效 + */ + status?: KamiApiCamelOilV1ListPrefetchOrderReqStatusEnum; + /** + * 时间范围 + */ + dateRange?: Array; +} + +export enum KamiApiCamelOilV1ListPrefetchOrderReqPageSizeEnum { + NUMBER_5 = 5, + NUMBER_10 = 10, + NUMBER_15 = 15, + NUMBER_20 = 20, + NUMBER_50 = 50, + NUMBER_100 = 100 +} +export enum KamiApiCamelOilV1ListPrefetchOrderReqStatusEnum { + NUMBER_3 = 3, + NUMBER_4 = 4, + NUMBER_2 = 2, + NUMBER_1 = 1 +} diff --git a/src/api/generated/models/kami-api-camel-oil-v1-list-prefetch-order-res.ts b/src/api/generated/models/kami-api-camel-oil-v1-list-prefetch-order-res.ts new file mode 100644 index 0000000..61869ea --- /dev/null +++ b/src/api/generated/models/kami-api-camel-oil-v1-list-prefetch-order-res.ts @@ -0,0 +1,22 @@ +/* tslint:disable */ + +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +// May contain unused imports in some cases +// @ts-ignore +import type { KamiApiCamelOilV1PrefetchOrderListItem } from './kami-api-camel-oil-v1-prefetch-order-list-item'; + +export interface KamiApiCamelOilV1ListPrefetchOrderRes { + total?: number; + list?: Array; +} diff --git a/src/api/generated/models/kami-api-camel-oil-v1-prefetch-order-list-item.ts b/src/api/generated/models/kami-api-camel-oil-v1-prefetch-order-list-item.ts new file mode 100644 index 0000000..111d430 --- /dev/null +++ b/src/api/generated/models/kami-api-camel-oil-v1-prefetch-order-list-item.ts @@ -0,0 +1,79 @@ +/* tslint:disable */ + +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +export interface KamiApiCamelOilV1PrefetchOrderListItem { + /** + * 主键ID + */ + id?: number; + /** + * 拉取时使用的账号ID + */ + accountId?: number; + /** + * 账号名称 + */ + accountName?: string; + /** + * 预拉取订单金额 + */ + amount?: number; + /** + * 骆驼平台订单号 + */ + platformOrderNo?: string; + /** + * 支付宝支付链接 + */ + alipayUrl?: string; + /** + * 预拉取订单状态:1待匹配 2已匹配 3已过期 4已失效 + */ + status?: KamiApiCamelOilV1PrefetchOrderListItemStatusEnum; + /** + * 匹配后的订单号 + */ + orderNo?: string; + /** + * 匹配时间 + */ + matchedAt?: string; + /** + * 预拉取订单过期时间 + */ + expireAt?: string; + /** + * 失败原因 + */ + failureReason?: string; + /** + * 备注信息 + */ + remark?: string; + /** + * 创建时间 + */ + createdAt?: string; + /** + * 更新时间 + */ + updatedAt?: string; +} + +export enum KamiApiCamelOilV1PrefetchOrderListItemStatusEnum { + NUMBER_3 = 3, + NUMBER_4 = 4, + NUMBER_2 = 2, + NUMBER_1 = 1 +} diff --git a/src/api/generated/models/kami-api-camel-oil-v1-prefetch-order-log-item.ts b/src/api/generated/models/kami-api-camel-oil-v1-prefetch-order-log-item.ts new file mode 100644 index 0000000..94feb50 --- /dev/null +++ b/src/api/generated/models/kami-api-camel-oil-v1-prefetch-order-log-item.ts @@ -0,0 +1,32 @@ +/* tslint:disable */ + +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +export interface KamiApiCamelOilV1PrefetchOrderLogItem { + /** + * 请求时间戳 + */ + timestamp?: string; + /** + * 手机号(脱敏) + */ + phone?: string; + /** + * 订单面额 + */ + amount?: number; + /** + * API响应原始数据 + */ + responseData?: string; +} diff --git a/src/api/generated/models/kami-api-camel-oil-v1-token-info.ts b/src/api/generated/models/kami-api-camel-oil-v1-token-info.ts index d6cb74c..b931994 100644 --- a/src/api/generated/models/kami-api-camel-oil-v1-token-info.ts +++ b/src/api/generated/models/kami-api-camel-oil-v1-token-info.ts @@ -17,6 +17,10 @@ export interface KamiApiCamelOilV1TokenInfo { * Token ID */ id?: number; + /** + * 用户ID,空字符串表示管理员创建 + */ + userId?: string; /** * Token名称 */ diff --git a/src/api/generated/models/kami-api-camel-oil-v1-update-settings-req.ts b/src/api/generated/models/kami-api-camel-oil-v1-update-settings-req.ts new file mode 100644 index 0000000..a0e9d7d --- /dev/null +++ b/src/api/generated/models/kami-api-camel-oil-v1-update-settings-req.ts @@ -0,0 +1,40 @@ +/* tslint:disable */ + +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +// May contain unused imports in some cases +// @ts-ignore +import type { KamiApiCamelOilV1DenominationSetting } from './kami-api-camel-oil-v1-denomination-setting'; + +export interface KamiApiCamelOilV1UpdateSettingsReq { + /** + * 是否从豪猪平台获取手机号登录 + */ + useHaozhuPlatform?: boolean; + /** + * 要登录的手机号数量 + */ + loginAccountCount?: number; + /** + * 提前拉单并发的账号数量 + */ + prefetchConcurrencyAccounts?: number; + /** + * 单个账号的并发数量 + */ + singleAccountConcurrency?: number; + /** + * 要获取的面额和对应库存设置列表 + */ + targetDenominations?: Array; +} diff --git a/src/api/index.ts b/src/api/index.ts index d130600..11556cd 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -7,7 +7,9 @@ import { JDOrderManagementApi, JDV2AccountApi, JDV2OrderApi, - JDV2TokenManagementApi + JDV2TokenManagementApi, + JDV2PrefetchApi, + JDV2SettingsApi } from './generated'; // 获取API基础URL @@ -54,3 +56,14 @@ export const jdV2TokenClient = new JDV2TokenManagementApi( apiBaseUrl, axios ); +export const jdV2PrefetchClient = new JDV2PrefetchApi( + configuration, + apiBaseUrl, + axios +); + +export const jdV2SettingsClient = new JDV2SettingsApi( + configuration, + apiBaseUrl, + axios +); diff --git a/src/router/routes/modules/camel-oil.ts b/src/router/routes/modules/camel-oil.ts index b4c317f..8f652a5 100644 --- a/src/router/routes/modules/camel-oil.ts +++ b/src/router/routes/modules/camel-oil.ts @@ -16,28 +16,6 @@ const CamelOilMgt: AppRouteRecordRaw = { order: 5 }, children: [ - { - path: 'account', - name: 'camelOilAccount', - component: () => import('@/views/camel-oil-info/account/index.vue'), - meta: { - locale: '账号管理', - requiresAuth: true, - roles: ['*'], - activeMenu: '/camel-oil/account' - } - }, - { - path: 'order', - name: 'camelOilOrder', - component: () => import('@/views/camel-oil-info/order/index.vue'), - meta: { - locale: '订单管理', - requiresAuth: true, - roles: ['*'], - activeMenu: '/camel-oil/order' - } - }, { path: 'token', name: 'camelOilToken', diff --git a/src/router/routes/modules/iframe.ts b/src/router/routes/modules/iframe.ts index b01afac..f7593e5 100644 --- a/src/router/routes/modules/iframe.ts +++ b/src/router/routes/modules/iframe.ts @@ -298,6 +298,17 @@ const IFRAME: AppRouteRecordRaw = { roles: ['*'], activeMenu: '/camel-oil/token' } + }, + { + path: 'camelOilPrefetch', + name: 'camelOilPrefetch', + component: () => import('@/views/camel-oil-info/prefetch/index.vue'), + meta: { + locale: '预拉取订单', + requiresAuth: true, + roles: ['*'], + activeMenu: '/camel-oil/prefetch' + } } ] }; diff --git a/src/views/camel-oil-info/prefetch/components/response-data-modal.vue b/src/views/camel-oil-info/prefetch/components/response-data-modal.vue new file mode 100644 index 0000000..6c7834d --- /dev/null +++ b/src/views/camel-oil-info/prefetch/components/response-data-modal.vue @@ -0,0 +1,133 @@ + + + + + diff --git a/src/views/camel-oil-info/prefetch/components/settings-form.vue b/src/views/camel-oil-info/prefetch/components/settings-form.vue new file mode 100644 index 0000000..8e324b6 --- /dev/null +++ b/src/views/camel-oil-info/prefetch/components/settings-form.vue @@ -0,0 +1,351 @@ + + + + + diff --git a/src/views/camel-oil-info/prefetch/index.vue b/src/views/camel-oil-info/prefetch/index.vue new file mode 100644 index 0000000..ff6563a --- /dev/null +++ b/src/views/camel-oil-info/prefetch/index.vue @@ -0,0 +1,735 @@ + + + + +