getFeedbackDetails(data: GetFeedbackDetailsParams)

版本要求:
@tuya-miniapp/cloud-api≥1.7.0

描述

获取用户反馈详情

参数

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

返回值

类型:Promise<GetFeedbackDetailsResult>
GetFeedbackDetailsResult

引用对象

typeGetFeedbackDetailsResult反馈详情列表
FeedbackDetail[]

示例代码

请求示例

import { getFeedbackDetails } from '@tuya-miniapp/cloud-api';

getFeedbackDetails({ recordId: 'rec_xxx', bizTypes: '1,2' })
  .then(response => {
    console.log(response);
  })
  .catch(error => {
    console.error('获取用户反馈详情失败:', error);
  });

返回示例

[{ "recordId": "rec_xxx", "bizType": 1, "feedbackType": 2 }]