WeChatFerry
WeChatFerry copied to clipboard
[🐛BUG] MsgTypes 的 proto 在 Node 环境下用 google-protobuf 反序列化失败
描述这个 bug
wcf.proto 中 MsgTypes 在 Node 环境下用 google-protobuf 反序列化失败
message MsgTypes { map<int32, string> types = 1; }
改成
message MsgType {
int32 code = 1;
string label = 2;
}
message MsgTypes {
repeated MsgType types = 1;
}
则可以解析成功
使用环境(请补全下列信息):
- 操作系统:Windows 10
- 操作系统版本:64
- Node 版本: 22.4.1
- WeChatFerry 版本: 39.2.4
- 微信版本: 3.9.10.27