feat: 添加删除删除账号功能
This commit is contained in:
@@ -172,12 +172,19 @@ models/kami-api-card-info-walmart-v1-account-list-record.ts
|
||||
models/kami-api-card-info-walmart-v1-account-list-req.ts
|
||||
models/kami-api-card-info-walmart-v1-account-list-res.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-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
|
||||
models/kami-api-card-info-walmart-v1-account-wallet-list-req.ts
|
||||
models/kami-api-card-info-walmart-v1-account-wallet-list-res.ts
|
||||
models/kami-api-card-info-walmart-v1-card-redeem-account-summary.ts
|
||||
models/kami-api-card-info-walmart-v1-group-add-req.ts
|
||||
models/kami-api-card-info-walmart-v1-group-delete-req.ts
|
||||
models/kami-api-card-info-walmart-v1-group-list-req.ts
|
||||
models/kami-api-card-info-walmart-v1-group-list-res.ts
|
||||
models/kami-api-card-info-walmart-v1-group-update-req.ts
|
||||
models/kami-api-card-info-walmart-v1-list-req.ts
|
||||
models/kami-api-card-info-walmart-v1-list-res.ts
|
||||
models/kami-api-card-info-walmart-v1-order-callback-req.ts
|
||||
@@ -294,6 +301,7 @@ models/kami-api-validation-v1-get-captcha-res.ts
|
||||
models/kami-internal-model-entity-v1-card-apple-hidden-settings.ts
|
||||
models/kami-internal-model-entity-v1-card-apple-history-info.ts
|
||||
models/kami-internal-model-entity-v1-card-apple-recharge-info.ts
|
||||
models/kami-internal-model-entity-v1-card-redeem-account-group.ts
|
||||
models/kami-internal-model-entity-v1-card-redeem-account-history.ts
|
||||
models/kami-internal-model-entity-v1-card-redeem-order-history.ts
|
||||
models/kami-internal-model-entity-v1-card-redeem-order-info.ts
|
||||
|
||||
@@ -247,12 +247,22 @@ import type { KamiApiCardInfoWalmartV1AccountListRes } from '../models';
|
||||
// @ts-ignore
|
||||
import type { KamiApiCardInfoWalmartV1AccountRefreshStatusReq } from '../models';
|
||||
// @ts-ignore
|
||||
import type { KamiApiCardInfoWalmartV1AccountStatusDetectRes } from '../models';
|
||||
// @ts-ignore
|
||||
import type { KamiApiCardInfoWalmartV1AccountUpdateReq } from '../models';
|
||||
// @ts-ignore
|
||||
import type { KamiApiCardInfoWalmartV1AccountUpdateStatusReq } from '../models';
|
||||
// @ts-ignore
|
||||
import type { KamiApiCardInfoWalmartV1AccountWalletListRes } from '../models';
|
||||
// @ts-ignore
|
||||
import type { KamiApiCardInfoWalmartV1GroupDeleteReq } from '../models';
|
||||
// @ts-ignore
|
||||
import type { KamiApiCardInfoWalmartV1GroupListReq } from '../models';
|
||||
// @ts-ignore
|
||||
import type { KamiApiCardInfoWalmartV1GroupListRes } from '../models';
|
||||
// @ts-ignore
|
||||
import type { KamiApiCardInfoWalmartV1GroupUpdateReq } from '../models';
|
||||
// @ts-ignore
|
||||
import type { KamiApiCardInfoWalmartV1ListRes } from '../models';
|
||||
// @ts-ignore
|
||||
import type { KamiApiCardInfoWalmartV1OrderHistoryRes } from '../models';
|
||||
@@ -5118,6 +5128,53 @@ export const DefaultApiAxiosParamCreator = function (
|
||||
options: localVarRequestOptions
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 检测账户状态
|
||||
* @param {string} id
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiCardInfoWalmartAccountStatusDetectGet: async (
|
||||
id: string,
|
||||
options: RawAxiosRequestConfig = {}
|
||||
): Promise<RequestArgs> => {
|
||||
// verify required parameter 'id' is not null or undefined
|
||||
assertParamExists('apiCardInfoWalmartAccountStatusDetectGet', 'id', id);
|
||||
const localVarPath = `/api/cardInfo/walmart/account/statusDetect`;
|
||||
// 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 (id !== undefined) {
|
||||
localVarQueryParameter['id'] = id;
|
||||
}
|
||||
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
||||
let headersFromBaseOptions =
|
||||
baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {
|
||||
...localVarHeaderParameter,
|
||||
...headersFromBaseOptions,
|
||||
...options.headers
|
||||
};
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
options: localVarRequestOptions
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 下载充值账户
|
||||
@@ -5376,6 +5433,197 @@ export const DefaultApiAxiosParamCreator = function (
|
||||
options: localVarRequestOptions
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 添加账户分组
|
||||
* @param {string} name 分组名称
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiCardInfoWalmartGroupAddDelete: async (
|
||||
name: string,
|
||||
options: RawAxiosRequestConfig = {}
|
||||
): Promise<RequestArgs> => {
|
||||
// verify required parameter 'name' is not null or undefined
|
||||
assertParamExists('apiCardInfoWalmartGroupAddDelete', 'name', name);
|
||||
const localVarPath = `/api/cardInfo/walmart/group/add`;
|
||||
// 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: 'DELETE',
|
||||
...baseOptions,
|
||||
...options
|
||||
};
|
||||
const localVarHeaderParameter = {} as any;
|
||||
const localVarQueryParameter = {} as any;
|
||||
|
||||
if (name !== undefined) {
|
||||
localVarQueryParameter['name'] = name;
|
||||
}
|
||||
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
||||
let headersFromBaseOptions =
|
||||
baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||
localVarRequestOptions.headers = {
|
||||
...localVarHeaderParameter,
|
||||
...headersFromBaseOptions,
|
||||
...options.headers
|
||||
};
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
options: localVarRequestOptions
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 修改账户分组
|
||||
* @param {KamiApiCardInfoWalmartV1GroupDeleteReq} [kamiApiCardInfoWalmartV1GroupDeleteReq]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiCardInfoWalmartGroupDeletePut: async (
|
||||
kamiApiCardInfoWalmartV1GroupDeleteReq?: KamiApiCardInfoWalmartV1GroupDeleteReq,
|
||||
options: RawAxiosRequestConfig = {}
|
||||
): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/cardInfo/walmart/group/delete`;
|
||||
// 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(
|
||||
kamiApiCardInfoWalmartV1GroupDeleteReq,
|
||||
localVarRequestOptions,
|
||||
configuration
|
||||
);
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
options: localVarRequestOptions
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 修改账户分组
|
||||
* @param {KamiApiCardInfoWalmartV1GroupListReq} [kamiApiCardInfoWalmartV1GroupListReq]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiCardInfoWalmartGroupListPut: async (
|
||||
kamiApiCardInfoWalmartV1GroupListReq?: KamiApiCardInfoWalmartV1GroupListReq,
|
||||
options: RawAxiosRequestConfig = {}
|
||||
): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/cardInfo/walmart/group/list`;
|
||||
// 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(
|
||||
kamiApiCardInfoWalmartV1GroupListReq,
|
||||
localVarRequestOptions,
|
||||
configuration
|
||||
);
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
options: localVarRequestOptions
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 修改账户分组
|
||||
* @param {KamiApiCardInfoWalmartV1GroupUpdateReq} [kamiApiCardInfoWalmartV1GroupUpdateReq]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiCardInfoWalmartGroupUpdatePut: async (
|
||||
kamiApiCardInfoWalmartV1GroupUpdateReq?: KamiApiCardInfoWalmartV1GroupUpdateReq,
|
||||
options: RawAxiosRequestConfig = {}
|
||||
): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/cardInfo/walmart/group/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: '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(
|
||||
kamiApiCardInfoWalmartV1GroupUpdateReq,
|
||||
localVarRequestOptions,
|
||||
configuration
|
||||
);
|
||||
|
||||
return {
|
||||
url: toPathString(localVarUrlObj),
|
||||
options: localVarRequestOptions
|
||||
};
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 订单回调
|
||||
@@ -12947,6 +13195,40 @@ export const DefaultApiFp = function (configuration?: Configuration) {
|
||||
configuration
|
||||
)(axios, localVarOperationServerBasePath || basePath);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 检测账户状态
|
||||
* @param {string} id
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiCardInfoWalmartAccountStatusDetectGet(
|
||||
id: string,
|
||||
options?: RawAxiosRequestConfig
|
||||
): Promise<
|
||||
(
|
||||
axios?: AxiosInstance,
|
||||
basePath?: string
|
||||
) => AxiosPromise<KamiApiCardInfoWalmartV1AccountStatusDetectRes>
|
||||
> {
|
||||
const localVarAxiosArgs =
|
||||
await localVarAxiosParamCreator.apiCardInfoWalmartAccountStatusDetectGet(
|
||||
id,
|
||||
options
|
||||
);
|
||||
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
||||
const localVarOperationServerBasePath =
|
||||
operationServerMap[
|
||||
'DefaultApi.apiCardInfoWalmartAccountStatusDetectGet'
|
||||
]?.[localVarOperationServerIndex]?.url;
|
||||
return (axios, basePath) =>
|
||||
createRequestFunction(
|
||||
localVarAxiosArgs,
|
||||
globalAxios,
|
||||
BASE_PATH,
|
||||
configuration
|
||||
)(axios, localVarOperationServerBasePath || basePath);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 下载充值账户
|
||||
@@ -13109,6 +13391,133 @@ export const DefaultApiFp = function (configuration?: Configuration) {
|
||||
configuration
|
||||
)(axios, localVarOperationServerBasePath || basePath);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 添加账户分组
|
||||
* @param {string} name 分组名称
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiCardInfoWalmartGroupAddDelete(
|
||||
name: string,
|
||||
options?: RawAxiosRequestConfig
|
||||
): Promise<
|
||||
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>
|
||||
> {
|
||||
const localVarAxiosArgs =
|
||||
await localVarAxiosParamCreator.apiCardInfoWalmartGroupAddDelete(
|
||||
name,
|
||||
options
|
||||
);
|
||||
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
||||
const localVarOperationServerBasePath =
|
||||
operationServerMap['DefaultApi.apiCardInfoWalmartGroupAddDelete']?.[
|
||||
localVarOperationServerIndex
|
||||
]?.url;
|
||||
return (axios, basePath) =>
|
||||
createRequestFunction(
|
||||
localVarAxiosArgs,
|
||||
globalAxios,
|
||||
BASE_PATH,
|
||||
configuration
|
||||
)(axios, localVarOperationServerBasePath || basePath);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 修改账户分组
|
||||
* @param {KamiApiCardInfoWalmartV1GroupDeleteReq} [kamiApiCardInfoWalmartV1GroupDeleteReq]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiCardInfoWalmartGroupDeletePut(
|
||||
kamiApiCardInfoWalmartV1GroupDeleteReq?: KamiApiCardInfoWalmartV1GroupDeleteReq,
|
||||
options?: RawAxiosRequestConfig
|
||||
): Promise<
|
||||
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>
|
||||
> {
|
||||
const localVarAxiosArgs =
|
||||
await localVarAxiosParamCreator.apiCardInfoWalmartGroupDeletePut(
|
||||
kamiApiCardInfoWalmartV1GroupDeleteReq,
|
||||
options
|
||||
);
|
||||
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
||||
const localVarOperationServerBasePath =
|
||||
operationServerMap['DefaultApi.apiCardInfoWalmartGroupDeletePut']?.[
|
||||
localVarOperationServerIndex
|
||||
]?.url;
|
||||
return (axios, basePath) =>
|
||||
createRequestFunction(
|
||||
localVarAxiosArgs,
|
||||
globalAxios,
|
||||
BASE_PATH,
|
||||
configuration
|
||||
)(axios, localVarOperationServerBasePath || basePath);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 修改账户分组
|
||||
* @param {KamiApiCardInfoWalmartV1GroupListReq} [kamiApiCardInfoWalmartV1GroupListReq]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiCardInfoWalmartGroupListPut(
|
||||
kamiApiCardInfoWalmartV1GroupListReq?: KamiApiCardInfoWalmartV1GroupListReq,
|
||||
options?: RawAxiosRequestConfig
|
||||
): Promise<
|
||||
(
|
||||
axios?: AxiosInstance,
|
||||
basePath?: string
|
||||
) => AxiosPromise<KamiApiCardInfoWalmartV1GroupListRes>
|
||||
> {
|
||||
const localVarAxiosArgs =
|
||||
await localVarAxiosParamCreator.apiCardInfoWalmartGroupListPut(
|
||||
kamiApiCardInfoWalmartV1GroupListReq,
|
||||
options
|
||||
);
|
||||
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
||||
const localVarOperationServerBasePath =
|
||||
operationServerMap['DefaultApi.apiCardInfoWalmartGroupListPut']?.[
|
||||
localVarOperationServerIndex
|
||||
]?.url;
|
||||
return (axios, basePath) =>
|
||||
createRequestFunction(
|
||||
localVarAxiosArgs,
|
||||
globalAxios,
|
||||
BASE_PATH,
|
||||
configuration
|
||||
)(axios, localVarOperationServerBasePath || basePath);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 修改账户分组
|
||||
* @param {KamiApiCardInfoWalmartV1GroupUpdateReq} [kamiApiCardInfoWalmartV1GroupUpdateReq]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async apiCardInfoWalmartGroupUpdatePut(
|
||||
kamiApiCardInfoWalmartV1GroupUpdateReq?: KamiApiCardInfoWalmartV1GroupUpdateReq,
|
||||
options?: RawAxiosRequestConfig
|
||||
): Promise<
|
||||
(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>
|
||||
> {
|
||||
const localVarAxiosArgs =
|
||||
await localVarAxiosParamCreator.apiCardInfoWalmartGroupUpdatePut(
|
||||
kamiApiCardInfoWalmartV1GroupUpdateReq,
|
||||
options
|
||||
);
|
||||
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
||||
const localVarOperationServerBasePath =
|
||||
operationServerMap['DefaultApi.apiCardInfoWalmartGroupUpdatePut']?.[
|
||||
localVarOperationServerIndex
|
||||
]?.url;
|
||||
return (axios, basePath) =>
|
||||
createRequestFunction(
|
||||
localVarAxiosArgs,
|
||||
globalAxios,
|
||||
BASE_PATH,
|
||||
configuration
|
||||
)(axios, localVarOperationServerBasePath || basePath);
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 订单回调
|
||||
@@ -17781,6 +18190,21 @@ export const DefaultApiFactory = function (
|
||||
)
|
||||
.then(request => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 检测账户状态
|
||||
* @param {string} id
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiCardInfoWalmartAccountStatusDetectGet(
|
||||
id: string,
|
||||
options?: RawAxiosRequestConfig
|
||||
): AxiosPromise<KamiApiCardInfoWalmartV1AccountStatusDetectRes> {
|
||||
return localVarFp
|
||||
.apiCardInfoWalmartAccountStatusDetectGet(id, options)
|
||||
.then(request => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 下载充值账户
|
||||
@@ -17875,6 +18299,75 @@ export const DefaultApiFactory = function (
|
||||
)
|
||||
.then(request => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 添加账户分组
|
||||
* @param {string} name 分组名称
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiCardInfoWalmartGroupAddDelete(
|
||||
name: string,
|
||||
options?: RawAxiosRequestConfig
|
||||
): AxiosPromise<object> {
|
||||
return localVarFp
|
||||
.apiCardInfoWalmartGroupAddDelete(name, options)
|
||||
.then(request => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 修改账户分组
|
||||
* @param {KamiApiCardInfoWalmartV1GroupDeleteReq} [kamiApiCardInfoWalmartV1GroupDeleteReq]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiCardInfoWalmartGroupDeletePut(
|
||||
kamiApiCardInfoWalmartV1GroupDeleteReq?: KamiApiCardInfoWalmartV1GroupDeleteReq,
|
||||
options?: RawAxiosRequestConfig
|
||||
): AxiosPromise<object> {
|
||||
return localVarFp
|
||||
.apiCardInfoWalmartGroupDeletePut(
|
||||
kamiApiCardInfoWalmartV1GroupDeleteReq,
|
||||
options
|
||||
)
|
||||
.then(request => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 修改账户分组
|
||||
* @param {KamiApiCardInfoWalmartV1GroupListReq} [kamiApiCardInfoWalmartV1GroupListReq]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiCardInfoWalmartGroupListPut(
|
||||
kamiApiCardInfoWalmartV1GroupListReq?: KamiApiCardInfoWalmartV1GroupListReq,
|
||||
options?: RawAxiosRequestConfig
|
||||
): AxiosPromise<KamiApiCardInfoWalmartV1GroupListRes> {
|
||||
return localVarFp
|
||||
.apiCardInfoWalmartGroupListPut(
|
||||
kamiApiCardInfoWalmartV1GroupListReq,
|
||||
options
|
||||
)
|
||||
.then(request => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 修改账户分组
|
||||
* @param {KamiApiCardInfoWalmartV1GroupUpdateReq} [kamiApiCardInfoWalmartV1GroupUpdateReq]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiCardInfoWalmartGroupUpdatePut(
|
||||
kamiApiCardInfoWalmartV1GroupUpdateReq?: KamiApiCardInfoWalmartV1GroupUpdateReq,
|
||||
options?: RawAxiosRequestConfig
|
||||
): AxiosPromise<object> {
|
||||
return localVarFp
|
||||
.apiCardInfoWalmartGroupUpdatePut(
|
||||
kamiApiCardInfoWalmartV1GroupUpdateReq,
|
||||
options
|
||||
)
|
||||
.then(request => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary 订单回调
|
||||
@@ -21296,6 +21789,23 @@ export class DefaultApi extends BaseAPI {
|
||||
.then(request => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary 检测账户状态
|
||||
* @param {string} id
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof DefaultApi
|
||||
*/
|
||||
public apiCardInfoWalmartAccountStatusDetectGet(
|
||||
id: string,
|
||||
options?: RawAxiosRequestConfig
|
||||
) {
|
||||
return DefaultApiFp(this.configuration)
|
||||
.apiCardInfoWalmartAccountStatusDetectGet(id, options)
|
||||
.then(request => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary 下载充值账户
|
||||
@@ -21398,6 +21908,83 @@ export class DefaultApi extends BaseAPI {
|
||||
.then(request => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary 添加账户分组
|
||||
* @param {string} name 分组名称
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof DefaultApi
|
||||
*/
|
||||
public apiCardInfoWalmartGroupAddDelete(
|
||||
name: string,
|
||||
options?: RawAxiosRequestConfig
|
||||
) {
|
||||
return DefaultApiFp(this.configuration)
|
||||
.apiCardInfoWalmartGroupAddDelete(name, options)
|
||||
.then(request => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary 修改账户分组
|
||||
* @param {KamiApiCardInfoWalmartV1GroupDeleteReq} [kamiApiCardInfoWalmartV1GroupDeleteReq]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof DefaultApi
|
||||
*/
|
||||
public apiCardInfoWalmartGroupDeletePut(
|
||||
kamiApiCardInfoWalmartV1GroupDeleteReq?: KamiApiCardInfoWalmartV1GroupDeleteReq,
|
||||
options?: RawAxiosRequestConfig
|
||||
) {
|
||||
return DefaultApiFp(this.configuration)
|
||||
.apiCardInfoWalmartGroupDeletePut(
|
||||
kamiApiCardInfoWalmartV1GroupDeleteReq,
|
||||
options
|
||||
)
|
||||
.then(request => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary 修改账户分组
|
||||
* @param {KamiApiCardInfoWalmartV1GroupListReq} [kamiApiCardInfoWalmartV1GroupListReq]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof DefaultApi
|
||||
*/
|
||||
public apiCardInfoWalmartGroupListPut(
|
||||
kamiApiCardInfoWalmartV1GroupListReq?: KamiApiCardInfoWalmartV1GroupListReq,
|
||||
options?: RawAxiosRequestConfig
|
||||
) {
|
||||
return DefaultApiFp(this.configuration)
|
||||
.apiCardInfoWalmartGroupListPut(
|
||||
kamiApiCardInfoWalmartV1GroupListReq,
|
||||
options
|
||||
)
|
||||
.then(request => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary 修改账户分组
|
||||
* @param {KamiApiCardInfoWalmartV1GroupUpdateReq} [kamiApiCardInfoWalmartV1GroupUpdateReq]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof DefaultApi
|
||||
*/
|
||||
public apiCardInfoWalmartGroupUpdatePut(
|
||||
kamiApiCardInfoWalmartV1GroupUpdateReq?: KamiApiCardInfoWalmartV1GroupUpdateReq,
|
||||
options?: RawAxiosRequestConfig
|
||||
) {
|
||||
return DefaultApiFp(this.configuration)
|
||||
.apiCardInfoWalmartGroupUpdatePut(
|
||||
kamiApiCardInfoWalmartV1GroupUpdateReq,
|
||||
options
|
||||
)
|
||||
.then(request => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary 订单回调
|
||||
|
||||
@@ -161,12 +161,19 @@ export * from './kami-api-card-info-walmart-v1-account-list-record';
|
||||
export * from './kami-api-card-info-walmart-v1-account-list-req';
|
||||
export * from './kami-api-card-info-walmart-v1-account-list-res';
|
||||
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-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';
|
||||
export * from './kami-api-card-info-walmart-v1-account-wallet-list-req';
|
||||
export * from './kami-api-card-info-walmart-v1-account-wallet-list-res';
|
||||
export * from './kami-api-card-info-walmart-v1-card-redeem-account-summary';
|
||||
export * from './kami-api-card-info-walmart-v1-group-add-req';
|
||||
export * from './kami-api-card-info-walmart-v1-group-delete-req';
|
||||
export * from './kami-api-card-info-walmart-v1-group-list-req';
|
||||
export * from './kami-api-card-info-walmart-v1-group-list-res';
|
||||
export * from './kami-api-card-info-walmart-v1-group-update-req';
|
||||
export * from './kami-api-card-info-walmart-v1-list-req';
|
||||
export * from './kami-api-card-info-walmart-v1-list-res';
|
||||
export * from './kami-api-card-info-walmart-v1-order-callback-req';
|
||||
@@ -283,6 +290,7 @@ export * from './kami-api-validation-v1-get-captcha-res';
|
||||
export * from './kami-internal-model-entity-v1-card-apple-hidden-settings';
|
||||
export * from './kami-internal-model-entity-v1-card-apple-history-info';
|
||||
export * from './kami-internal-model-entity-v1-card-apple-recharge-info';
|
||||
export * from './kami-internal-model-entity-v1-card-redeem-account-group';
|
||||
export * from './kami-internal-model-entity-v1-card-redeem-account-history';
|
||||
export * from './kami-internal-model-entity-v1-card-redeem-order-history';
|
||||
export * from './kami-internal-model-entity-v1-card-redeem-order-info';
|
||||
|
||||
@@ -28,6 +28,12 @@ export interface KamiApiCardInfoCTripV1AccountListRecord {
|
||||
* @memberof KamiApiCardInfoCTripV1AccountListRecord
|
||||
*/
|
||||
id?: string;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof KamiApiCardInfoCTripV1AccountListRecord
|
||||
*/
|
||||
groupId?: number;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
|
||||
@@ -28,6 +28,12 @@ export interface KamiApiCardInfoJdV1JDAccountListRecord {
|
||||
* @memberof KamiApiCardInfoJdV1JDAccountListRecord
|
||||
*/
|
||||
id?: string;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof KamiApiCardInfoJdV1JDAccountListRecord
|
||||
*/
|
||||
groupId?: number;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
|
||||
@@ -28,6 +28,12 @@ export interface KamiApiCardInfoOriginalJdV1OriginalJDAccountListRecord {
|
||||
* @memberof KamiApiCardInfoOriginalJdV1OriginalJDAccountListRecord
|
||||
*/
|
||||
id?: string;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof KamiApiCardInfoOriginalJdV1OriginalJDAccountListRecord
|
||||
*/
|
||||
groupId?: number;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
|
||||
@@ -28,36 +28,12 @@ export interface KamiApiCardInfoWalmartV1AccountInfo {
|
||||
* @memberof KamiApiCardInfoWalmartV1AccountInfo
|
||||
*/
|
||||
uploadUser?: KamiApiSysUserV1SysUserRecord;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof KamiApiCardInfoWalmartV1AccountInfo
|
||||
*/
|
||||
id?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof KamiApiCardInfoWalmartV1AccountInfo
|
||||
*/
|
||||
name?: string;
|
||||
/**
|
||||
* 京东用户ID
|
||||
* @type {string}
|
||||
* @memberof KamiApiCardInfoWalmartV1AccountInfo
|
||||
*/
|
||||
username?: string;
|
||||
/**
|
||||
* 创建人
|
||||
* @type {string}
|
||||
* @memberof KamiApiCardInfoWalmartV1AccountInfo
|
||||
*/
|
||||
createUserId?: string;
|
||||
/**
|
||||
* 账户类型
|
||||
* @type {string}
|
||||
* @memberof KamiApiCardInfoWalmartV1AccountInfo
|
||||
*/
|
||||
category?: string;
|
||||
/**
|
||||
* 余额
|
||||
* @type {number}
|
||||
@@ -71,27 +47,63 @@ export interface KamiApiCardInfoWalmartV1AccountInfo {
|
||||
*/
|
||||
status?: number;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* 账号最大充值次数
|
||||
* @type {number}
|
||||
* @memberof KamiApiCardInfoWalmartV1AccountInfo
|
||||
*/
|
||||
remark?: string;
|
||||
maxCountLimit?: number;
|
||||
/**
|
||||
* 最大充值限制
|
||||
* @type {number}
|
||||
* @memberof KamiApiCardInfoWalmartV1AccountInfo
|
||||
*/
|
||||
maxAmountLimit?: number;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof KamiApiCardInfoWalmartV1AccountInfo
|
||||
*/
|
||||
amountTodayCount?: number;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof KamiApiCardInfoWalmartV1AccountInfo
|
||||
*/
|
||||
createdAt?: string;
|
||||
id?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof KamiApiCardInfoWalmartV1AccountInfo
|
||||
*/
|
||||
updatedAt?: string;
|
||||
name?: string;
|
||||
/**
|
||||
*
|
||||
* 账户类型
|
||||
* @type {string}
|
||||
* @memberof KamiApiCardInfoWalmartV1AccountInfo
|
||||
*/
|
||||
deletedAt?: string;
|
||||
category?: string;
|
||||
/**
|
||||
* 账单所有统计金额
|
||||
* @type {number}
|
||||
* @memberof KamiApiCardInfoWalmartV1AccountInfo
|
||||
*/
|
||||
amountTotalSum?: number;
|
||||
/**
|
||||
* 账单今日统计金额
|
||||
* @type {number}
|
||||
* @memberof KamiApiCardInfoWalmartV1AccountInfo
|
||||
*/
|
||||
amountTodaySum?: number;
|
||||
/**
|
||||
* 有效充值余额
|
||||
* @type {number}
|
||||
* @memberof KamiApiCardInfoWalmartV1AccountInfo
|
||||
*/
|
||||
effectiveBalance?: number;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof KamiApiCardInfoWalmartV1AccountInfo
|
||||
*/
|
||||
amountTotalCount?: number;
|
||||
}
|
||||
|
||||
@@ -28,6 +28,12 @@ export interface KamiApiCardInfoWalmartV1AccountListRecord {
|
||||
* @memberof KamiApiCardInfoWalmartV1AccountListRecord
|
||||
*/
|
||||
id?: string;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof KamiApiCardInfoWalmartV1AccountListRecord
|
||||
*/
|
||||
groupId?: number;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
|
||||
@@ -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 KamiApiCardInfoWalmartV1AccountStatusDetectReq
|
||||
*/
|
||||
export interface KamiApiCardInfoWalmartV1AccountStatusDetectReq {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof KamiApiCardInfoWalmartV1AccountStatusDetectReq
|
||||
*/
|
||||
id: string;
|
||||
}
|
||||
@@ -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 KamiApiCardInfoWalmartV1AccountStatusDetectRes
|
||||
*/
|
||||
export interface KamiApiCardInfoWalmartV1AccountStatusDetectRes {
|
||||
/**
|
||||
* 状态
|
||||
* @type {boolean}
|
||||
* @memberof KamiApiCardInfoWalmartV1AccountStatusDetectRes
|
||||
*/
|
||||
status?: boolean;
|
||||
}
|
||||
@@ -70,22 +70,4 @@ export interface KamiApiCardInfoWalmartV1CardRedeemAccountSummary {
|
||||
* @memberof KamiApiCardInfoWalmartV1CardRedeemAccountSummary
|
||||
*/
|
||||
date?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof KamiApiCardInfoWalmartV1CardRedeemAccountSummary
|
||||
*/
|
||||
createdAt?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof KamiApiCardInfoWalmartV1CardRedeemAccountSummary
|
||||
*/
|
||||
updatedAt?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof KamiApiCardInfoWalmartV1CardRedeemAccountSummary
|
||||
*/
|
||||
deletedAt?: string;
|
||||
}
|
||||
|
||||
@@ -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 KamiApiCardInfoWalmartV1GroupAddReq
|
||||
*/
|
||||
export interface KamiApiCardInfoWalmartV1GroupAddReq {
|
||||
/**
|
||||
* 分组名称
|
||||
* @type {string}
|
||||
* @memberof KamiApiCardInfoWalmartV1GroupAddReq
|
||||
*/
|
||||
name: string;
|
||||
}
|
||||
@@ -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 KamiApiCardInfoWalmartV1GroupDeleteReq
|
||||
*/
|
||||
export interface KamiApiCardInfoWalmartV1GroupDeleteReq {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof KamiApiCardInfoWalmartV1GroupDeleteReq
|
||||
*/
|
||||
id: number;
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
/* 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface KamiApiCardInfoWalmartV1GroupListReq
|
||||
*/
|
||||
export interface KamiApiCardInfoWalmartV1GroupListReq {
|
||||
/**
|
||||
* 页数
|
||||
* @type {number}
|
||||
* @memberof KamiApiCardInfoWalmartV1GroupListReq
|
||||
*/
|
||||
current: number;
|
||||
/**
|
||||
* 页码
|
||||
* @type {number}
|
||||
* @memberof KamiApiCardInfoWalmartV1GroupListReq
|
||||
*/
|
||||
pageSize: KamiApiCardInfoWalmartV1GroupListReqPageSizeEnum;
|
||||
}
|
||||
|
||||
export const KamiApiCardInfoWalmartV1GroupListReqPageSizeEnum = {
|
||||
NUMBER_5: 5,
|
||||
NUMBER_10: 10,
|
||||
NUMBER_15: 15,
|
||||
NUMBER_20: 20,
|
||||
NUMBER_50: 50,
|
||||
NUMBER_100: 100
|
||||
} as const;
|
||||
|
||||
export type KamiApiCardInfoWalmartV1GroupListReqPageSizeEnum =
|
||||
(typeof KamiApiCardInfoWalmartV1GroupListReqPageSizeEnum)[keyof typeof KamiApiCardInfoWalmartV1GroupListReqPageSizeEnum];
|
||||
@@ -0,0 +1,37 @@
|
||||
/* 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 { KamiInternalModelEntityV1CardRedeemAccountGroup } from './kami-internal-model-entity-v1-card-redeem-account-group';
|
||||
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
* @interface KamiApiCardInfoWalmartV1GroupListRes
|
||||
*/
|
||||
export interface KamiApiCardInfoWalmartV1GroupListRes {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof KamiApiCardInfoWalmartV1GroupListRes
|
||||
*/
|
||||
total?: number;
|
||||
/**
|
||||
*
|
||||
* @type {Array<KamiInternalModelEntityV1CardRedeemAccountGroup>}
|
||||
* @memberof KamiApiCardInfoWalmartV1GroupListRes
|
||||
*/
|
||||
list?: Array<KamiInternalModelEntityV1CardRedeemAccountGroup>;
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
/* 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 KamiApiCardInfoWalmartV1GroupUpdateReq
|
||||
*/
|
||||
export interface KamiApiCardInfoWalmartV1GroupUpdateReq {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof KamiApiCardInfoWalmartV1GroupUpdateReq
|
||||
*/
|
||||
id: number;
|
||||
/**
|
||||
* 分组名称
|
||||
* @type {string}
|
||||
* @memberof KamiApiCardInfoWalmartV1GroupUpdateReq
|
||||
*/
|
||||
name: string;
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
/* 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 KamiInternalModelEntityV1CardRedeemAccountGroup
|
||||
*/
|
||||
export interface KamiInternalModelEntityV1CardRedeemAccountGroup {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof KamiInternalModelEntityV1CardRedeemAccountGroup
|
||||
*/
|
||||
id?: number;
|
||||
/**
|
||||
* 分组名称
|
||||
* @type {string}
|
||||
* @memberof KamiInternalModelEntityV1CardRedeemAccountGroup
|
||||
*/
|
||||
name?: string;
|
||||
/**
|
||||
* 分组类别
|
||||
* @type {string}
|
||||
* @memberof KamiInternalModelEntityV1CardRedeemAccountGroup
|
||||
*/
|
||||
category?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof KamiInternalModelEntityV1CardRedeemAccountGroup
|
||||
*/
|
||||
createdAt?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof KamiInternalModelEntityV1CardRedeemAccountGroup
|
||||
*/
|
||||
deletedAt?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof KamiInternalModelEntityV1CardRedeemAccountGroup
|
||||
*/
|
||||
updatedAt?: string;
|
||||
}
|
||||
@@ -153,6 +153,17 @@
|
||||
</a-button>
|
||||
</a-tooltip>
|
||||
</a-popconfirm>
|
||||
<a-tooltip content="检查账号状态">
|
||||
<a-button
|
||||
size="small"
|
||||
status="warning"
|
||||
@click="checkOne(record.id)"
|
||||
>
|
||||
<template #icon>
|
||||
<icon-check-circle />
|
||||
</template>
|
||||
</a-button>
|
||||
</a-tooltip>
|
||||
<a-tooltip content="删除">
|
||||
<a-button
|
||||
size="small"
|
||||
@@ -185,7 +196,7 @@
|
||||
<script lang="ts" setup>
|
||||
import useLoading from '@/hooks/loading';
|
||||
import { Pagination } from '@/types/global';
|
||||
import { checkTokenFromIframe, checkTokenFromLogin } from '@/utils/auth';
|
||||
import { checkTokenFromLogin } from '@/utils/auth';
|
||||
import { onMounted, reactive, ref, watchEffect } from 'vue';
|
||||
import { Notification, TableColumnData } from '@arco-design/web-vue';
|
||||
import AddModal from './components/add-modal.vue';
|
||||
@@ -202,6 +213,7 @@ import {
|
||||
} from '@/api/card-walmart-account';
|
||||
import { batchImportModel } from './components/component.tsx';
|
||||
import { KamiApiCardInfoWalmartV1AccountListRecord } from '@/api/generated/index.ts';
|
||||
import { apiClient } from '@/api/index.ts';
|
||||
|
||||
const basePagination: Pagination = {
|
||||
current: 1,
|
||||
@@ -352,6 +364,31 @@ const deleteOne = async (id: string) => {
|
||||
}
|
||||
};
|
||||
|
||||
const checkOne = async (id: string) => {
|
||||
try {
|
||||
const result = await apiClient.apiCardInfoWalmartAccountStatusDetectGet(id);
|
||||
if (result.data.status) {
|
||||
Notification.info({
|
||||
id: 'walmartAccountNotice',
|
||||
content: 'ck有效',
|
||||
closable: true
|
||||
});
|
||||
} else {
|
||||
Notification.error({
|
||||
id: 'walmartAccountNotice',
|
||||
content: 'ck无效',
|
||||
closable: true
|
||||
});
|
||||
}
|
||||
} catch (err) {
|
||||
Notification.error({
|
||||
id: 'walmartAccountNotice',
|
||||
content: '检测沃尔玛卡失败',
|
||||
closable: true
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
const showAddModel = (record: walmartCardUpdateRecord) => {
|
||||
state.addModalVisible = true;
|
||||
state.accountId = record.id;
|
||||
|
||||
Reference in New Issue
Block a user