@custouch/jssdk
    Preparing search index...

    Function GetTicketDetail

    • 工单详情

      Type Parameters

      • T extends boolean

      Parameters

      • params: { logTypes?: string[]; projectId: string; ticketNumber: string; withLogs?: T } & CountRequest

      Returns Promise<
          T extends true ? { logs: Logs; ticket: ListItem } : { ticket: ListItem },
      >

      withLogs:true会更新所有type的已读状态;第一次可通过withLogs:true全量获取,后续查询通过GetNewLogs查询后续记录