Application/Admin/Controller/GetfyqrController.class.php
(完整代码) 1KB<?php
/*******************************************************************\
| |
| 开单大师(专业的房产中介管理系统) |
| |
| © 2017-2023 http://www.kaidandashi.com/ All rights reserved |
| |
| 本系统由淮南市银泰软件科技有限公司提供技术支持 |
| |
| QQ号:984784483 |
| |
\*******************************************************************/
namespace Admin\Controller;
use Think\Controller;
class GetfyqrController extends Controller {
public function index(){
$fybh = I('fybh');
$url = $_SERVER['HTTP_HOST'].'/index.php/wap/fangyuan/fyneirong/bianhao/'.$fybh;
$this->qrcode($url,3,4);
}
public function qrcode($url='',$level=3,$size=4){
ob_end_clean(); //清空所有缓冲区
//引入二维码生成插件
Vendor('phpqrcode.phpqrcode');
$errorCorrectionLevel =intval($level) ;//容错级别
$matrixPointSize = intval($size);//生成图片大小
//生成二维码图片
//echo $_SERVER['REQUEST_URI'];
$object = new \QRcode();
$object->png($url, false, $errorCorrectionLevel, $matrixPointSize, 2);
}
public function mobileqr(){
$url = "https://demozxb.kaidandashi.com/mobile";
$this->qrcode($url,3,4);
}
public function wapqr(){
$url = "https://demozxb.kaidandashi.com/wap";
$this->qrcode($url,3,4);
}
public function nwapkqr(){
$url = "https://demozxb.kaidandashi.com/Upload/azbyxcx/开单大师ERP.apk";
$this->qrcode($url,3,4);
}
public function wwapkqr(){
$url = "https://demozxb.kaidandashi.com/Upload/azbyxcx/开单大师.apk";
$this->qrcode($url,3,4);
}
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
