feat: 添加新的接口

This commit is contained in:
danial
2025-07-01 20:03:08 +08:00
parent 663796297d
commit 99ceeafed8
19 changed files with 269 additions and 28 deletions

View File

@@ -342,6 +342,7 @@ docs/KamiInternalModelEntityV1CardAppleRechargeInfo.md
docs/KamiInternalModelEntityV1CardRedeemAccountGroup.md
docs/KamiInternalModelEntityV1CardRedeemAccountHistory.md
docs/KamiInternalModelEntityV1CardRedeemCookieInfo.md
docs/KamiInternalModelEntityV1CardRedeemCookieOrderJd.md
docs/KamiInternalModelEntityV1CardRedeemOrderHistory.md
docs/KamiInternalModelEntityV1CardRedeemOrderInfo.md
docs/KamiInternalModelEntityV1MerchantHiddenRecord.md
@@ -694,6 +695,7 @@ 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-cookie-info.ts
models/kami-internal-model-entity-v1-card-redeem-cookie-order-jd.ts
models/kami-internal-model-entity-v1-card-redeem-order-history.ts
models/kami-internal-model-entity-v1-card-redeem-order-info.ts
models/kami-internal-model-entity-v1-merchant-hidden-record.ts

View File

@@ -8005,6 +8005,7 @@ export const DefaultApiAxiosParamCreator = function (
* @param {number} current
* @param {ApiOrderInfoSummaryGetListGetPageSizeEnum} pageSize
* @param {string} [roadUid]
* @param {string} [date]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
@@ -8012,6 +8013,7 @@ export const DefaultApiAxiosParamCreator = function (
current: number,
pageSize: ApiOrderInfoSummaryGetListGetPageSizeEnum,
roadUid?: string,
date?: string,
options: RawAxiosRequestConfig = {}
): Promise<RequestArgs> => {
// verify required parameter 'current' is not null or undefined
@@ -8038,6 +8040,10 @@ export const DefaultApiAxiosParamCreator = function (
localVarQueryParameter['roadUid'] = roadUid;
}
if (date !== undefined) {
localVarQueryParameter['date'] = date;
}
if (current !== undefined) {
localVarQueryParameter['current'] = current;
}
@@ -15834,6 +15840,7 @@ export const DefaultApiFp = function (configuration?: Configuration) {
* @param {number} current
* @param {ApiOrderInfoSummaryGetListGetPageSizeEnum} pageSize
* @param {string} [roadUid]
* @param {string} [date]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
@@ -15841,6 +15848,7 @@ export const DefaultApiFp = function (configuration?: Configuration) {
current: number,
pageSize: ApiOrderInfoSummaryGetListGetPageSizeEnum,
roadUid?: string,
date?: string,
options?: RawAxiosRequestConfig
): Promise<
(
@@ -15853,6 +15861,7 @@ export const DefaultApiFp = function (configuration?: Configuration) {
current,
pageSize,
roadUid,
date,
options
);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
@@ -20311,6 +20320,7 @@ export const DefaultApiFactory = function (
requestParameters.current,
requestParameters.pageSize,
requestParameters.roadUid,
requestParameters.date,
options
)
.then(request => request(axios, basePath));
@@ -26462,6 +26472,13 @@ export interface DefaultApiApiOrderInfoSummaryGetListGetRequest {
* @memberof DefaultApiApiOrderInfoSummaryGetListGet
*/
readonly roadUid?: string;
/**
*
* @type {string}
* @memberof DefaultApiApiOrderInfoSummaryGetListGet
*/
readonly date?: string;
}
/**
@@ -30231,6 +30248,7 @@ export class DefaultApi extends BaseAPI implements DefaultApiInterface {
requestParameters.current,
requestParameters.pageSize,
requestParameters.roadUid,
requestParameters.date,
options
)
.then(request => request(this.axios, this.basePath));

View File

@@ -7312,11 +7312,13 @@ const apiInstance = new DefaultApi(configuration);
let current: number; //页数 (default to undefined)
let pageSize: 5 | 10 | 15 | 20 | 50 | 100; //页码 (default to undefined)
let roadUid: string; // (optional) (default to undefined)
let date: string; // (optional) (default to undefined)
const { status, data } = await apiInstance.apiOrderInfoSummaryGetListGet(
current,
pageSize,
roadUid
roadUid,
date
);
```
@@ -7327,6 +7329,7 @@ const { status, data } = await apiInstance.apiOrderInfoSummaryGetListGet(
| **current** | [**number**] | 页数 | defaults to undefined |
| **pageSize** | [\*\*5 | 10 | 15 | 20 | 50 | 100**]**Array<5 &#124; 10 &#124; 15 &#124; 20 &#124; 50 &#124; 100>\*\* | 页码 | defaults to undefined |
| **roadUid** | [**string**] | | (optional) defaults to undefined |
| **date** | [**string**] | | (optional) defaults to undefined |
### Return type

View File

@@ -2,21 +2,21 @@
## Properties
| Name | Type | Description | Notes |
| --------------- | ----------------------------------------------------------------------------------------------------- | ----------- | --------------------------------- |
| **id** | **number** | | [optional] [default to undefined] |
| **bankOrderId** | **string** | 订单id | [optional] [default to undefined] |
| **orderAmount** | **number** | 订单金额 | [optional] [default to undefined] |
| **wxPay** | **string** | 支付链接 | [optional] [default to undefined] |
| **cookieId** | **number** | | [optional] [default to undefined] |
| **cookie** | [**KamiInternalModelEntityV1CardRedeemCookieInfo**](KamiInternalModelEntityV1CardRedeemCookieInfo.md) | | [optional] [default to undefined] |
| **orderNo** | **string** | 订单编号 | [optional] [default to undefined] |
| **jdOrderNo** | **string** | | [optional] [default to undefined] |
| **status** | **string** | | [optional] [default to undefined] |
| **note** | **string** | | [optional] [default to undefined] |
| **deletedAt** | **string** | | [optional] [default to undefined] |
| **createdAt** | **string** | | [optional] [default to undefined] |
| **updatedAt** | **string** | | [optional] [default to undefined] |
| Name | Type | Description | Notes |
| --------------- | ----------------------------------------------------------------------------------------------------------- | ----------- | --------------------------------- |
| **id** | **number** | | [optional] [default to undefined] |
| **bankOrderId** | **string** | 订单id | [optional] [default to undefined] |
| **orderAmount** | **number** | 订单金额 | [optional] [default to undefined] |
| **cookieId** | **number** | | [optional] [default to undefined] |
| **cookie** | [**KamiInternalModelEntityV1CardRedeemCookieInfo**](KamiInternalModelEntityV1CardRedeemCookieInfo.md) | | [optional] [default to undefined] |
| **orderNo** | **string** | 订单编号 | [optional] [default to undefined] |
| **jdOrderNo** | **string** | | [optional] [default to undefined] |
| **status** | **string** | | [optional] [default to undefined] |
| **note** | **string** | | [optional] [default to undefined] |
| **deletedAt** | **string** | | [optional] [default to undefined] |
| **createdAt** | **string** | | [optional] [default to undefined] |
| **updatedAt** | **string** | | [optional] [default to undefined] |
| **jdOrder** | [**KamiInternalModelEntityV1CardRedeemCookieOrderJd**](KamiInternalModelEntityV1CardRedeemCookieOrderJd.md) | | [optional] [default to undefined] |
## Example
@@ -27,7 +27,6 @@ const instance: KamiApiCardRedeemJdV1OrderListSchema = {
id,
bankOrderId,
orderAmount,
wxPay,
cookieId,
cookie,
orderNo,
@@ -36,7 +35,8 @@ const instance: KamiApiCardRedeemJdV1OrderListSchema = {
note,
deletedAt,
createdAt,
updatedAt
updatedAt,
jdOrder
};
```

View File

@@ -19,6 +19,7 @@
| **isRestrictDevice** | **boolean** | 是否限制设备 | [optional] [default to undefined] |
| **isRestrictIp** | **boolean** | 是否限制IP | [optional] [default to undefined] |
| **isRestrictInternalIp** | **boolean** | 是否限制局域网IP | [optional] [default to undefined] |
| **submitStrategy** | **string** | 提交策略 | [optional] [default to undefined] |
## Example
@@ -40,7 +41,8 @@ const instance: KamiApiMerchantV1MerchantDeployAddReq = {
isRestrictCardPass,
isRestrictDevice,
isRestrictIp,
isRestrictInternalIp
isRestrictInternalIp,
submitStrategy
};
```

View File

@@ -26,6 +26,7 @@
| **isRestrictDevice** | **boolean** | 是否限制设备 | [optional] [default to undefined] |
| **isRestrictIp** | **boolean** | 是否限制IP | [optional] [default to undefined] |
| **isRestrictInternalIp** | **boolean** | 是否限制局域网IP | [optional] [default to undefined] |
| **submitStrategy** | **string** | 提交策略 | [optional] [default to undefined] |
## Example
@@ -54,7 +55,8 @@ const instance: KamiApiMerchantV1MerchantDeployGetDetailRes = {
isRestrictCardPass,
isRestrictDevice,
isRestrictIp,
isRestrictInternalIp
isRestrictInternalIp,
submitStrategy
};
```

View File

@@ -26,6 +26,7 @@
| **isRestrictDevice** | **boolean** | 是否限制设备 | [optional] [default to undefined] |
| **isRestrictIp** | **boolean** | 是否限制IP | [optional] [default to undefined] |
| **isRestrictInternalIp** | **boolean** | 是否限制局域网IP | [optional] [default to undefined] |
| **submitStrategy** | **string** | 提交策略 | [optional] [default to undefined] |
## Example
@@ -54,7 +55,8 @@ const instance: KamiApiMerchantV1MerchantDeployRecord = {
isRestrictCardPass,
isRestrictDevice,
isRestrictIp,
isRestrictInternalIp
isRestrictInternalIp,
submitStrategy
};
```

View File

@@ -19,6 +19,7 @@
| **isRestrictDevice** | **boolean** | 是否限制设备 | [optional] [default to undefined] |
| **isRestrictIp** | **boolean** | 是否限制IP | [optional] [default to undefined] |
| **isRestrictInternalIp** | **boolean** | 是否限制局域网IP | [optional] [default to undefined] |
| **submitStrategy** | **string** | 提交策略 | [optional] [default to undefined] |
| **id** | **number** | | [default to undefined] |
## Example
@@ -42,6 +43,7 @@ const instance: KamiApiMerchantV1MerchantDeployUpdateReq = {
isRestrictDevice,
isRestrictIp,
isRestrictInternalIp,
submitStrategy,
id
};
```

View File

@@ -5,6 +5,7 @@
| Name | Type | Description | Notes |
| ------------ | ---------- | ----------- | --------------------------------- |
| **roadUid** | **string** | | [optional] [default to undefined] |
| **date** | **string** | | [optional] [default to undefined] |
| **current** | **number** | 页数 | [default to undefined] |
| **pageSize** | **number** | 页码 | [default to undefined] |
@@ -15,6 +16,7 @@ import { KamiApiOrderV1OrderSummaryGetListReq } from './api';
const instance: KamiApiOrderV1OrderSummaryGetListReq = {
roadUid,
date,
current,
pageSize
};

View File

@@ -0,0 +1,51 @@
# KamiInternalModelEntityV1CardRedeemCookieOrderJd
## Properties
| Name | Type | Description | Notes |
| ------------------- | ---------- | ----------- | --------------------------------- |
| **id** | **number** | | [optional] [default to undefined] |
| **cookieOrderId** | **number** | 订单 id | [optional] [default to undefined] |
| **cookieAccountId** | **number** | cookieid | [optional] [default to undefined] |
| **responseData** | **string** | 返回值 | [optional] [default to undefined] |
| **status** | **string** | | [optional] [default to undefined] |
| **payId** | **string** | | [optional] [default to undefined] |
| **webPayLink** | **string** | | [optional] [default to undefined] |
| **clientPayLink** | **string** | | [optional] [default to undefined] |
| **orderNo** | **string** | | [optional] [default to undefined] |
| **userAgent** | **string** | | [optional] [default to undefined] |
| **userClient** | **string** | | [optional] [default to undefined] |
| **note** | **string** | | [optional] [default to undefined] |
| **createdAt** | **string** | | [optional] [default to undefined] |
| **updatedAt** | **string** | | [optional] [default to undefined] |
| **deletedAt** | **string** | | [optional] [default to undefined] |
| **cardNo** | **string** | | [optional] [default to undefined] |
| **cardPassword** | **string** | | [optional] [default to undefined] |
## Example
```typescript
import { KamiInternalModelEntityV1CardRedeemCookieOrderJd } from './api';
const instance: KamiInternalModelEntityV1CardRedeemCookieOrderJd = {
id,
cookieOrderId,
cookieAccountId,
responseData,
status,
payId,
webPayLink,
clientPayLink,
orderNo,
userAgent,
userClient,
note,
createdAt,
updatedAt,
deletedAt,
cardNo,
cardPassword
};
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -331,6 +331,7 @@ 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-cookie-info';
export * from './kami-internal-model-entity-v1-card-redeem-cookie-order-jd';
export * from './kami-internal-model-entity-v1-card-redeem-order-history';
export * from './kami-internal-model-entity-v1-card-redeem-order-info';
export * from './kami-internal-model-entity-v1-merchant-hidden-record';

View File

@@ -15,6 +15,9 @@
// May contain unused imports in some cases
// @ts-ignore
import type { KamiInternalModelEntityV1CardRedeemCookieInfo } from './kami-internal-model-entity-v1-card-redeem-cookie-info';
// May contain unused imports in some cases
// @ts-ignore
import type { KamiInternalModelEntityV1CardRedeemCookieOrderJd } from './kami-internal-model-entity-v1-card-redeem-cookie-order-jd';
/**
*
@@ -40,12 +43,6 @@ export interface KamiApiCardRedeemJdV1OrderListSchema {
* @memberof KamiApiCardRedeemJdV1OrderListSchema
*/
orderAmount?: number;
/**
* 支付链接
* @type {string}
* @memberof KamiApiCardRedeemJdV1OrderListSchema
*/
wxPay?: string;
/**
*
* @type {number}
@@ -100,4 +97,10 @@ export interface KamiApiCardRedeemJdV1OrderListSchema {
* @memberof KamiApiCardRedeemJdV1OrderListSchema
*/
updatedAt?: string;
/**
*
* @type {KamiInternalModelEntityV1CardRedeemCookieOrderJd}
* @memberof KamiApiCardRedeemJdV1OrderListSchema
*/
jdOrder?: KamiInternalModelEntityV1CardRedeemCookieOrderJd;
}

View File

@@ -112,4 +112,10 @@ export interface KamiApiMerchantV1MerchantDeployAddReq {
* @memberof KamiApiMerchantV1MerchantDeployAddReq
*/
isRestrictInternalIp?: boolean;
/**
* 提交策略
* @type {string}
* @memberof KamiApiMerchantV1MerchantDeployAddReq
*/
submitStrategy?: string;
}

View File

@@ -154,4 +154,10 @@ export interface KamiApiMerchantV1MerchantDeployGetDetailRes {
* @memberof KamiApiMerchantV1MerchantDeployGetDetailRes
*/
isRestrictInternalIp?: boolean;
/**
* 提交策略
* @type {string}
* @memberof KamiApiMerchantV1MerchantDeployGetDetailRes
*/
submitStrategy?: string;
}

View File

@@ -154,4 +154,10 @@ export interface KamiApiMerchantV1MerchantDeployRecord {
* @memberof KamiApiMerchantV1MerchantDeployRecord
*/
isRestrictInternalIp?: boolean;
/**
* 提交策略
* @type {string}
* @memberof KamiApiMerchantV1MerchantDeployRecord
*/
submitStrategy?: string;
}

View File

@@ -112,6 +112,12 @@ export interface KamiApiMerchantV1MerchantDeployUpdateReq {
* @memberof KamiApiMerchantV1MerchantDeployUpdateReq
*/
isRestrictInternalIp?: boolean;
/**
* 提交策略
* @type {string}
* @memberof KamiApiMerchantV1MerchantDeployUpdateReq
*/
submitStrategy?: string;
/**
*
* @type {number}

View File

@@ -24,6 +24,12 @@ export interface KamiApiOrderV1OrderSummaryGetListReq {
* @memberof KamiApiOrderV1OrderSummaryGetListReq
*/
roadUid?: string;
/**
*
* @type {string}
* @memberof KamiApiOrderV1OrderSummaryGetListReq
*/
date?: string;
/**
* 页数
* @type {number}

View File

@@ -0,0 +1,123 @@
/* 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 KamiInternalModelEntityV1CardRedeemCookieOrderJd
*/
export interface KamiInternalModelEntityV1CardRedeemCookieOrderJd {
/**
*
* @type {number}
* @memberof KamiInternalModelEntityV1CardRedeemCookieOrderJd
*/
id?: number;
/**
* 订单 id
* @type {number}
* @memberof KamiInternalModelEntityV1CardRedeemCookieOrderJd
*/
cookieOrderId?: number;
/**
* cookieid
* @type {number}
* @memberof KamiInternalModelEntityV1CardRedeemCookieOrderJd
*/
cookieAccountId?: number;
/**
* 返回值
* @type {string}
* @memberof KamiInternalModelEntityV1CardRedeemCookieOrderJd
*/
responseData?: string;
/**
*
* @type {string}
* @memberof KamiInternalModelEntityV1CardRedeemCookieOrderJd
*/
status?: string;
/**
*
* @type {string}
* @memberof KamiInternalModelEntityV1CardRedeemCookieOrderJd
*/
payId?: string;
/**
*
* @type {string}
* @memberof KamiInternalModelEntityV1CardRedeemCookieOrderJd
*/
webPayLink?: string;
/**
*
* @type {string}
* @memberof KamiInternalModelEntityV1CardRedeemCookieOrderJd
*/
clientPayLink?: string;
/**
*
* @type {string}
* @memberof KamiInternalModelEntityV1CardRedeemCookieOrderJd
*/
orderNo?: string;
/**
*
* @type {string}
* @memberof KamiInternalModelEntityV1CardRedeemCookieOrderJd
*/
userAgent?: string;
/**
*
* @type {string}
* @memberof KamiInternalModelEntityV1CardRedeemCookieOrderJd
*/
userClient?: string;
/**
*
* @type {string}
* @memberof KamiInternalModelEntityV1CardRedeemCookieOrderJd
*/
note?: string;
/**
*
* @type {string}
* @memberof KamiInternalModelEntityV1CardRedeemCookieOrderJd
*/
createdAt?: string;
/**
*
* @type {string}
* @memberof KamiInternalModelEntityV1CardRedeemCookieOrderJd
*/
updatedAt?: string;
/**
*
* @type {string}
* @memberof KamiInternalModelEntityV1CardRedeemCookieOrderJd
*/
deletedAt?: string;
/**
*
* @type {string}
* @memberof KamiInternalModelEntityV1CardRedeemCookieOrderJd
*/
cardNo?: string;
/**
*
* @type {string}
* @memberof KamiInternalModelEntityV1CardRedeemCookieOrderJd
*/
cardPassword?: string;
}

View File

@@ -170,7 +170,7 @@ const columns: TableColumnData[] = [
},
{
title: '京东订单号',
dataIndex: 'jdOrderNo',
dataIndex: 'jdOrder.webPayLink',
ellipsis: true,
tooltip: true
},