getLogUserAction(params: IGetDpReportLog)

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

描述

获取用户操作的下发日志(支持分页)

参数

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

返回值

类型:Promise<IGetDpReportLogResponse>
用户操作日志数据,包含总条数、DP 日志列表、是否有下一页

合法值

IGetDpReportLog.sortType
值说明最低版本
DESC--
ASC--

示例代码

基础用法

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

getLogUserAction({
  devId: 'vdevo169477319679442',
  dpIds: '1,2',
  offset: 0,
  limit: 50,
  sortType: 'DESC',
}).then((res) => {
  console.log('用户操作日志:', res);
}).catch((error) => {
  console.error(error);
});