复制 Markdown查看 MarkdowngetConfigByKey(data: GetConfigByKeyParams)版本要求:@tuya-miniapp/cloud-api≥1.7.0描述通过 key 获取配置数据参数参数类型必填说明›dataGetConfigByKeyParams是请求参数返回值类型:Promise<string>GetConfigByKeyResult示例代码请求示例import { getConfigByKey } from '@tuya-miniapp/cloud-api'; getConfigByKey({ key: 'xxx' }) .then(response => { console.log(response); }) .catch(error => { console.error('通过 key 获取配置数据失败:', error); });返回示例"https://example.com/xxx"上一页新增或编辑录音文件信息下一页思维导图底部栏配置