Skip to content

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)

参数名类型必填描述
portidnumber港口 id。
beginnumber开始时间,时间戳秒。
endnumber结束时间,时间戳秒。
keystringUser authorization key. Optional when an instance key or global key is registered.

返回类型: PortCallByPortData

查看类型定义
typescript
export type PortCallByPortData = LoongshipRecord[];