mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update Test.php
This commit is contained in:
parent
dd33966953
commit
d80f58e95a
@ -252,7 +252,7 @@ class Test extends Controller
|
|||||||
* @throws \Endroid\QrCode\Exceptions\ImageFunctionUnknownException
|
* @throws \Endroid\QrCode\Exceptions\ImageFunctionUnknownException
|
||||||
* @throws \Endroid\QrCode\Exceptions\ImageTypeInvalidException
|
* @throws \Endroid\QrCode\Exceptions\ImageTypeInvalidException
|
||||||
*/
|
*/
|
||||||
protected function showQrc($url)
|
private function showQrc(string $url)
|
||||||
{
|
{
|
||||||
$qrCode = new \Endroid\QrCode\QrCode();
|
$qrCode = new \Endroid\QrCode\QrCode();
|
||||||
$qrCode->setText($url)->setSize(300)->setPadding(20)->setImageType('png');
|
$qrCode->setText($url)->setSize(300)->setPadding(20)->setImageType('png');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user