getAstronomicalList(params: IGetAstronomicalList)

版本要求:
@ray-js/ray≥1.5.2

描述

获取天文定时列表

参数

参数类型必填说明
是请求参数

返回值

类型:Promise<IGetAstronomicalListResponse>
天文定时列表数组

示例代码

基础用法

import { getAstronomicalList } from '@ray-js/ray';

getAstronomicalList({
  bizId: 'vdevo160456552237748',
}).then((response) => {
  console.log('天文定时列表:', response);
}).catch((err) => {
  console.error(err);
});