|
@@ -13,6 +13,20 @@ class IndexAction extends Action {
|
|
|
|
|
|
|
|
|
public function test( ){
|
|
|
+ /*
|
|
|
+ $object = new \Qrcode\QRcode();
|
|
|
+ $object->png('qweqwe','/data/wwwroot/develop.rltest.cn/1.2.7/czwx/Home/static/image/test.png',3,4);
|
|
|
+
|
|
|
+ $reslut = \PHPQRCode\QRcode::png("Test", false, 'L', 4, 2,true);
|
|
|
+ var_dump($result);
|
|
|
+
|
|
|
+ //echo 'ok';
|
|
|
+ exit;
|
|
|
+ $qrCode = new Endroid\QrCode\QrCode('Life is too short to be generating QR codes');
|
|
|
+ header('Content-Type: '.$qrCode->getContentType());
|
|
|
+ echo $qrCode->writeString();
|
|
|
+ exit();
|
|
|
+ */
|
|
|
$info = array(
|
|
|
'ExpireTime' => time()+600,
|
|
|
'LicensePlate' => 'BJ000001'
|