Page 2 of 2

Re: 小程序分享接口的问题

Posted: 2025年 Mar 5日 18:55
by Ken

如图

11.jpg
12.jpg

Re: 小程序分享接口的问题

Posted: 2025年 Mar 6日 11:47
by xuanyi

麻烦贴一下具体导出接口的调用逻辑,谢谢


Re: 小程序分享接口的问题

Posted: 2025年 Mar 13日 15:43
by Ken

出现了新的报错。现在应该怎么解决innerError: {errorCode: '28841105', errorMsg: 'No permissions. This project is not authorized to call this API. '}


Re: 小程序分享接口的问题

Posted: 2025年 Mar 13日 15:47
by xuanyi

麻烦贴一下具体导出接口的调用逻辑呗,附带一下参数信息


Re: 小程序分享接口的问题

Posted: 2025年 Mar 13日 17:25
by Ken

// @ray-js/ray1.2.12
import { exportStatisticsHour } from '@ray-js/ray';

exportStatisticsHour({
devId: 'vdevo161733425146241',
email: 'xxx@gmail.com',
dpExcelQuery: [{ dpId: 18, name: 'excel数据列标题' }],
date: '20230511',
type: 'avg',
lang: 'cn',
title: '这是一个标题',
})
.then((response) => {
console.log(response);
})
.catch();


Re: 小程序分享接口的问题

Posted: 2025年 Mar 13日 20:46
by xuanyi

实际下发请求的时候也是用的上面的 devId 吗


Re: 小程序分享接口的问题

Posted: 2025年 Mar 20日 20:52
by Ken

不是哦


Re: 小程序分享接口的问题

Posted: 2025年 Mar 20日 20:56
by xuanyi

麻烦发一下真实环境下,有问题的设备id,以及带真实请求参数的业务代码。 不然不好定位问题。