Closed browningweb closed 3 years ago
https://github.com/easy-swoole/wechat/blob/cee56dd04f66109171ebf3009ccb52d5c177313d/src/OpenPlatform/Authorizer/MiniProgram/QrCodeJump/Client.php#L41
不传参时,会报错 44002 empty post data 应该加上:->setBody(new Stream('{}'))
empty post data
->setBody(new Stream('{}'))
https://github.com/easy-swoole/wechat/blob/cee56dd04f66109171ebf3009ccb52d5c177313d/src/OpenPlatform/Authorizer/MiniProgram/QrCodeJump/Client.php#L21
获取已设置的二维码规则方法也有同样的错误,是不是因为 POST 类型 body 里面必须传参。
好的,感谢反馈,这边稍后看看。
此问题已修复,详细请看 #157
https://github.com/easy-swoole/wechat/blob/cee56dd04f66109171ebf3009ccb52d5c177313d/src/OpenPlatform/Authorizer/MiniProgram/QrCodeJump/Client.php#L41
不传参时,会报错 44002
empty post data
应该加上:->setBody(new Stream('{}'))
https://github.com/easy-swoole/wechat/blob/cee56dd04f66109171ebf3009ccb52d5c177313d/src/OpenPlatform/Authorizer/MiniProgram/QrCodeJump/Client.php#L21
获取已设置的二维码规则方法也有同样的错误,是不是因为 POST 类型 body 里面必须传参。