# JDV2AccountApi

All URIs are relative to _http://localhost_

| Method                                                          | HTTP request                          | Description  |
| --------------------------------------------------------------- | ------------------------------------- | ------------ |
| [**apiJdV2AccountCheckPost**](#apijdv2accountcheckpost)         | **POST** /api/jd-v2/account/check     | 棂测账号状态 |
| [**apiJdV2AccountHistoryGet**](#apijdv2accounthistoryget)       | **GET** /api/jd-v2/account/history    | 账号历史记录 |
| [**apiJdV2AccountListGet**](#apijdv2accountlistget)             | **GET** /api/jd-v2/account/list       | 账号列表     |
| [**apiJdV2AccountStatisticsGet**](#apijdv2accountstatisticsget) | **GET** /api/jd-v2/account/statistics | 账号统计信息 |

# **apiJdV2AccountCheckPost**

> KamiApiCamelOilV1CheckAccountRes apiJdV2AccountCheckPost()

### Example

```typescript
import {
  JDV2AccountApi,
  Configuration,
  KamiApiCamelOilV1CheckAccountReq
} from './api';

const configuration = new Configuration();
const apiInstance = new JDV2AccountApi(configuration);

let kamiApiCamelOilV1CheckAccountReq: KamiApiCamelOilV1CheckAccountReq; // (optional)

const { status, data } = await apiInstance.apiJdV2AccountCheckPost(
  kamiApiCamelOilV1CheckAccountReq
);
```

### Parameters

| Name                                 | Type                                 | Description | Notes |
| ------------------------------------ | ------------------------------------ | ----------- | ----- |
| **kamiApiCamelOilV1CheckAccountReq** | **KamiApiCamelOilV1CheckAccountReq** |             |       |

### Return type

**KamiApiCamelOilV1CheckAccountRes**

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

### HTTP response details

| Status code | Description | Response headers |
| ----------- | ----------- | ---------------- |
| **200**     |             | -                |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **apiJdV2AccountHistoryGet**

> KamiApiCamelOilV1AccountHistoryRes apiJdV2AccountHistoryGet()

### Example

```typescript
import { JDV2AccountApi, Configuration } from './api';

const configuration = new Configuration();
const apiInstance = new JDV2AccountApi(configuration);

let current: number; //页数 (default to undefined)
let pageSize: 5 | 10 | 15 | 20 | 50 | 100; //页码 (default to undefined)
let accountId: number; //账号ID (default to undefined)

const { status, data } = await apiInstance.apiJdV2AccountHistoryGet(
  current,
  pageSize,
  accountId
);
```

### Parameters

| Name          | Type         | Description | Notes                 |
| ------------- | ------------ | ----------- | --------------------- | --- | --- | ----------------------------------------------------------------------- | ---- | --------------------- |
| **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 |
| **accountId** | [**number**] | 账号ID      | defaults to undefined |

### Return type

**KamiApiCamelOilV1AccountHistoryRes**

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

### HTTP response details

| Status code | Description | Response headers |
| ----------- | ----------- | ---------------- |
| **200**     |             | -                |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **apiJdV2AccountListGet**

> KamiApiCamelOilV1ListAccountRes apiJdV2AccountListGet()

### Example

```typescript
import { JDV2AccountApi, Configuration } from './api';

const configuration = new Configuration();
const apiInstance = new JDV2AccountApi(configuration);

let current: number; //页数 (default to undefined)
let pageSize: 5 | 10 | 15 | 20 | 50 | 100; //页码 (default to undefined)
let status: 4 | 2 | 3 | 0 | 1; //状态筛选 (optional) (default to undefined)
let keyword: string; //关键词搜索（账号名称/手机号） (optional) (default to undefined)

const { status, data } = await apiInstance.apiJdV2AccountListGet(
  current,
  pageSize,
  status,
  keyword
);
```

### Parameters

| Name         | Type         | Description                   | Notes                            |
| ------------ | ------------ | ----------------------------- | -------------------------------- | --- | ------------------------------------------------------ | ----------------------------------------------------------------------- | -------------------------------- | --------------------- |
| **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 |
| **status**   | [\*\*4       | 2                             | 3                                | 0   | 1**]**Array<4 &#124; 2 &#124; 3 &#124; 0 &#124; 1>\*\* | 状态筛选                                                                | (optional) defaults to undefined |
| **keyword**  | [**string**] | 关键词搜索（账号名称/手机号） | (optional) defaults to undefined |

### Return type

**KamiApiCamelOilV1ListAccountRes**

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

### HTTP response details

| Status code | Description | Response headers |
| ----------- | ----------- | ---------------- |
| **200**     |             | -                |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **apiJdV2AccountStatisticsGet**

> KamiApiCamelOilV1AccountStatisticsRes apiJdV2AccountStatisticsGet()

### Example

```typescript
import { JDV2AccountApi, Configuration } from './api';

const configuration = new Configuration();
const apiInstance = new JDV2AccountApi(configuration);

let accountId: number; //账号ID (default to undefined)

const { status, data } =
  await apiInstance.apiJdV2AccountStatisticsGet(accountId);
```

### Parameters

| Name          | Type         | Description | Notes                 |
| ------------- | ------------ | ----------- | --------------------- |
| **accountId** | [**number**] | 账号ID      | defaults to undefined |

### Return type

**KamiApiCamelOilV1AccountStatisticsRes**

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

### HTTP response details

| Status code | Description | Response headers |
| ----------- | ----------- | ---------------- |
| **200**     |             | -                |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
