微信OCR无法购买,下订单的时候提示“系统异常”
发布于 4 年前 作者 licai 12151 次浏览 来自 问答

2 回复

请问一下appid是什么?我们查一下

appId wx7b979f4631878ebema

买免费的那个没有问题
wx.serviceMarket.invokeService({
    service: 'wx7b979f4631878ebe', // 'wx_mp_appid',
    api: 'OcrAllInOne',
    data: {
        img_url: "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1585139224788&di=def9f98e20785a4cdcd93e8016346a0a&imgtype=0&src=http%3A%2F%2F5b0988e595225.cdn.sohucs.com%2Fimages%2F20171103%2Fac2da7fba0d447ff8565b81694b4da5d.jpeg",
        data_type: 3,
        ocr_type: 1,
    },
}).then(res => {
    console.log('invokeService success', res)
}).catch(err => {
    console.error('invokeService fail', err)
})

d但是为什么接口返回错误一直是-7啊,是没有识别出来还是什么其他原因
回到顶部