报错信息: invokeService fail Error: invokeService:fail 9301010 consumption failure (requestId: MLxRWCAb1PnVmb3mR3x207VdGW0NqgjwbLa3eayVtUjX0S1Pnb6Z597cCltdX1jt4pQ)
wx.serviceMarket.invokeService({
service: 'wxcae50ba710ca29d3', // 'wx_mp_appid',
api: 'jokebot',
data: {
"mode": 5, // 返回普通笑话
},
}).then(res => {
console.log('invokeService success', res)
wx.showModal({
title: 'cost',
content: (Date.now()) + '',
})
}).catch(err => {
console.error('invokeService fail', err)
wx.showModal({
title: 'fail',
content: err + '',
})
})
响应数据: {“errMsg”:“wx.serviceMarket.invokeService:ok”,“data”:"{\“request_id\”:\“MLxRWCAb1PnVmb3mR3x207VdGW0NqgjwbLa3eayVtUjX0S1Pnb6Z597cCltdX1jt4pQ\”,\“errmsg\”:\“consumption failure\”,\“errcode\”:9301010,\“scene\”:4}"}
谁知道什么问题,帮忙解答下~谢谢!