微信云开发官网
App({ onLaunch() { wx.cloud.init({ env: "cloud1-d1gpmdjm83663f157" }); } }); Page({ onLoad: function (options) { const db = wx.cloud.rdb(); const { data, error } = db .from("shop_sku") .select("*") .limit(10); console.log("查询结果:", data); } }) 报错: TypeError: wx.cloud.rdb is not a function at pi.onLoad (index.js? [sm]:3) at pi.<anonymous> (VM142 WASubContext.js:1) at pi.s.__callPageLifeTime__ (VM142 WASubContext.js:1) at VM142 WASubContext.js:1 at VM142 WASubContext.js:1 at VM142 WASubContext.js:1 at VM142 WASubContext.js:1 at VM142 WASubContext.js:1 at VM142 WASubContext.js:1 at Function.wr (VM142 WASubContext.js:1)(env: Windows,mp,2.01.2510290; lib: 3.16.0) 我的目的就是想连接SQL 关系型数据库,按照官方接入指引操作失败 https://tcb.cloud.tencent.com/dev?envId=cloud1-d1gpmdjm83663f157#/db/mysql/table/default/cloud1-d1gpmdjm83663f157/shop_sku
https://developers.weixin.qq.com/miniprogram/dev/devtools/download.htmlhttps://developers.weixin.qq.com/miniprogram/dev/wxcloudservice/wxcloud/quick-start/miniprogram.html
云存储 assets 下有三个文件夹,现在除了 tabbar 文件夹下的文件,其他文件全都无法通过 image 标签加载 [图片] 路径前被拼接了文件路径? [图片] 换成 tabbar 文件夹下的文件就正常了,这是为啥? [图片] 之前一直是好的,起因是我今天要替换 home 文件夹下的文件,然后删除了 home 文件夹,又重新上传了一份,之后就加载失败了。 [图片]
[图片] 配置 event -> user_enter_tempsession -> customerTaskAutoReply 测试是可以接收到“进入会话”事件并触发云函数,但是文本消息 text 无法触发云函数,想知道是什么原因呢? 是这个消息推送只能接收微信客服收不到小程序客服的消息吗?看文档应该是支持的呀[图片]
https://developers.weixin.qq.com/miniprogram/dev/devtools/devtools.html [图片]
“检查环境”发生了错误:Error: AuthFailure.UnauthorizedOperation, You are not authorized to perform this operation. Check your CAM policies, and ensure that you are using the correct access keys. [[request id:b2717b68-b659-48e7-a6fa-8b4402442d31]you are not authorized to perform operation (tcb:CommonServiceAPI) resource (*) has no permission ] (b2717b68-b659-48e7-a6fa-8b4402442d31) 这个怎么解决?
(同一主体子账号)先创建的腾讯云开发环境A 做了 云托管部署了后端然后创建的小程序并认证,云开发 (以为会同步过来,毕竟同一主体)莫名其妙创建了云环境B,微信开发工具环境显示B,无法切换到A。无法同步授权什么公众号,又自动给我创建了腾讯云账号,进去云环境是B 的。我真的服气了, 现在到底怎么在 小程序 显示 环境A。难道白买了? 没显示
没地方改,开发工具又是个人账号,和腾讯云没有任何关联,到底怎么关联?
批量代云开发 /环境管理 /创建环境 创建环境 调试诊断 接口应在服务器端调用,不可在前端(小程序、网页、APP等)直接调用,具体可参考接口调用指南。接口英文名:createTcbEnv 通过本接口可以创建环境。使用过程中如遇到问题,可在开放平台服务商专区发帖交流。 1. 调用方式HTTPS 调用POST https://api.weixin.qq.com/componenttcb/createenv?access_token=ACCESS_TOKEN 调用出现以下错误: { "errcode": -501000, "errmsg": "This env type is not available。Please choose another one TcbCode: [ResourcesSoldOut.PostpayPackageNotAvailable] rid: 69f04e10-5f59360d-134557d9" }
[cloudBaseService] action: createEnv [cloudBaseService] createEnv 请求 URL: https://api.weixin.qq.com/tcb/createenv?access_token=103_XXXXXXDAESI [cloudBaseService] createEnv 请求 Body: {"alias":"outdoorJaas"} [cloudBaseService] createEnv 返回结果: {"errcode":40066,"errmsg":"invalid url rid: 69f0357e-72257ca9-5a74c7bd"} Response RequestId: 1e126798-0410-487d-bcde-60ae435327ef RetMsg: {"error":"创建环境失败","errcode":40066,"errmsg":"invalid url rid: 69f0357e-72257ca9-5a74c7bd"} 参考文档 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/cloudbase/batch/createenv.html
[图片] 微信小程序-微信支付-商户号管理-已关联商户号 [图片] 微信小程序云开发控制台-微信支付配置-添加了对应商户号并发起授权-显示待模板消息确认 [图片] 登录商家助手-授权管理-产品授权管理-显示“暂不支持授权管理功能”
[图片]扫码一直卡在加载中,无法正常开通,也联系不上人工客服
AppID:wxac2ff43d5c253bd3 问题摘要: 小程序本地预览、真机调试均正常,首页显示无异常。但上传为体验版后,扫码首页完全白屏,vConsole 无任何 JS 报错,页面生命周期(onLoad、onShow、onReady)正常执行。 已排除的原因: · 云函数部署正常,环境 ID 正确。 · 已关闭“上传时过滤无依赖文件”(ignoreUploadUnusedFiles: false)。 · 已取消“上传时代码保护”和所有压缩选项。 · 已正确配置 packNpmManually 并多次重建 miniprogram_npm。 · 已尝试更换多个稳定版开发者工具(含 1.06.2401020)。 · 已降级 Vant Weapp 至稳定版本 1.10.14。 关键线索: · 本地代码包约 1911KB,上传后仅为 1560KB,体积缩减约 350KB。 · 上传日志提示约 99 个文件未被打包上传(主要为 Vant 组件库的 .d.ts 及部分目录,疑似连带过滤了运行时必需文件)。 · 首页探针测试(静态文字)在体验版亦无法显示。 [图片][图片]
https://developers.weixin.qq.com/miniprogram/dev/wxcloudservice/wxcloud/guide/staticstorage/jump-miniprogram.html 鸿蒙自带浏览器报错,在QQ中打开链接没有问题 链接地址:https://mcdex-reg-6gej2hvt6dc05585-1317197315.tcloudbaseapp.com/subscribe.html?sign=b7d80c8aebbda097ba809cafc31391a3&t=1695804234 [图片],
小程序的Web后端API已部署在微信云托管服务中,数据库已迁移到微信云托管的mysql中,小程序提交版本审核未通过,说登录失败?另外:“使用 微信云开发 或 微信云托管 ,无需配置服务器域名”,既然说无需配置服务器域名,还需要我绑定域名吗? 可以转人工解答吗?或者电话联系我13837167869刘
index.js:1 cloud init error: {message: "errCode: 103006 | errMsg: system error.. For more information, please refer to https://developers.weixin.qq.com/miniprogram/dev/wxcloudrun/src/development/call/faq.html", errCode: 103006, errMsg: "system error.. For more information, please refer to https://developers.weixin.qq.com/miniprogram/dev/wxcloudrun/src/development/call/faq.html", requestID: , line: 1, …}column: 254522errCode: 103006errMsg: "system error.. For more information, please refer to https://developers.weixin.qq.com/miniprogram/dev/wxcloudrun/src/development/call/faq.html"line: 1message: "errCode: 103006 | errMsg: system error.. For more information, please refer to https://developers.weixin.qq.com/miniprogram/dev/wxcloudrun/src/development/call/faq.html"requestID: undefinedsourceURL: "https://lib/WACloud.js"stack: "T@https://lib/WACloud.js:1:254522↵success@https://lib/WACloud.js:1:266619↵p@https://lib/WAServiceMainContext.js:1:444818↵u@https://lib/WAServiceMainContext.js:1:1319305↵K@https://lib/WAServiceMainContext.js:1:332922↵@https://lib/WAServiceMainContext.js:1:333148↵S@https://lib/WAServiceMainContext.js:1:302534" global @ index.js:1
当前受限原因为小程序提供实物交易服务,因此要求接入订单发货管理。暂不支持使用云调用支付能力,请使用工
小程序的Web后端API已部署在微信云托管服务中,数据库已迁移到微信云托管的mysql中,小程序提交版本审核未通过,说登录失败(在手机打开小程序点微信一键登录提示如上传截图)? 另外:使用 微信云开发 或 微信云托管 ,无需配置服务器域名,我该如何绑定域名?可以电话指导我一下吗?我的电话13837167869刘[图片]
我的子商户(1110479784)在云开发环境下调用退款接口报错。根据官方流程排查,发现【我授权的产品】页面中“待处理”列表为空,无法收到服务商(1800008281)的“服务商API退款”授权邀请。请求官方从后台协助处理,让服务商侧向我的商户号发起授权邀请。
[图片] 我已经显示上传成功,但是在微信公众平台小程序管理这里不显示版本 还有他妈的老是提示我更新,破东西 [图片]
小程序示例
小程序官方示例Demo,包含云开发示例。
小程序示例
扫码体验