个人案例
没有相关接口可支持。只能你自己在业务层去记录,当用户没有订阅的,在失败里面做处理。
如何查询粉丝禁用了哪些订阅消息?如何查询粉丝禁用了哪些订阅消息?希望通过接口可以查到所有粉丝对各订阅消息的开通情况,而不是通过回调才能知道。方便答复客户疑问
2024-11-08排查 access_token 是否存在多个位置调用,比如不在一个站点下、业务层是否存在多个位置、reids 是否存的是正确的。
同一个access_token ,获取分享二维码的API就能使用,但是订阅消息API再用就不行?我是先用获取分享二维码的API获取的access_token,然后将获取到的access_token缓存到redis,但是订阅消息的API在使用这个access_token就不行,报40001, 必须重新获取下access_token,难道access_token不同的API不能公用吗,这是什么情况,哪位大神给解惑下,注:access_token是没有过期的!
2024-11-07退出开发者工具重新打开或者切换开发者工具版本试试。
"pages/index/index" has not been registered yet?app.json { "pages": [ "pages/index/index", "pages/logs/logs", "pages/articles/index", "pages/user/index", "pages/weibo/index", "pages/detail/index" ], "tabBar": { "list": [ { "pagePath": "pages/articles/index", "text": "文章" }, { "pagePath": "pages/weibo/index", "text": "微博" } ] }, "window": { "backgroundTextStyle": "light", "navigationBarBackgroundColor": "#fff", "navigationBarTitleText": "舆情工具", "navigationBarTextStyle": "black" }, "style": "v2", "sitemapLocation": "sitemap.json", "lazyCodeLoading": "requiredComponents" } 我的pages/index/index是个白页, 什么都没做, 同时, 在app.js中, 获取完系统配置, 就自动切到文章tab了 正常加载无影响, 只是发现在autoRelaunch的时候, 会变成白页, 检查下只有这一个错误, 刷新重新加载的时候也有这个错误 Page "pages/index/index" has not been registered yet 查过几个提出类似问题的, 似乎只有提及可能前面加载的页存在code报错导致无法顺序加载到这个页, 但是index是第一页, 并且没做任何事 各位谁可有原因和解决方案
2024-11-07检查服务器端的接口请求是否正常。
为什么小程序体验版运行没有问题,但是发布线上版本就运行报错了?小程序在体验版测试是没有问题的,但是发布线上版本后,用vConsole打开能看到报错信息: (in promise)MiniProgramError Cannot read properties of undefined (reading 'includes') TypeError: Cannot read properties of undefined (reading 'includes') at https://usr/appservice.app.js:79:242509 我排查过代码,使用includes方法的变量全部都处理过的
2024-11-07可以测试接口。
请问在小程序中进行微信订阅消息的开发测试,该小程序是否必须微信认证和备案?仅作体验者测试https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/subscribe-message.html 请问在小程序中进行微信订阅消息的开发测试,该小程序是否必须微信认证和备案?仅作体验者测试 不进行微信认证和备案,可以在内部体验版本中完成测试吗?
2024-11-06退出开发者工具重新打开应该就可以了。
项目缓存清除偶现不生效问题?几乎各个版本都存在该问题,因为有多个版本切换,会使用到git来回切换分支,有时候在其中一个分支创建了新的page或者compontents,再切换到别的分支没有该page或者compontents时,会经常报wxss 文件编译错误 not found from xxx,实际上该文件是存在的
2024-11-06应该是兼容问题,用其他样式属性代替吧。
skyline模式下,width不支持fit-content?[图片][图片] 左图为webview模式,右图为skyline模式。宽度为是设置的max-width: 220px;
2024-11-06使用小程序原生 button 标签对比测试一下。
使用button组件跳转到客服,部分用户能正常跳转,部分不能跳转,而且没有报错,请问这是什么原因?<van-button type="primary" color="#7574FD" open-type="contact" send-message-img="https://xxxxxx.com/upload/statis/img_5_1.png" show-message-card="{{true}}" send-message-title="客服开通“活动报名”" block round> {{orderInfo.price}}元前往小程序客服开通</van-button> 点击该按钮后,部分用户无法跳转到客服,部分用户可以正常跳转到客服,无任何报错,测试使用的手机微信版本均已是最新版,已排除掉手机问题 这是能正常跳转和不能正常跳转的用户使用bindcontact回调查看到的数据 {"type": "contact", "timeStamp": 179351, "target": {"id": "", "dataset": {}}, "currentTarget": {"id": "", "dataset": "<Circular: @.target.dataset>"}, "mark": {}, "detail": {}, "touches": "<Undefined>", "changedTouches": "<Undefined>", "mut": false, "_requireActive": "<Undefined>"} {"type": "contact", "timeStamp": 36551, "target": {"id": "", "dataset": {}}, "currentTarget": {"id": "", "dataset": "<Circular: @.target.dataset>"}, "mark": {}, "detail": {"path": "", "query": {}}, "touches": "<Undefined>", "changedTouches": "<Undefined>", "mut": false, "_requireActive": "<Undefined>"}
2024-11-05小程序主页处的关闭不了。
微信小程序客服关闭?请问微信小程序客服怎么关闭
2024-11-05回调地址移除 # 号。第一种可以前端路由用 history 模式,去掉链接中 # 号,或者回调地址走后端,后端完成后,location 到落地页。
网页授权redirect_uri 跳转之后链接错了https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/Wechat_webpage_authorization.html 授权完成之后跳转的页面地址参数位置错误了 [图片] [图片]
2024-11-05