callByPort
港口挂靠历史。
调用方式:
typescript
const data = await client.port.callByPort(params);typescript
import { Port } from 'loongship-data';
const data = await Port.callByPort({ key: 'YOUR_KEY', ...params });请求参数 (PortCallByPortParams)
| 参数名 | 类型 | 必填 | 描述 |
|---|---|---|---|
| portid | number | 是 | 港口 id。 |
| begin | number | 是 | 开始时间,时间戳秒。 |
| end | number | 是 | 结束时间,时间戳秒。 |
| key | string | 否 | User authorization key. Optional when an instance key or global key is registered. |
返回类型: PortCallByPortData
查看类型定义
typescript
export type PortCallByPortData = LoongshipRecord[];