chore(api): 更新OpenAPI生成代码并优化参数处理
- 添加 /* eslint-disable */ 注释以忽略ESLint检查 - 简化DefaultApiAxiosParamCreator函数结构 - 优化各API端点的请求参数处理逻辑 - 统一请求配置选项的合并方式 - 移除冗余的空行和注释块 - 标准化header和query参数的设置流程
This commit is contained in:
@@ -2,27 +2,28 @@
|
||||
|
||||
## Properties
|
||||
|
||||
| Name | Type | Description | Notes |
|
||||
| ------------------- | ---------- | ------------------------------------- | --------------------------------- |
|
||||
| **id** | **number** | 主键ID | [optional] [default to undefined] |
|
||||
| **jdOrderId** | **string** | 京东订单号 | [optional] [default to undefined] |
|
||||
| **payId** | **string** | 支付ID | [optional] [default to undefined] |
|
||||
| **amount** | **number** | 订单金额 | [optional] [default to undefined] |
|
||||
| **category** | **string** | 商品品类 | [optional] [default to undefined] |
|
||||
| **cookieId** | **string** | 使用的Cookie ID | [optional] [default to undefined] |
|
||||
| **status** | **number** | 状态:1待支付 2已支付 3已过期 4已取消 | [optional] [default to undefined] |
|
||||
| **wxPayUrl** | **string** | 微信支付链接 | [optional] [default to undefined] |
|
||||
| **wxPayExpireAt** | **string** | 微信支付链接过期时间 | [optional] [default to undefined] |
|
||||
| **orderExpireAt** | **string** | 订单过期时间(默认24小时) | [optional] [default to undefined] |
|
||||
| **currentOrderId** | **number** | 当前关联的订单ID | [optional] [default to undefined] |
|
||||
| **paidAt** | **string** | 支付完成时间 | [optional] [default to undefined] |
|
||||
| **cardNo** | **string** | 卡号 | [optional] [default to undefined] |
|
||||
| **cardPassword** | **string** | 卡密 | [optional] [default to undefined] |
|
||||
| **cardExtractedAt** | **string** | 卡密提取时间 | [optional] [default to undefined] |
|
||||
| **createdAt** | **string** | 创建时间 | [optional] [default to undefined] |
|
||||
| **updatedAt** | **string** | 更新时间 | [optional] [default to undefined] |
|
||||
| **deletedAt** | **string** | 删除时间 | [optional] [default to undefined] |
|
||||
| **orderId** | **string** | 关联的用户订单号 | [optional] [default to undefined] |
|
||||
| Name | Type | Description | Notes |
|
||||
| ------------------- | ------------------------------------------------------------------------------- | ------------------------------------- | --------------------------------- |
|
||||
| **id** | **number** | 主键ID | [optional] [default to undefined] |
|
||||
| **jdOrderId** | **string** | 京东订单号 | [optional] [default to undefined] |
|
||||
| **payId** | **string** | 支付ID | [optional] [default to undefined] |
|
||||
| **amount** | **number** | 订单金额 | [optional] [default to undefined] |
|
||||
| **category** | **string** | 商品品类 | [optional] [default to undefined] |
|
||||
| **cookieId** | **string** | 使用的Cookie ID | [optional] [default to undefined] |
|
||||
| **cookie** | [**KamiApiJdCookieV1CookieAccountInfo**](KamiApiJdCookieV1CookieAccountInfo.md) | | [optional] [default to undefined] |
|
||||
| **status** | **number** | 状态:1待支付 2已支付 3已过期 4已取消 | [optional] [default to undefined] |
|
||||
| **wxPayUrl** | **string** | 微信支付链接 | [optional] [default to undefined] |
|
||||
| **wxPayExpireAt** | **string** | 微信支付链接过期时间 | [optional] [default to undefined] |
|
||||
| **orderExpireAt** | **string** | 订单过期时间(默认24小时) | [optional] [default to undefined] |
|
||||
| **currentOrderId** | **number** | 当前关联的订单ID | [optional] [default to undefined] |
|
||||
| **paidAt** | **string** | 支付完成时间 | [optional] [default to undefined] |
|
||||
| **cardNo** | **string** | 卡号 | [optional] [default to undefined] |
|
||||
| **cardPassword** | **string** | 卡密 | [optional] [default to undefined] |
|
||||
| **cardExtractedAt** | **string** | 卡密提取时间 | [optional] [default to undefined] |
|
||||
| **createdAt** | **string** | 创建时间 | [optional] [default to undefined] |
|
||||
| **updatedAt** | **string** | 更新时间 | [optional] [default to undefined] |
|
||||
| **deletedAt** | **string** | 删除时间 | [optional] [default to undefined] |
|
||||
| **orderId** | **string** | 关联的用户订单号 | [optional] [default to undefined] |
|
||||
|
||||
## Example
|
||||
|
||||
@@ -36,6 +37,7 @@ const instance: KamiApiJdCookieV1JdOrderInfo = {
|
||||
amount,
|
||||
category,
|
||||
cookieId,
|
||||
cookie,
|
||||
status,
|
||||
wxPayUrl,
|
||||
wxPayExpireAt,
|
||||
|
||||
@@ -12,6 +12,10 @@
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
// May contain unused imports in some cases
|
||||
// @ts-ignore
|
||||
import type { KamiApiJdCookieV1CookieAccountInfo } from './kami-api-jd-cookie-v1-cookie-account-info';
|
||||
|
||||
export interface KamiApiJdCookieV1JdOrderInfo {
|
||||
/**
|
||||
* 主键ID
|
||||
@@ -37,6 +41,7 @@ export interface KamiApiJdCookieV1JdOrderInfo {
|
||||
* 使用的Cookie ID
|
||||
*/
|
||||
cookieId?: string;
|
||||
cookie?: KamiApiJdCookieV1CookieAccountInfo;
|
||||
/**
|
||||
* 状态:1待支付 2已支付 3已过期 4已取消
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user