build: 添加 Java 和 OpenAPI 工具版本
- 在 .tool-versions 文件中添加 Java OpenJDK 21.0.2 - 在 package.json 中添加 @openapitools/openapi-generator-cli 2.18.4
This commit is contained in:
1
.tool-versions
Normal file
1
.tool-versions
Normal file
@@ -0,0 +1 @@
|
||||
java openjdk-21.0.2
|
||||
@@ -51,6 +51,7 @@
|
||||
"@milkdown/kit": "^7.7.0",
|
||||
"@milkdown/theme-nord": "^7.7.0",
|
||||
"@milkdown/vue": "^7.7.0",
|
||||
"@openapitools/openapi-generator-cli": "^2.18.4",
|
||||
"@vueuse/core": "^10.11.1",
|
||||
"axios": "^1.8.4",
|
||||
"codemirror": "^6.0.1",
|
||||
|
||||
784
pnpm-lock.yaml
generated
784
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -1,2 +1,4 @@
|
||||
ignoredBuiltDependencies:
|
||||
- '@nestjs/core'
|
||||
- '@openapitools/openapi-generator-cli'
|
||||
- vue-echarts
|
||||
|
||||
@@ -175,7 +175,6 @@ models/kami-api-card-info-walmart-v1-account-load-req.ts
|
||||
models/kami-api-card-info-walmart-v1-account-refresh-status-req.ts
|
||||
models/kami-api-card-info-walmart-v1-account-status-detect-req.ts
|
||||
models/kami-api-card-info-walmart-v1-account-status-detect-res.ts
|
||||
models/kami-api-card-info-walmart-v1-account-status-reset-req.ts
|
||||
models/kami-api-card-info-walmart-v1-account-summary-download-req.ts
|
||||
models/kami-api-card-info-walmart-v1-account-update-req.ts
|
||||
models/kami-api-card-info-walmart-v1-account-update-status-req.ts
|
||||
@@ -193,6 +192,7 @@ models/kami-api-card-info-walmart-v1-list-res.ts
|
||||
models/kami-api-card-info-walmart-v1-order-callback-req.ts
|
||||
models/kami-api-card-info-walmart-v1-order-history-req.ts
|
||||
models/kami-api-card-info-walmart-v1-order-history-res.ts
|
||||
models/kami-api-card-info-walmart-v1-order-status-reset-req.ts
|
||||
models/kami-api-card-info-walmart-v1-order-summary-list-req.ts
|
||||
models/kami-api-card-info-walmart-v1-order-summary-list-res.ts
|
||||
models/kami-api-card-info-walmart-v1-order-summary-record.ts
|
||||
|
||||
@@ -251,8 +251,6 @@ import type { KamiApiCardInfoWalmartV1AccountRefreshStatusReq } from '../models'
|
||||
// @ts-ignore
|
||||
import type { KamiApiCardInfoWalmartV1AccountStatusDetectRes } from '../models';
|
||||
// @ts-ignore
|
||||
import type { KamiApiCardInfoWalmartV1AccountStatusResetReq } from '../models';
|
||||
// @ts-ignore
|
||||
import type { KamiApiCardInfoWalmartV1AccountUpdateReq } from '../models';
|
||||
// @ts-ignore
|
||||
import type { KamiApiCardInfoWalmartV1AccountUpdateStatusReq } from '../models';
|
||||
@@ -271,6 +269,8 @@ import type { KamiApiCardInfoWalmartV1ListRes } from '../models';
|
||||
// @ts-ignore
|
||||
import type { KamiApiCardInfoWalmartV1OrderHistoryRes } from '../models';
|
||||
// @ts-ignore
|
||||
import type { KamiApiCardInfoWalmartV1OrderStatusResetReq } from '../models';
|
||||
// @ts-ignore
|
||||
import type { KamiApiCardInfoWalmartV1OrderSummaryListRes } from '../models';
|
||||
// @ts-ignore
|
||||
import type { KamiApiCardInfoWalmartV1RedeemConfigGetRes } from '../models';
|
||||
@@ -5233,54 +5233,6 @@ export const DefaultApiAxiosParamCreator = function (
|
||||
options: localVarRequestOptions
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 重置账户状态
|
||||
* @param {KamiApiCardInfoWalmartV1AccountStatusResetReq} [kamiApiCardInfoWalmartV1AccountStatusResetReq]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiCardInfoWalmartAccountStatusResetPut: async (
|
||||
kamiApiCardInfoWalmartV1AccountStatusResetReq?: KamiApiCardInfoWalmartV1AccountStatusResetReq,
|
||||
options: RawAxiosRequestConfig = {}
|
||||
): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/cardInfo/walmart/account/statusReset`;
|
||||
// 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: 'PUT',
|
||||
...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(
|
||||
kamiApiCardInfoWalmartV1AccountStatusResetReq,
|
||||
localVarRequestOptions,
|
||||
configuration
|
||||
);
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
options: localVarRequestOptions
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 下载充值账户
|
||||
@@ -5969,6 +5921,54 @@ export const DefaultApiAxiosParamCreator = function (
|
||||
options: localVarRequestOptions
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 重置账户状态
|
||||
* @param {KamiApiCardInfoWalmartV1OrderStatusResetReq} [kamiApiCardInfoWalmartV1OrderStatusResetReq]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiCardInfoWalmartOrderStatusResetPut: async (
|
||||
kamiApiCardInfoWalmartV1OrderStatusResetReq?: KamiApiCardInfoWalmartV1OrderStatusResetReq,
|
||||
options: RawAxiosRequestConfig = {}
|
||||
): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/cardInfo/walmart/order/statusReset`;
|
||||
// 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: 'PUT',
|
||||
...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(
|
||||
kamiApiCardInfoWalmartV1OrderStatusResetReq,
|
||||
localVarRequestOptions,
|
||||
configuration
|
||||
);
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
options: localVarRequestOptions
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 充值
|
||||
@@ -13421,37 +13421,6 @@ export const DefaultApiFp = function (configuration?: Configuration) {
|
||||
configuration
|
||||
)(axios, localVarOperationServerBasePath || basePath);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 重置账户状态
|
||||
* @param {KamiApiCardInfoWalmartV1AccountStatusResetReq} [kamiApiCardInfoWalmartV1AccountStatusResetReq]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiCardInfoWalmartAccountStatusResetPut(
|
||||
kamiApiCardInfoWalmartV1AccountStatusResetReq?: KamiApiCardInfoWalmartV1AccountStatusResetReq,
|
||||
options?: RawAxiosRequestConfig
|
||||
): Promise<
|
||||
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>
|
||||
> {
|
||||
const localVarAxiosArgs =
|
||||
await localVarAxiosParamCreator.apiCardInfoWalmartAccountStatusResetPut(
|
||||
kamiApiCardInfoWalmartV1AccountStatusResetReq,
|
||||
options
|
||||
);
|
||||
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
||||
const localVarOperationServerBasePath =
|
||||
operationServerMap[
|
||||
'DefaultApi.apiCardInfoWalmartAccountStatusResetPut'
|
||||
]?.[localVarOperationServerIndex]?.url;
|
||||
return (axios, basePath) =>
|
||||
createRequestFunction(
|
||||
localVarAxiosArgs,
|
||||
globalAxios,
|
||||
BASE_PATH,
|
||||
configuration
|
||||
)(axios, localVarOperationServerBasePath || basePath);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 下载充值账户
|
||||
@@ -13898,6 +13867,37 @@ export const DefaultApiFp = function (configuration?: Configuration) {
|
||||
configuration
|
||||
)(axios, localVarOperationServerBasePath || basePath);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 重置账户状态
|
||||
* @param {KamiApiCardInfoWalmartV1OrderStatusResetReq} [kamiApiCardInfoWalmartV1OrderStatusResetReq]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiCardInfoWalmartOrderStatusResetPut(
|
||||
kamiApiCardInfoWalmartV1OrderStatusResetReq?: KamiApiCardInfoWalmartV1OrderStatusResetReq,
|
||||
options?: RawAxiosRequestConfig
|
||||
): Promise<
|
||||
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>
|
||||
> {
|
||||
const localVarAxiosArgs =
|
||||
await localVarAxiosParamCreator.apiCardInfoWalmartOrderStatusResetPut(
|
||||
kamiApiCardInfoWalmartV1OrderStatusResetReq,
|
||||
options
|
||||
);
|
||||
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
||||
const localVarOperationServerBasePath =
|
||||
operationServerMap[
|
||||
'DefaultApi.apiCardInfoWalmartOrderStatusResetPut'
|
||||
]?.[localVarOperationServerIndex]?.url;
|
||||
return (axios, basePath) =>
|
||||
createRequestFunction(
|
||||
localVarAxiosArgs,
|
||||
globalAxios,
|
||||
BASE_PATH,
|
||||
configuration
|
||||
)(axios, localVarOperationServerBasePath || basePath);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 充值
|
||||
@@ -18486,24 +18486,6 @@ export const DefaultApiFactory = function (
|
||||
.apiCardInfoWalmartAccountStatusDetectGet(id, options)
|
||||
.then(request => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 重置账户状态
|
||||
* @param {KamiApiCardInfoWalmartV1AccountStatusResetReq} [kamiApiCardInfoWalmartV1AccountStatusResetReq]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiCardInfoWalmartAccountStatusResetPut(
|
||||
kamiApiCardInfoWalmartV1AccountStatusResetReq?: KamiApiCardInfoWalmartV1AccountStatusResetReq,
|
||||
options?: RawAxiosRequestConfig
|
||||
): AxiosPromise<object> {
|
||||
return localVarFp
|
||||
.apiCardInfoWalmartAccountStatusResetPut(
|
||||
kamiApiCardInfoWalmartV1AccountStatusResetReq,
|
||||
options
|
||||
)
|
||||
.then(request => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 下载充值账户
|
||||
@@ -18751,6 +18733,24 @@ export const DefaultApiFactory = function (
|
||||
)
|
||||
.then(request => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 重置账户状态
|
||||
* @param {KamiApiCardInfoWalmartV1OrderStatusResetReq} [kamiApiCardInfoWalmartV1OrderStatusResetReq]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiCardInfoWalmartOrderStatusResetPut(
|
||||
kamiApiCardInfoWalmartV1OrderStatusResetReq?: KamiApiCardInfoWalmartV1OrderStatusResetReq,
|
||||
options?: RawAxiosRequestConfig
|
||||
): AxiosPromise<object> {
|
||||
return localVarFp
|
||||
.apiCardInfoWalmartOrderStatusResetPut(
|
||||
kamiApiCardInfoWalmartV1OrderStatusResetReq,
|
||||
options
|
||||
)
|
||||
.then(request => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 充值
|
||||
@@ -22143,26 +22143,6 @@ export class DefaultApi extends BaseAPI {
|
||||
.then(request => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary 重置账户状态
|
||||
* @param {KamiApiCardInfoWalmartV1AccountStatusResetReq} [kamiApiCardInfoWalmartV1AccountStatusResetReq]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof DefaultApi
|
||||
*/
|
||||
public apiCardInfoWalmartAccountStatusResetPut(
|
||||
kamiApiCardInfoWalmartV1AccountStatusResetReq?: KamiApiCardInfoWalmartV1AccountStatusResetReq,
|
||||
options?: RawAxiosRequestConfig
|
||||
) {
|
||||
return DefaultApiFp(this.configuration)
|
||||
.apiCardInfoWalmartAccountStatusResetPut(
|
||||
kamiApiCardInfoWalmartV1AccountStatusResetReq,
|
||||
options
|
||||
)
|
||||
.then(request => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary 下载充值账户
|
||||
@@ -22432,6 +22412,26 @@ export class DefaultApi extends BaseAPI {
|
||||
.then(request => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary 重置账户状态
|
||||
* @param {KamiApiCardInfoWalmartV1OrderStatusResetReq} [kamiApiCardInfoWalmartV1OrderStatusResetReq]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof DefaultApi
|
||||
*/
|
||||
public apiCardInfoWalmartOrderStatusResetPut(
|
||||
kamiApiCardInfoWalmartV1OrderStatusResetReq?: KamiApiCardInfoWalmartV1OrderStatusResetReq,
|
||||
options?: RawAxiosRequestConfig
|
||||
) {
|
||||
return DefaultApiFp(this.configuration)
|
||||
.apiCardInfoWalmartOrderStatusResetPut(
|
||||
kamiApiCardInfoWalmartV1OrderStatusResetReq,
|
||||
options
|
||||
)
|
||||
.then(request => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary 充值
|
||||
|
||||
@@ -164,7 +164,6 @@ export * from './kami-api-card-info-walmart-v1-account-load-req';
|
||||
export * from './kami-api-card-info-walmart-v1-account-refresh-status-req';
|
||||
export * from './kami-api-card-info-walmart-v1-account-status-detect-req';
|
||||
export * from './kami-api-card-info-walmart-v1-account-status-detect-res';
|
||||
export * from './kami-api-card-info-walmart-v1-account-status-reset-req';
|
||||
export * from './kami-api-card-info-walmart-v1-account-summary-download-req';
|
||||
export * from './kami-api-card-info-walmart-v1-account-update-req';
|
||||
export * from './kami-api-card-info-walmart-v1-account-update-status-req';
|
||||
@@ -182,6 +181,7 @@ export * from './kami-api-card-info-walmart-v1-list-res';
|
||||
export * from './kami-api-card-info-walmart-v1-order-callback-req';
|
||||
export * from './kami-api-card-info-walmart-v1-order-history-req';
|
||||
export * from './kami-api-card-info-walmart-v1-order-history-res';
|
||||
export * from './kami-api-card-info-walmart-v1-order-status-reset-req';
|
||||
export * from './kami-api-card-info-walmart-v1-order-summary-list-req';
|
||||
export * from './kami-api-card-info-walmart-v1-order-summary-list-res';
|
||||
export * from './kami-api-card-info-walmart-v1-order-summary-record';
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
/* 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 KamiApiCardInfoWalmartV1OrderStatusResetReq
|
||||
*/
|
||||
export interface KamiApiCardInfoWalmartV1OrderStatusResetReq {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof KamiApiCardInfoWalmartV1OrderStatusResetReq
|
||||
*/
|
||||
id: string;
|
||||
}
|
||||
Reference in New Issue
Block a user