- 微信jsapi支付突然不能用了,提示需要传入openid,怎么回事?
如题,本来开发的好好的,突然今天发现不能用了,提示需要传入opeind,之前明明是好的呀,关键是使用测试网站(unicloud提供)的是好好的,部署到自己网站上还是不行。
2023-12-04 - 已经收到备案审核通过的短信,但是小程序这边显示还是正在审核中?
如题,昨天就收到备案成功的短信,今天打开小程序看还是在审核中
2023-09-28 - 违规后怎么没有申诉入口呀?
[图片]
2023-05-22 - 小程序开发者工具正常request请求,而预览和真机调试却不行?
开发者工具不校验未打开,域名已添加到合法域名中,开发者工具端可正常请求。 [图片] 而预览和真机调试不行,都需要打开不检验才可以,关键是已经把该域名添加到合法域名了呀
2022-02-12 - 小程序云函数报错怎么解决?
Error: errCode: -404011 cloud function execution error | errMsg: cloud.callFunction:fail requestID 351a7789-c629-4879-bc93-16036bcd9de2, cloud function service error code -504002, error message Runtime.HandlerNotFound: index:main is undefined or not exported [图片]
2022-02-04 - 现在的审核是什么情况,之前的很多次版本都是正常上线的,可是现在上传的时候一直拒绝上线?
[图片][图片]第一个是今天的审核结果,第二张图是之前的审核结果,内容基本没有改变,可是现在申请就一直拒绝
2021-11-26 - openapi.security.msgSecCheck 使用不成功,一直提示正确,怎么办?
const cloud = require('wx-server-sdk') cloud.init({ env: cloud.DYNAMIC_CURRENT_ENV, }) exports.main = async (event, context) => { try { const result = await cloud.openapi.security.msgSecCheck({ "openid": 'o5EaQ5eM6RWreXTqCGmB8aRrFJVk', "scene": 1, "version": 2, "content": event.content }) return result } catch (err) { return err } }微信端 wx.cloud.callFunction({ name: 'contentcheck', data: { content: "sh" } }).then((res) => { console.log(res) if (res.result.code == "200") { //检测通过 console.log('监测通过') } else { //执行不通过 wx.showToast({ title: '包含敏感字哦。', icon: 'none', duration: 3000 }) } })
2021-11-25 - 小程序,文字安全API,msgSecCheck不管传入违禁词,但是返回ok,怎么回事?
const cloud = require('wx-server-sdk') cloud.init() // 云函数入口函数 exports.main = async (event, context) => { const wxContext = cloud.getWXContext() try { const result = await cloud.openapi.security.msgSecCheck({ content: event.text }) if (result && result.errCode.toString() === '87014'){ return { code: 500, msg: '内容含有违法违规内容', data: result } }else{ return { code: 200, msg: 'ok', data: result } } } catch (err) { // 错误处理 if (err.errCode.toString() === '87014') { return { code: 500, msg: '内容含有违法违规内容', data: err } } return { code: 502, msg: '调用security接口异常', data: err } } } js代码 wx.cloud.callFunction({ name: 'contentcheck', data: { text: "台湾台独" } }).then((res) => { if (res.result.code == "200") { //检测通过 console.log('监测通过') } else { //执行不通过 wx.showToast({ title: '包含敏感字哦。', icon: 'none', duration: 3000 }) } }) 官方帮忙看一下问题出在了哪里。。。急急急
2021-11-25