微信开发者工具
[图片] pc 端正常的浏览器中进行调试,例如 chrome 或者 edge 等等,在 Sources 这个 tab 下,直接右键就能过重写代码。见下图,随便打开一个网站测试一下就知道了。如下图 [图片] 所以问题来了,为什么微信开发者工具的调试台没有这个选项,是需要在哪些设置中开启?如果是这样,请告诉我在哪里。如果不是,希望能够添加上去。虽然在 tab 中也有 overrid 能够实现,但是需要提前设置好文件夹才可以进行 override,有点麻烦。 对比下来能看到其实这个右键菜单对比 chrome 浏览器,还是有几个选项没有,Copy file name/Add script to ignore list 等等也没有。
我在实现api方式的关键词回复,目前要实现,自动回复一个已发布的开启群发的文章,但是苦于拿不到文章id。 1:api文档中给的查询发布文章列表接口,是返回未开启群发的文章。 2:尝试丢入草稿箱,拿到的id,只能临时使用,和真正的文章不是一个。类似copy。 3:文章发布了,怎么才回进入素材库中的news类型中,实践下来,素材库也没有查到。 4:最终方案,用户微信后台自带的关键词回复,选择我要的文章,然后我调用获取默认回复规则接口,能拿到一个文章id。。很low,关键是这么操作完后,我还需要再把 微信后台服务器那个开关再打开。。很麻烦。而且很笨。。。 有没有其他办法。。。急
微信开发者工具版本号:wechat_devtools_1.06.2505162_win32_x64 系统:[图片] 进程:[图片]
https://developers.weixin.qq.com/s/LEEv1pmG8Q0l 读取属性然后日志显示出来就是固定值sheetnames = sheet1
使用的是1.06.2505152win32-64版本的开发者工具. 程序只为我创建了project.config.json和project.private.config.json两个文件,其他的什么都没有
开发者工具版本:Stable 1.06.2412050 操作系统:M1 MacBook Pro macos 15.5 测试工程地址:https://github.com/zhenyuWang/weixin-testing-template https://github.com/zhenyuWang/weixin-testing-template/tree/main/project 下是微信小程序工程 https://github.com/zhenyuWang/weixin-testing-template/blob/main/testing-framework 下是自动化测试脚本 https://github.com/zhenyuWang/weixin-testing-template/blob/main/testing-framework/index.js 中补充有注释
前一天还是正常的,第二天让cursor做个纠错以后就变成这样了: [图片]
[图片][图片] 2025-04-18T16:22:54.525275+08:00 > yansongda.pay.INFO > [AbstractProvider] 准备请求支付服务商 API {"radar":{"Yansongda\Pay\Request":{"url":"https://api.mch.weixin.qq.com/v3/pay/transactions/jsapi","method":"POST","headers":{"Host":["api.mch.weixin.qq.com"],"Accept":["application/json, text/plain, application/x-gzip"],"User-Agent":["yansongda/pay-v3"],"Content-Type":["application/json; charset=utf-8"],"Authorization":["WECHATPAY2-SHA256-RSA2048 mchid=\"169xxxxxxx\",nonce_str=\"KQ1txW4ht7ArkY4A9ysRk7An8llrOGMu\",timestamp=\"1744964574\",serial_no=\"674B336306A1BCD3ADBDACCD2270D67775BC6CE3\",signature=\"g+muSWeaFKcslYt/vX0Nw8+Xa7Y+UJ1XwaArky8kYhpaixWtf68fEiLzvsAeiJUdpkTwEUiFYihtrDOZMvHbx3OvNlCz/mo4fyaJoKLoBUtxHrHQW3A554ZtUkEGnQ4kFgID3gStEMKYK0x7QZO4Tgf4eVjXI1VbE8Kiccii1Y1L7wUiJbpIYGW8bnkflrfiWf+s5EHazMs/KOvSfV/NywMecksoCN+t6eewb10rEp3DDQyHyRvjKiqN7gF5pFU6yjF0pB23I+uxD7K98ZiQ678Dm0WlCNZsz9LOcHMzWt14oCfpePMUNbQDSZfw==\""]},"body":"{\"out_trade_no\":\"P202504225416927153002000\",\"payer\":{\"openid\":\"oN0b36yp7T_3_vPjXCX6ADTzcTvY\"},\"description\":\"商城订单支付\",\"amount\":{\"total\":29900},\"appid\":\"wx46fd385e31ecff42\",\"mchid\":\"169xxxxxxx\",\"notify_url\":\"https:\/\/test.clothsvip.com\/addons\/shopro\/pay\/notify\/payment\/wechat\/platform\/WechatMiniProgram\"}"}},"params":{"out_trade_no":"P202504225416927153002000","payer":{"openid":"oN0b36yp7T_3_vPjXCX6ADTzcTvY"},"description":"商城订单支付","amount":{"total":29900}},"payload":{"Yansongda\Supports\Collection":{"out_trade_no":"P202504225416927153002000","payer":{"openid":"oN0b36yp7T_3_vPjXCX6ADTzcTvY"},"description":"商城订单支付","amount":{"total":29900},"appid":"wx46fd385e31ecff42","mchid":"169xxxxxxx","notify_url":"https://test.clothsvip.com/addons/shopro/pay/notify/payment/wechat/platform/WechatMiniProgram"}},"packer":"Yansongda\Pay\Contract\PackerInterface","direction":"Yansongda\Pay\Contract\DirectionInterface","destination":null,"destination_origin":null} 2025-04-18T16:22:54.847824+08:00 > yansongda.pay.INFO > [AbstractProvider] 请求支付服务商 API 成功 {"response":{"GuzzleHttp\Psr7\Response":[]},"rocket":{"radar":{"Yansongda\Pay\Request":{"url":"https://api.mch.weixin.qq.com/v3/pay/transactions/jsapi","method":"POST","headers":{"Host":["api.mch.weixin.qq.com"],"Accept":["application/json, text/plain, application/x-gzip"],"User-Agent":["yansongda/pay-v3"],"Content-Type":["application/json; charset=utf-8"],"Authorization":["WECHATPAY2-SHA256-RSA2048 mchid=\"169xxxxxxx\",nonce_str=\"KQ1txW4ht7ArkY4A9ysRk7An8llrOGMu\",timestamp=\"1744964574\",serial_no=\"674B336306A1BCD3ADBDACCD2270D67775BC6CE3\",signature=\"g+muSWeaFKcslYt/vX0Nw8Y+UJ1XwaArky8kYhpaixWtf68fEiLzvsAeiJUdpkTwEUiFYihtrDOZMvHbx3OvNlCz/mo4fyaJoKLoBUtxHrHQW3A554ZtUkEGnQ4kFgID3gStEMKYK0x7QZO4Tgf4eVjXI1VbE8Kiccii1Y1L7wUiJbpIYGW8bnkflrfiWf+s5EHazMs/KOvSfV/NywMecksoCN+t6eewb10rEp3DDQyHyRvjKiqN7gF5pFU6yjF0pB23I+uxD7K98ZiQ678Dm0WlCNZsz9LOcHMzWt14oCfpePMUNbQDSZfw==\""]},"body":"{\"out_trade_no\":\"P202504225416927153002000\",\"payer\":{\"openid\":\"oN0b36yp7T_3_vPjXCX6ADTzcTvY\"},\"description\":\"商城订单支付\",\"amount\":{\"total\":29900},\"appid\":\"wx46fd385e31ecff42\",\"mchid\":\"169xxxxxxx\",\"notify_url\":\"https:\/\/test.clothsvip.com\/addons\/shopro\/pay\/notify\/payment\/wechat\/platform\/WechatMiniProgram\"}"}},"params":{"out_trade_no":"P202504225416927153002000","payer":{"openid":"oN0b36yp7T_3_vPjXCX6ADTzcTvY"},"description":"商城订单支付","amount":{"total":29900}},"payload":{"Yansongda\Supports\Collection":{"out_trade_no":"P202504225416927153002000","payer":{"openid":"oN0b36yp7T_3_vPjXCX6ADTzcTvY"},"description":"商城订单支付","amount":{"total":29900},"appid":"wx46fd385e31ecff42","mchid":"169xxxxxxx","notify_url":"https://test.clothsvip.com/addons/shopro/pay/notify/payment/wechat/platform/WechatMiniProgram"}},"packer":"Yansongda\Pay\Contract\PackerInterface","direction":"Yansongda\Pay\Contract\DirectionInterface","destination":{"GuzzleHttp\Psr7\Response":[]},"destination_origin":{"GuzzleHttp\Psr7\Response":[]}}} 2025-04-18T16:22:54.850935+08:00 > yansongda.pay.INFO > [AbstractProvider] 即将进行 pay 操作 [["Yansongda\Pay\Plugin\Wechat\PreparePlugin","Yansongda\Pay\Plugin\Wechat\WechatPublicCertsPlugin","Yansongda\Pay\Plugin\Wechat\RadarSignPlugin","Yansongda\Pay\Plugin\ParserPlugin"],{"out_trade_no":"P202504225416927153002000","payer":{"openid":"oN0b36yp7T_3_vPjXCX6ADTzcTvY"},"description":"商城订单支付","amount":{"total":29900}}] 上面是支付日志 日志上看没有任何错误。。。。。。也不懂为啥,是不是小程序被限制了?
//index.wxml <view class="container"> <view class="question"> <text>{{currentQuestion.title}}</text> </view> <view class="options"> <block wx:for="{{currentQuestion.options}}" wx:key="index"> <view class="option {{currentQuestion.selected.includes(index) ? 'selected' : ''}}" bindtap="selectOption" data-index="{{index}}"> <text>{{item}}</text> </view> </block> </view> <view class="buttons"> <button bindtap="submitAnswer">提交答案</button> <button bindtap="nextQuestion">下一题</button> </view> </view> //index.js Page({ data: { currentQuestionIndex: 0, currentQuestion: null, isAnswered: false }, onLoad: function () { const app = getApp(); this.setData({ currentQuestion: app.globalData.questions[0] }); }, selectOption: function (e) { const index = e.currentTarget.dataset.index; const selected = this.data.currentQuestion.selected; // 判断是否已经选择过该选项 const selectedIndex = selected.indexOf(index); if (selectedIndex === -1) { selected.push(index); } else { selected.splice(selectedIndex, 1); } // 更新当前问题的状态 this.setData({ currentQuestion: { ...this.data.currentQuestion, selected } }); console.log(this.data.currentQuestion.selected); // 检查选中状态 }, submitAnswer: function () { const currentQuestion = this.data.currentQuestion; const isCorrect = JSON.stringify(currentQuestion.selected.sort()) === JSON.stringify(currentQuestion.answer.sort()); wx.showToast({ title: isCorrect ? '回答正确' : '回答错误', icon: isCorrect ? 'success' : 'none', duration: 2000 }); this.setData({ isAnswered: true }); }, nextQuestion: function () { const app = getApp(); const questions = app.globalData.questions; const currentQuestionIndex = this.data.currentQuestionIndex; if (currentQuestionIndex < questions.length - 1) { this.setData({ currentQuestionIndex: currentQuestionIndex + 1, currentQuestion: questions[currentQuestionIndex + 1], isAnswered: false }); } else { wx.showToast({ title: '已经是最后一题了', icon: 'none', duration: 2000 }); } } }); //index.wxss .container { padding: 20px; } .question { font-size: 18px; margin-bottom: 20px; } .option { background-color: #f0f0f0; /* 未选项的背景颜色 */ padding: 10px; margin-bottom: 10px; border-radius: 5px; border: 1px solid #ccc; /* 未选项的边框颜色 */ color: #333; /* 未选项的文字颜色 */ } .option.selected { background-color: #eb5b5b !important; /* 已选项的背景颜色 */ border: 1px solid #007aff !important; /* 已选项的边框颜色 */ color: #007aff !important; /* 已选项的文字颜色 */ } .buttons { margin-top: 20px; } button { margin-right: 10px; } 怎么未选项与已选项颜色无法区分
[图片] TypeError: Cannot read property 'onDynamicUpdate' of undefined at i.onDynamicUpdate (C:\Program Files (chrome-extension://mbeenbnhnmdhkbicabncjghgnikfbgjh/html/x86)\Tencent\微信web开发者工具\code\package.nw\core.wxvpkg\aca08953663a55187dfd0abade210f27.js:2:864) at new s (C:\Program Files (chrome-extension://mbeenbnhnmdhkbicabncjghgnikfbgjh/html/x86)\Tencent\微信web开发者工具\code\package.nw\core.wxvpkg\f4d87387e0bc0f0f680b340d071f84a7.js:2:429) at c._createInstance (C:\Program Files (chrome-extension://mbeenbnhnmdhkbicabncjghgnikfbgjh/html/x86)\Tencent\微信web开发者工具\code\package.nw\js\libs\vseditor\bundled\base.bundled.js:2:796457) at c._createServiceInstance (C:\Program Files (chrome-extension://mbeenbnhnmdhkbicabncjghgnikfbgjh/html/x86)\Tencent\微信web开发者工具\code\package.nw\js\libs\vseditor\bundled\base.bundled.js:2:799540) at c._createServiceInstanceWithOwner (C:\Program Files (chrome-extension://mbeenbnhnmdhkbicabncjghgnikfbgjh/html/x86)\Tencent\微信web开发者工具\code\package.nw\js\libs\vseditor\bundled\base.bundled.js:2:799076) at c._createAndCacheServiceInstance (C:\Program Files (chrome-extension://mbeenbnhnmdhkbicabncjghgnikfbgjh/html/x86)\Tencent\微信web开发者工具\code\package.nw\js\libs\vseditor\bundled\base.bundled.js:2:798702) at c._getOrCreateServiceInstance (C:\Program Files (chrome-extension://mbeenbnhnmdhkbicabncjghgnikfbgjh/html/x86)\Tencent\微信web开发者工具\code\package.nw\js\libs\vseditor\bundled\base.bundled.js:2:797334) at Object.get (C:\Program Files (chrome-extension://mbeenbnhnmdhkbicabncjghgnikfbgjh/html/x86)\Tencent\微信web开发者工具\code\package.nw\js\libs\vseditor\bundled\base.bundled.js:2:795064) at C:\Program Files (chrome-extension://mbeenbnhnmdhkbicabncjghgnikfbgjh/html/x86)\Tencent\微信web开发者工具\code\package.nw\core.wxvpkg\9eee66f818065fa6881814a83bcfe0cf.js:2:567 at c.invokeFunction (C:\Program Files (chrome-extension://mbeenbnhnmdhkbicabncjghgnikfbgjh/html/x86)\Tencent\微信web开发者工具\code\package.nw\js\libs\vseditor\bundled\base.bundled.js:2:795641) at C:\Program Files (chrome-extension://mbeenbnhnmdhkbicabncjghgnikfbgjh/html/x86)\Tencent\微信web开发者工具\code\package.nw\core.wxvpkg\9eee66f818065fa6881814a83bcfe0cf.js:2:544 at Object.getState (C:\Program Files (chrome-extension://mbeenbnhnmdhkbicabncjghgnikfbgjh/html/x86)\Tencent\微信web开发者工具\code\package.nw\core.wxvpkg\0135160c5ff56695a1224b8aa6e0e15f.js:2:206) at Object.u [as getCurrent] (C:\Program Files (chrome-extension://mbeenbnhnmdhkbicabncjghgnikfbgjh/html/x86)\Tencent\微信web开发者工具\code\package.nw\core.wxvpkg\9327037d308e50587476dfd6b9e06014.js:2:351) at u.get currentProject [as currentProject] (C:\Program Files (chrome-extension://mbeenbnhnmdhkbicabncjghgnikfbgjh/html/x86)\Tencent\微信web开发者工具\code\package.nw\core.wxvpkg\45a982046814630a51e40d0fc49574e9.js:2:1136) at u.load (C:\Program Files (chrome-extension://mbeenbnhnmdhkbicabncjghgnikfbgjh/html/x86)\Tencent\微信web开发者工具\code\package.nw\core.wxvpkg\45a982046814630a51e40d0fc49574e9.js:2:1364) at Function.get vs [as vs] (C:\Program Files (chrome-extension://mbeenbnhnmdhkbicabncjghgnikfbgjh/html/x86)\Tencent\微信web开发者工具\code\package.nw\core.wxvpkg\45a982046814630a51e40d0fc49574e9.js:2:881) at c (C:\Program Files (chrome-extension://mbeenbnhnmdhkbicabncjghgnikfbgjh/html/x86)\Tencent\微信web开发者工具\code\package.nw\core.wxvpkg\45a982046814630a51e40d0fc49574e9.js:2:3520) at C:\Program Files (chrome-extension://mbeenbnhnmdhkbicabncjghgnikfbgjh/html/x86)\Tencent\微信web开发者工具\code\package.nw\core.wxvpkg\feba6fd8663fefab2435275ba90372d1.js:2:8382 at new Promise (<anonymous>) at p.getApp (C:\Program Files (chrome-extension://mbeenbnhnmdhkbicabncjghgnikfbgjh/html/x86)\Tencent\微信web开发者工具\code\package.nw\core.wxvpkg\feba6fd8663fefab2435275ba90372d1.js:2:8351) at p.setupListeners (C:\Program Files (chrome-extension://mbeenbnhnmdhkbicabncjghgnikfbgjh/html/x86)\Tencent\微信web开发者工具\code\package.nw\core.wxvpkg\feba6fd8663fefab2435275ba90372d1.js:2:7547) at p._onWindowTitleAttrsChange (C:\Program Files (chrome-extension://mbeenbnhnmdhkbicabncjghgnikfbgjh/html/x86)\Tencent\微信web开发者工具\code\package.nw\core.wxvpkg\feba6fd8663fefab2435275ba90372d1.js:2:7043) at p._init (C:\Program Files (chrome-extension://mbeenbnhnmdhkbicabncjghgnikfbgjh/html/x86)\Tencent\微信web开发者工具\code\package.nw\core.wxvpkg\feba6fd8663fefab2435275ba90372d1.js:2:6812) at Function.get shared [as shared] (C:\Program Files (chrome-extension://mbeenbnhnmdhkbicabncjghgnikfbgjh/html/x86)\Tencent\微信web开发者工具\code\package.nw\core.wxvpkg\feba6fd8663fefab2435275ba90372d1.js:2:6460) at Object.launch (C:\Program Files (chrome-extension://mbeenbnhnmdhkbicabncjghgnikfbgjh/html/x86)\Tencent\微信web开发者工具\code\package.nw\core.wxvpkg\3a67b0cd649abaa7a873f3edfc2be587.js:2:1324) at m (index.js:1) at o (index.js:1) at HTMLDocument.n (index.js:1)
微信开发者工具Stable 1.06.2412050 , 在hubuilder中修改了源码,自动编译后,触发微信开发者工具自动刷新..自动刷新不好用. 还得手动编译一次才有效果. 样式还好,特别是js,比如触发弹窗这类问题或者点击..就没反应了.请问怎么优化这个问题?开发体验比较差,而且感觉开发者工具好卡顿.
2412050,华为手机真机调试,显示白板
您好,域名ywgaokao.com在西部数码注册并通过Ucloud备案通过,浏览器访问正常,我是网站开发者,访问时间如图2025/4/12,微信访问网站出现“无法确认该网页的安全性,请谨慎访问”,经检查网页里没有不安全的内容,请核实后帮忙解除拦截,谢谢![图片][图片]
就算勾选了不效验合法域名一样会被拦截
开发者工具版本为: 稳定版 Stable Build (1.06.2503290); hbuilder X 版本为:4.64 [图片]
安装好多版本wechat_devtools_1.06.2505162_win32_x64 wechat_devtools_1.06.2505162_win32_ia32 wechat_devtools_1.06.2503290_win32_x64
小程序被禁止搜索,已经修改违规内容,审核也通过了,怎么还是不让搜索?[图片][图片]
开发者工具版本号:微信开发者工具 Stable 1.06.2503300 真机设备:Vivo S19,iPhone 15 Pro Max 在针对Skyline页面作低版本兼容时,测试3.0.2 - 3.8.6之间基础库版本的过程中,发现如下问题: 版本3.0.2能够把Skyline页面加载出来,但是布局混乱,甚至包括一些从API(wx.getWindowInfo等)中获取的尺寸信息也没有应用到页面元素上。3.0.2 - 3.5.8之间的基础库版本无法加载Skyline页面并且完全白屏,甚至无法加载出WXML内容(如下图所示),3.5.8以上正常 [图片] [图片] [图片] [图片] [图片] [图片] 因为之前测试时,一直到3.0.2版本都能够正常展示内容和完成测试,所以这个问题出现得比较突然。 想确认一下这个问题是仅出现在推送测试基础库至真机调试的情况下,还是会影响线上用户?如果会影响到线上,那么我们无论是把基础库版本限制从3.0.2提高至3.5.8还是对小程序全面兼容webview,这都是一个很大很急的问题或者很大的工程,希望官方能够解答一下这个疑惑并尽快解决这个问题🙏。
unity2022转微信小游戏,微信开发者工具可以正常运行工程,点真机调试后出现如下报错: message:真机调试 Error: 系统错误,错误码:80082,get plugin(id: wx7a727ff7d940bb3f, version: 1.0.7) failed, permission deny [20250417 11:13:22][wx29dfa18aecec119b] appid: wx29dfa18aecec119b openid: o6zAJsxgHji2sYaIVZHOlA2uBIMo ideVersion: 1.06.2503281 osType: win32-x64 time: 2025-04-17 11:13:33
关于小程序《用户隐私保护指引》到期未完善的通知2024-10-22你好,检测到你的小程序有采集用户隐私信息,但当前仍未完善《用户隐私保护指引》,我们将回收小程序相应隐私接口调用权限。 如需正常调用相关接口,请在“mp.weixin.qq.com-设置-服务内容声明模块”或代码提审时完善《用户隐私保护指引》。若有其他疑问,可咨询客服 。 这个用户隐私保护指引》不见了[图片]
小程序助手
帮助小程序相关成员在手机端更方便、及时地管理小程序
小程序助手
扫码体验
你好,没有接口获取已群发列表,发表-已通知用户群发文章