复制 Markdown查看 MarkdowndeletePanelUser(userId: Object)版本要求:@ray-js/ray≥1.5.40Promise该方法支持 Promise 调用,不传 success / fail / complete 回调时返回 Promiseimport { health } from '@ray-js/ray'; const { deletePanelUser } = health; // Promise 调用 try { const res = await deletePanelUser({ ...params }); console.log(res); } catch (err) { console.log(err.errorMsg); }描述删除面板用户参数属性类型必填说明userIdstring是用户 ID返回值类型:Promise<boolean>示例代码基础用法import { health } from '@ray-js/ray' health.deletePanelUser({ userId: 'user123', }).then((success) => { console.log('删除结果:', success); }).catch((error) => { console.error(error); });上一页updatePanelUser下一页getPanelUserList