我直接购买了人脸检测的接口,把这个小程序的ID改成了我的,报错(invokeService fail Error: invokeService:fail 9301008 invalid api info (requestId: undefined),这种情况我要怎么处理?还是说要在小程序的后台开通什么接口吗?有没有具体的流程,或者是测试接口调用看看?
wx.serviceMarket.invokeService({
service: 'wxad70fe5104ca8609',
api: 'detectFace',
data: {
"Action": "DetectFace",
"Url": "http://i2.sinaimg.cn/ty/nba/2015-07-05/U10236P6T12D7648505F44DT20150705114547.jpg"
},
}).then(res => {
console.log('invokeService success', res)
}).catch(err => {
console.error('invokeService fail', err)
})
