修复二维码获取失败,封面不显示的bug

This commit is contained in:
zyx0814
2024-09-13 16:42:23 +08:00
Unverified
parent 8c3a3caa1e
commit 3251aff582
2 changed files with 12 additions and 9 deletions

View File

@@ -1031,7 +1031,7 @@ where r.isdelete = 0 and r.appid = %s order by r.dateline desc ", ['pichome_reso
$appid = isset($_GET['appid']) ? trim($_GET['appid']) : '';
$url = 'index.php?mod=pichome&op=fileview#appid=' . $appid;
$sid = 'vapp_'.$appid;
$qrcode = C::t('pichome_route')->getQRcodeBySid($url, $appid);
$qrcode = C::t('pichome_route')->getQRcodeBySid($url, $sid);
exit(json_encode(['success' => true, 'qrcode' => $qrcode]));
} else {
$theme = GetThemeColor();