背景
小程序测试难点,数据包加密?有签名存在?导致测试受阻
工具 wedecode
wedecode
https://github.com/biggerstar/wedecode
1.首次使用,源码安装方式
git clone https://github.com/biggerstar/wedecode npm install #
如果 npm 安装很慢, 可以使用右侧命令换国内的淘宝源 npm config set registry https://registry.npmmirror.com
npm run start
2.运行脚本
wedecode
3.配置解密后的 小程序文件 的目录
4. 使用默认输出目录需,清楚缓存
5. 将项目导入微信开发者工具;根据提示修改 app.json文件解决问题
6.修改文件完成后,小程序正常编译运行;开始测试。有点敏感未给出编译后截图。
7.解密小程序的算法 --待续