微信云开发官网
具备视频功能的小程序需要网信办审核,使用云存储功能的小程序还需要调用安全接口吗,我的没有,但是代码审核已经通过,正在二次审核。gh_8ffc0573d576。
返回结果 {"errorCode":1,"errorMessage":"user code exception caught","stackTrace":"Error: errCode: -501001 resource system error | errMsg: urlscheme.generate:fail Environment not found\n at callGeneralOpenAPI (/var/user/node_modules/wx-server-sdk/index.js:425:19)\n at processTicksAndRejections (internal/process/task_queues.js:97:5)\n at async callWXOpenAPI (/var/user/node_modules/wx-server-sdk/index.js:2358:28)","statusCode":430} 日志 START REPORT RequestId:357c4326-87fa-43ff-b7cf-1f153d149c49 Duration:56ms Memory:256MB MemUsage:26.341827MB END ERROR RequestId:357c4326-87fa-43ff-b7cf-1f153d149c49 Result:{"errCode":1,"errMsg":"user code exception caught","stackTrace":"Error: errCode: -501001 resource system error | errMsg: urlscheme.generate:fail Environment not found\n at callGeneralOpenAPI (/var/user/node_modules/wx-server-sdk/index.js:425:19)\n at processTicksAndRejections (internal/process/task_queues.js:97:5)\n at async callWXOpenAPI (/var/user/node_modules/wx-server-sdk/index.js:2358:28)"}
云开发按钮点击没反应,用户在项目中的三个权限都有,包括开发权限
版本是 Stable 1.05.2201210 appid wx0febb7dfdb42d29d 鼠标移上去会变灰,但是点击就没有任何回应
在一个页面调用Collection.watch监听云数据库变化,如果主动不调用返回的close方法关闭监听关闭或者跳转到其他页面,那么这个watch会怎么样,是会保留下来还是自己关闭?应该在离开这个页面前关闭所有的watch吗?
https://developers.weixin.qq.com/miniprogram/dev/framework/ability/custom-tabbar.html 1、直接运行,提示以下信息: [渲染层错误] Some selectors are not allowed in component wxss, including tag name selectors, ID selectors, and attribute selectors.(./custom-tab-bar/index.wxss:36:15)(env: Windows,mp,1.05.2201182; lib: 2.5.0) 2、云开发时,将列程的代码拷贝程序中,只显示index页,没有tabBar显示? [图片] [图片] 谢谢各位大佬!
VM880 WAService.js:2 Unhandled promise rejection Error: cloud.callFunction:fail Error: errCode: -504002 functions execute fail | errMsg: Error: PARAM_ERROR at Payment._parse (:58003/var/user/node_modules/tenpay/lib/index.js:98) at processTicksAndRejections (:58003/appservice/internal/process/task_queues.js:97) (callId: 1642775170780-0.25184174986830854) (trace: 22:26:10 start->22:26:12 system error (Error: errCode: -504002 functions execute fail | errMsg: Error: PARAM_ERROR at Payment._parse (:58003/var/user/node_modules/tenpay/lib/index.js:98) at processTicksAndRejections (:58003/appservice/internal/process/task_queues.js:97)), abort) at I (VM880 WAService.js:2) at VM880 WAService.js:2 at VM880 WAService.js:2 at n (VM880 WAService.js:2)(env: Windows,mp,1.05.2112141; lib: 2.21.3)
为什么云开发按钮点不开,无法跳出云开发控制台
请问一下现在可以通过TZ环境变量方式修正时区吗?社区里帖子都太陈旧了。目前本人亲测通过TZ方式不行。请问一下还有什么方式可以解决 [图片]
云函数代码: // 云函数入口文件 const cloud = require('wx-server-sdk') const got = require('got') cloud.init() // 云函数入口函数 exports.main = async (event, context) => { const wxContext = cloud.getWXContext() return { event, openid: wxContext.OPENID, appid: wxContext.APPID, unionid: wxContext.UNIONID, } } package.json { "name": "http", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "", "license": "ISC", "dependencies": { "got": "^12.0.1", "wx-server-sdk": "^2.5.3" } } 报错信息: Error: errCode: -404011 cloud function execution error | errMsg: cloud.callFunction:fail requestID 84e73b60-fce3-49b8-ae13-b74247eaa248, cloud function service error code -504002, error message Runtime. ImportModuleError: Error: Cannot find module 'got'Require stack: - /var/user/index.js - /var/runtime/node12/UserFunction.js - /var/runtime/node12/Runtime.engine.js - /var/runtime/node12/bootstrap.js at Object.module.exports.load (:20392/var/runtime/node12/UserFunction.js:34) at Runtime.handleOnce (:20392/var/runtime/node12/Runtime.engine.js:99) at Timeout._onTimeout (:20392/var/runtime/node12/Runtime.engine.js:56) at listOnTimeout (:20392/appservice/internal/timers.js:549) at processTimers (:20392/appservice/internal/timers.js:492); at cloud.callFunction api; at new e (VM54 WAService.js:26) at s (VM54 WAService.js:26) at c (VM54 WAService.js:26) at Function.success (VM54 WAService.js:26) at I (VM54 WAService.js:2) at VM54 WAService.js:2 at u (VM54 WAService.js:35) at Function.<anonymous> (VM54 WAService.js:35) at I (VM54 WAService.js:2) at VM54 WAService.js:2(env: Windows,mp,1.05.2110290; lib: 2.14.1)
发布vue项目白屏,publicPath 为绝对路径
<button class="button" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">获取手机号</button> [图片] [图片] 显然我的e.detail.code不可能过期,也是在open-type=getPhoneNumber下调用,符合规定 另外我的appId是企业法人及个体工商户的服务号,也在许可范围,config.json也做了权限许可
[云函数] [openapi] subscribeMessage.send 调用失败: Object {errMsg: "request:fail url not in do... errMsg: "request:fail url not in domain list" __proto__: Object
https://developers.weixin.qq.com/miniprogram/dev/wxcloud/guide/functions/EveTrigger.html RC 1.05.2112301 [图片]
Error: LimitExceeded.OutOfReadRequestQuota, Read overrun. Please improve read specifications, but if the problem cannot be solved, contact us. (f38ff6bd-d18f-4a13-9928-0e4cb6bb94af) at Object.s [as outputTransformationThrows] (http://127.0.0.1:35662/ideplugin/cloudconsolev1/js/bundle.js:2:9856395) at outputTransformationThrows (http://127.0.0.1:35662/ideplugin/cloudconsolev1/js/bundle.js:2:388902) at Object.s (http://127.0.0.1:35662/ideplugin/cloudconsolev1/js/bundle.js:2:444666) at async t.flexdbQuery (http://127.0.0.1:35662/ideplugin/cloudconsolev1/js/bundle.js:2:9946145)
[图片] [图片] [图片]
在 内容管理中导入json,其他字段没问题,唯独元素为对象的数组字段报错 出错的一条数据: {"_id":"5b049cc861e0edaa05857e5214e76150","price":7,"name":"苹果","img":"https://636c-cloud1-2g92aqxab075d966-1308615552.tcb.qcloud.la/goodsimg/apple.jpg","extra":"23","collect":false,"like":true,"content":[{"name":"eric","text":"第一条评论"},{"name":"ric","text":"第二条评论"},{"name":"666","text":"hahahah"},{"name":"666","text":"9999"}]} [图片][图片]
> db.test.find({$text:{$search:'aa bb'}},{score:{$meta:'textScore'}}) { "_id" : ObjectId("5b677d6720eccd3c60a316e1"), "article" : "aa bb ff hh rr", "score" : 1.2 } { "_id" : ObjectId("5b677d5e20eccd3c60a316e0"), "article" : "aa bb dd ee", "score" : 1.25 } { "_id" : ObjectId("5b677d5a20eccd3c60a316df"), "article" : "aa bb cc", "score" : 1.3333333333333333 } { "_id" : ObjectId("5b677d4820eccd3c60a316de"), "article" : "aa bb", "score" : 1.5 } 想实现类似的功能,有什么好的解决方案吗,后面不一定是字符串,也可以是数组。目前查阅官方文档只有全部包含的数组方法
http api访问数据库,skip 和 limit 不起作用,应该是服务端的问题,跟客户端没关系。 使用的是文档示例里面的最简单的代码 如图所示,传入的查询字符串中带了 skip和limit,返回结果显示完全不起作用。 以前只读取少量信息,没注意这个问题 在控制台里面执行是起正常的。 [图片]
如图所示,传入的查询字符串中带了 skip和limit,返回结果显示完全不起作用。 以前只读取少量信息,没注意这个问题 在控制台里面执行是起作用的。 有人遇到这个问题吗,要设置什么才能起作用吗 [图片]
小程序示例
小程序官方示例Demo,包含云开发示例。
小程序示例
扫码体验