Commit 134c8d75 authored by hujun's avatar hujun

二维码生成修改

parent 95da7029
......@@ -37,9 +37,10 @@ class GenerateCodeUntils {
$qrCode->setLogoPath(ROOT_PATH.'/public/static/qrcode/agent_app_logo.png');
$qrCode->setLogoWidth(80);
$qrCode->setValidateResult(false);
$path = $path.DS.$file_name.'-agent.png';
} else {
$path = $path.DS.$file_name.'-client.png';
}
$path = $path.DS.$file_name.'.png';
$qrCode->writeFile($path);
return $path;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment