We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP 版本:5.6 overtrue/wechat 版本:3.0 框架名称:cakephp
生成带参数二维码: 使用临时二维码接口,无法创建以字符串为参数的二维码,建议添加QR_STR_SCENE类型接口。 temporary方法:
const SCENE_QR_TEMPORARY = 'QR_SCENE'; /** * Create temporary. * * @param string $sceneId * @param null $expireSeconds * * @return \EasyWeChat\Support\Collection */ public function temporary($sceneId, $expireSeconds = null) { $scene = ['scene_id' => intval($sceneId)]; return $this->create(self::SCENE_QR_TEMPORARY, $scene, true, $expireSeconds); }
The text was updated successfully, but these errors were encountered:
请升级到 3.1 https://github.com/overtrue/wechat/blob/3.1/src/QRCode/QRCode.php#L72-L84
Sorry, something went wrong.
OK
No branches or pull requests
我用的环境
PHP 版本:5.6
overtrue/wechat 版本:3.0
框架名称:cakephp
问题及现象
生成带参数二维码:
使用临时二维码接口,无法创建以字符串为参数的二维码,建议添加QR_STR_SCENE类型接口。
temporary方法:
The text was updated successfully, but these errors were encountered: