内容检测 msgSecCheck 真机请求超时
发布于 4 年前 作者 jiehu 10802 次浏览 来自 问答

return new Promise((resolve, reject) => {

this.requestHelper.post(`https://api.weixin.qq.com/wxa/msg_sec_check?access_token=${accesstoken}`, { content }).then(res => {

if (res.errcode != 0) {

reject();

}else{

resolve();

}

})

})

2 回复

手机打开调试了吗?而且那个API需要你后台调用,前台调用你后台,那个域名好像是不能添加到request域名里

回到顶部