"plugins": { "logisticsPlugin": { "version": "2.3.0", "provider": "wx9ad912bf20548d92" } } 组件版本更新了但是文档没更新,所以报错,最新版是2.3.0
小程序使用物流查询组件报错?,页面空白新手刚入行,下面是我遇到的问题,使用微信官方提供的 物流查询组件,报错不显示,导致页面空白,望大佬帮忙指正是哪里的问题,万分感谢 官方文档:https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/industry/express/business/express_search.html 第三方插件已开通 [图片] app.json 配置 [图片] 调用页面使用插件 [图片] 手机真机小程端打开页面就报错 [图片] 红色的错误信息 Error during evaluating file "wx9ad912bf20548d92/0": {type: "string", description: "Error during evaluating file "wx9ad912bf20548d92/0": ", value: "Error during evaluating file "wx9ad912bf20548d92/0": "} Function(...) is not a function {type: "string", description: "Function(...) is not a function", value: "Function(...) is not a function"} TypeError: Function(...) is not a function at exports.modules (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3575:44382) at u (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3578:239) at exports.modules (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3575:14598) at u (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3578:239) at 15 (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3569:10016) at u (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3578:239) at 0 (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3569:904) at u (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3578:239) at 188 (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3581:182) at u (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3578:239) {type: "string", description: "TypeError: Function(...) is not a function\n at exports.modules (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3575:44382)\n at u (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3578:239)\n at exports.modules (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3575:14598)\n at u (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3578:239)\n at 15 (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3569:10016)\n at u (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3578:239)\n at 0 (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3569:904)\n at u (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3578:239)\n at 188 (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3581:182)\n at u (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3578:239)", value: "TypeError: Function(...) is not a function\n at exports.modules (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3575:44382)\n at u (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3578:239)\n at exports.modules (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3575:14598)\n at u (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3578:239)\n at 15 (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3569:10016)\n at u (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3578:239)\n at 0 (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3569:904)\n at u (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3578:239)\n at 188 (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3581:182)\n at u (https://usr/__plugin__/wx9ad912bf20548d92/appservice.js:3578:239)"} Error during evaluating file "[object Object]": {type: "string", description: "Error during evaluating file "[object Object]": ", value: "Error during evaluating file "[object Object]": "} There is no component "pages/delivery-detail/main" for aliasing {type: "string", description: "There is no component "pages/delivery-detail/main" for aliasing", value: "There is no component "pages/delivery-detail/main" for aliasing"} Error: There is no component "pages/delivery-detail/main" for aliasing at Q.exportComponent (https://lib/WAServiceMainContext.js:1:193264) at https://lib/WAServiceMainContext.js:1:366263 at Array.forEach (<anonymous>) at yt.exportComponents (https://lib/WAServiceMainContext.js:1:366248) at Object.exportComponents (https://lib/WASubContext.js:1:491008) at Yr.o.publishDomainComponents (https://lib/WASubContext.js:1:499196) at https://lib/WASubContext.js:1:504270 at Array.forEach (<anonymous>) at x.flushQueue (https://lib/WASubContext.js:1:504248) at A (https://lib/WASubContext.js:1:507214) {type: "string", description: "Error: There is no component "pages/delivery-detail/main" for aliasing\n at Q.exportComponent (https://lib/WAServiceMainContext.js:1:193264)\n at https://lib/WAServiceMainContext.js:1:366263\n at Array.forEach (<anonymous>)\n at yt.exportComponents (https://lib/WAServiceMainContext.js:1:366248)\n at Object.exportComponents (https://lib/WASubContext.js:1:491008)\n at Yr.o.publishDomainComponents (https://lib/WASubContext.js:1:499196)\n at https://lib/WASubContext.js:1:504270\n at Array.forEach (<anonymous>)\n at x.flushQueue (https://lib/WASubContext.js:1:504248)\n at A (https://lib/WASubContext.js:1:507214)", value: "Error: There is no component "pages/delivery-detail/main" for aliasing\n at Q.exportComponent (https://lib/WAServiceMainContext.js:1:193264)\n at https://lib/WAServiceMainContext.js:1:366263\n at Array.forEach (<anonymous>)\n at yt.exportComponents (https://lib/WAServiceMainContext.js:1:366248)\n at Object.exportComponents (https://lib/WASubContext.js:1:491008)\n at Yr.o.publishDomainComponents (https://lib/WASubContext.js:1:499196)\n at https://lib/WASubContext.js:1:504270\n at Array.forEach (<anonymous>)\n at x.flushQueue (https://lib/WASubContext.js:1:504248)\n at A (https://lib/WASubContext.js:1:507214)"}
07-21我也报错,研究了老半天,发现是版本问题!对,文档里的2.1.5,就会报错!1楼写的是最新版,2.3.0,就正常了!
引入物流查询插件出错?在app.json中引入物流查询插件 "logisticsPlugin": { "version": "2.1.5", "provider": "wx9ad912bf20548d92" } 会出错 [图片] 请问该问题怎么解决?
2024-11-15官方大佬们~~~
《微信开放平台网站信息登记表》其主办单位名称与认证信息的主体不一致。请问怎么查看主体?客户也不清楚~开放平台账号:chengzhiyi88888@163.com 现在不知道账号主体是什么...麻烦官方人员回复下~
2019-12-25哪里有POS机相关的东西!!!?
审核不能通过!涉及平台未允许的内容:POS机!求解哪里有涉及到POS的东西!- 需求的场景描述(希望解决的问题) 审核不能通过!!!理由:涉及平台未允许的内容:POS机! 之前,已在社区搜索过相关问题,修改了介绍,介绍里涉及到“POS机”的字眼;然后再次提交审核,还是同样的理由不能通过!不管是名称还是说明,或者是小程序里的内容,跟POS机一毛钱关系都没有!!! 请指出哪里有与POS机相关的东西!!! [图片] [图片] [图片] [图片] [图片]
2019-06-25结贴了!找到问题根源,App.onShow的位置我搞错了~
开卡组件问题-- App.onShow获取开卡数据data--其他流程问题[代码]navigateToMiniProgram[代码]接口即将废弃,新版本中请使用[代码]<navigator>[代码]组件来使用此功能 [代码]<navigator target="miniProgram" app-id="wxeb490c6f9b154ef9" extra-data="{{data}}"> 会员卡开卡</navigator>[代码]返回说明 在 App.onShow 里判断从会员开卡小程序返回的数据data 判断 data.referrerInfo.appId 是否为开卡小程序 appId [代码]wxeb490c6f9b154ef9[代码],如果不是则中止判断 判断是否有 data.referrerInfo.extraData 是否有数据,如果没有,表示用户未激活直接左滑/点返回键返回,或者用户已经激活 若用户激活成功,可以从 data.referrerInfo.extraData 中获取 activate_ticket,card_id,code 参数用于下一步操作 -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 之前的步骤已顺利完成: 1、API创建会员卡,其中激活方式: "wx_activate"=>true, "wx_activate_after_submit"=>false, "wx_activate_after_submit_url"=>"https://*****************/", 2、API获取开卡组件链接,encrypt_card_id、outer_str、biz 3、小程序在个人中心添加 [代码]<navigator target="miniProgram" app-id="wxeb490c6f9b154ef9" extra-data="{{data}}"> 会员卡开卡</navigator>[代码] 正式开始,进入问题: 小程序个人中心,点击开卡链接,顺利进入领卡页面,确认手机号码,点击提交!结果,页面直接返回小程序个人中心,onshow里无法获取data,console出undefined!此时会员卡已领取到微信卡包,未激活状态! [图片] 问题1: 创建会员卡的激活方式正确与否? "wx_activate"=>true, "wx_activate_after_submit"=>false, "wx_activate_after_submit_url"=>"https://*****************/", //"auto_activate""activate_url"均未填 问题2: 个人中心点击领卡,跳转到官方领卡页面,验证手机号之后提交,直接返回了小程序个人中心! a、这一流程正常吗?我预计的是领卡后返回data,根据activate_ticket,card_id,code,后台API激活会员卡,并且记录会员领取的信息。 b、还有,如何接收开卡数据data? 个人中心的index.js代码如下: onShow: function (data) { var that = this; console.log(data); // 判断开卡后返回的参数,并且后台激活会员卡 if (data){ if (data.hasOwnProperty('referrerInfo')) { if (data.referrerInfo.appId != 'wxeb490c6f9b154ef9') { return; } if (!data.referrerInfo.extraData) { return; } wx.request({ url: app.globalData.url + '/routine/auth_api/do_active' method: 'POST', data: { data: data.referrerInfo.extraData }, success: function (res) { console.log(res); } }); } } },
2019-04-16我之前遇到过一模一样的情况,后来发现原因是密匙问题! 新商户是客户自己申请的,给我了商户号和支付密匙,我测试支付一直是签名错误!各种排查,发帖求答,纠结了很久...... 最后,我自己重新生成密匙,支付ok! 这是我之前发的贴....https://developers.weixin.qq.com/community/develop/doc/0002acf1b10fd0a9c4b795a3f51000
微信小程序新增绑定一个新的商户号,当小程序调用新的商户号的ID和密钥,签名失败微信小程序新增绑定一个新的商户号,当小程序调用新的商户号的ID和密钥,接口调用提示签名失败;然后使用旧的商户号和密钥,调用支付接口,则可以签名,且支付成功。为什么使用新的商户号去调用微信下单接口,提示签名错误,这是什么原因,具体怎么解决这个问题?
2019-04-15