提交代码

This commit is contained in:
zpc 2025-03-06 15:34:46 +08:00
parent a3ec72340a
commit 077db2ef8e

View File

@ -155,7 +155,7 @@ class Index extends Base
$wxServer = new \app\common\server\Wx($this->app);
$user_base = $wxServer->generateUrlLinks($userId);
$autoload = new \app\common\server\autoload();
$imageData = $autoload->generatePosterWithQR('/www/wwwroot/119.45.131.215_80/public/img_poster.jpg', $user_base);
$imageData = $autoload->generatePosterWithQR('public/img_poster.jpg', $user_base);
if ($imageData) {
header('Content-Type: image/png');
header('Content-Length: ' . strlen($imageData)); // 设置图像长度,帮助浏览器处理流式内容