removeAstronomical(params: IRemoveAstronomicalParams)

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

描述

删除天文定时

参数

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

返回值

类型:Promise<boolean>
是否成功删除天文定时

示例代码

基础用法

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

removeAstronomical({ id: '8642566' }).then((response) => {
  console.log('删除结果:', response);
}).catch((err) => {
  console.error(err);
});