...
|
...
|
@@ -54,9 +54,9 @@ class Qr extends Gateway{ |
|
|
}
|
|
|
|
|
|
if(is_int($data)){
|
|
|
$file_name = 'qr'.$data.'.png';
|
|
|
}else{
|
|
|
$file_name = 'qr'.date('YmdHis').rand(1111,9999).'.png';
|
|
|
}else{
|
|
|
$file_name = $data.'.png';
|
|
|
}
|
|
|
$filename = $filePath.$file_name;
|
|
|
QRcode::png($data, $filename, $errorCorrectionLevel, $matrixPointSize, 2);
|
...
|
...
|
|