Closed browningweb closed 2 years ago
https://github.com/easy-swoole/wechat/blob/cee56dd04f66109171ebf3009ccb52d5c177313d/src/OpenPlatform/Authorizer/MiniProgram/Code/Client.php#L197
按照文档 发布已通过审核的小程序,需要传参为 {},代码中的传参为 [],会报错误:data format error
{}
[]
data format error
需修改为:new Stream('{}')
new Stream('{}')
好的,感谢反馈,这边稍后看看。
此问题已修复,详细请看 #157
https://github.com/easy-swoole/wechat/blob/cee56dd04f66109171ebf3009ccb52d5c177313d/src/OpenPlatform/Authorizer/MiniProgram/Code/Client.php#L197
按照文档 发布已通过审核的小程序,需要传参为
{}
,代码中的传参为[]
,会报错误:data format error
需修改为:
new Stream('{}')