feat: 新增接口

This commit is contained in:
danial
2025-03-12 20:38:22 +08:00
parent 1f25ebb6b9
commit f0fb2e8d34
3 changed files with 13 additions and 5 deletions

View File

@@ -54,4 +54,10 @@ export interface KamiApiCardInfoWalmartV1RedeemConfigGetRes {
* @memberof KamiApiCardInfoWalmartV1RedeemConfigGetRes
*/
redeemCardRate?: number;
/**
* 是否允许重复充值
* @type {boolean}
* @memberof KamiApiCardInfoWalmartV1RedeemConfigGetRes
*/
isCardAllowRepeated?: boolean;
}

View File

@@ -54,4 +54,10 @@ export interface KamiApiCardInfoWalmartV1RedeemConfigSetReq {
* @memberof KamiApiCardInfoWalmartV1RedeemConfigSetReq
*/
redeemCardRate: number;
/**
* 是否允许重复充值
* @type {boolean}
* @memberof KamiApiCardInfoWalmartV1RedeemConfigSetReq
*/
isCardAllowRepeated: boolean;
}

View File

@@ -1,8 +1,4 @@
import {
batchAdd,
downloadDataList,
downloadWalmartCardData
} from '@/api/card-walmart-account';
import { batchAdd, downloadWalmartCardData } from '@/api/card-walmart-account';
import type { KamiApiCardInfoWalmartV1AccountCookieCheckRes } from '@/api/generated';
import { getAPIBaseUrl } from '@/api/utils';
import useLoading from '@/hooks/loading';