二维码推广背景

master
tping 3 years ago
parent dff1a5f101
commit 15bd5644a0

@ -84,6 +84,7 @@ class JumpController extends HomeController
]);
}
$qrcode = json_decode($qrcodePromotionList['qrcode_img'], true);
$qrcode = array_values($qrcode);
$qrcodeCnt = count($qrcode);
$intervalMin = $qrcodePromotionList['interval_min'];
$elapseMin = floor((time() - $qrcodePromotionList['create_time']) / 60);
@ -95,13 +96,11 @@ class JumpController extends HomeController
// 背景图
$qrcodePromotion = M('qrcode_promotion', 'tab_')->where(['id' => $qrcodePromotionList['qp_id']])->find();
$qrcode = array_values($qrcode);
$this->ajaxReturn([
'id' => $_REQUEST['id'],
'status' => 1,
'background_img' => $qrcodePromotion['background_img'],
'qrcode_img' => $qrcode[$imgIndex],
'q' => $qrcode
'qrcode_img' => $qrcode[$imgIndex]
]);
}

Loading…
Cancel
Save