- 自定义交易组件上传图片接口报错1070001文件/图片为空?
[图片]服务端代码: [图片] 小程序端代码: [图片] 云函数日志: [图片] errcode: 1070001, errmsg: "文件/图片为空 rid: 62d6606b-0036c118-67362638"
2022-07-19 - 数组模糊匹配筛选,类似于filter?
数组是多维数组,用户输入作为模糊匹配条件,筛选出的结果放到新数组?js页面本地数组,非数据库或云开发,不是wxml页面!
2022-07-11 - 小程序直播组件服务端云调用接口全不能用,提示errCode: -604100 API not fo?
直播服务端云调用接口全都用不起!提示找不到api,报错:系统错误!sdk 2.4.0开发者版本1.5以上。如:deleteSubAnchoreditRoomgetAssistantListgetFollowersgetLiveInfogetPushUrl以上这些都是找不到api, 云函数代码如下: const cloud = require('wx-server-sdk') cloud.init({ env: "songzhaoyun-5gy764xh2fc21226480" }) exports.main = async (event, context) => { const getLiveInfo = cloud.openapi.livebroadcast.getLiveInfo({ url: 'https://api.weixin.qq.com/wxa/business/getliveinfo', start: 0, limit: 10 }); const GET = await getLiveInfo return { event, GET } } config.josn: { "permissions": { "openapi": [ "livebroadcast.getLiveInfo" ] } }
2021-04-07