小程序
小游戏
企业微信
微信支付
扫描小程序码分享
wx.serviceMarket.invokeService({ service: service, api: 'rgeoc', data: { location: `${latitude},${longitude}`, get_poi: 1, poi_options: "policy=1", } }) 在使用地址逆解析时,出现的问题 !!!
3 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
哪个api,文档地址发下呢
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
invokePOISearch: function (searchData) {
wx.serviceMarket.invokeService({
service: wxc1c68623b7bdea7b,
api: 'poiSearch',
data: searchData
}).then(res => {
this.processSearchResults(res);
}).catch(err => {
console.error(err);
});
}, 搞了一晚上,同样报这个错,云服务开通了,充钱了,腾讯地图也设置了,就是报错Error: invokeService:fail 9301010 consumption failure (requestId: MLwpyNbWTYmLYChviJ57P3G3YLeFjXA-y7tZtT5kVLi_1bHDc1i0498TgAkMPzQb7fQ)
at WASubContext.js?t=wechat&s=1707157446522&v=2.20.1:2
at Generator.next (<anonymous>)
at n (WASubContext.js?t=wechat&s=1707157446522&v=2.20.1:2)
at s (WASubContext.js?t=wechat&s=1707157446522&v=2.20.1:2)
好气a,浪费生命
@官方 !!!
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
哪个api,文档地址发下呢
service: service,
api: 'rgeoc',
data: {
location: `${app.colorUISdk.isObj.hasKey(location, 'latitude') ? location.latitude : 0},${app.colorUISdk.isObj.hasKey(location, 'longitude') ? location.longitude : 0}`,
get_poi: 1,
poi_options: "policy=1",
}
})地图逆解析 出现invokeService:fail 9301010 consumption failure (requestId: MLzbfMwFc1EcuxrRuDSl3Pj8aBni1hwD27yGq-7_IIz5OCsIIjhqpX9O7XXam9bFYcA)
invokePOISearch: function (searchData) {
wx.serviceMarket.invokeService({
service: wxc1c68623b7bdea7b,
api: 'poiSearch',
data: searchData
}).then(res => {
this.processSearchResults(res);
}).catch(err => {
console.error(err);
});
}, 搞了一晚上,同样报这个错,云服务开通了,充钱了,腾讯地图也设置了,就是报错Error: invokeService:fail 9301010 consumption failure (requestId: MLwpyNbWTYmLYChviJ57P3G3YLeFjXA-y7tZtT5kVLi_1bHDc1i0498TgAkMPzQb7fQ)
at WASubContext.js?t=wechat&s=1707157446522&v=2.20.1:2
at Generator.next (<anonymous>)
at n (WASubContext.js?t=wechat&s=1707157446522&v=2.20.1:2)
at s (WASubContext.js?t=wechat&s=1707157446522&v=2.20.1:2)
好气a,浪费生命
@官方 !!!