Merge pull request 'feature/qrcode_promotion' (#515) from feature/qrcode_promotion into master

Reviewed-on: http://8.136.139.249:3000/wmtx/platform/pulls/515
master
廖金灵 3 years ago
commit 913c8352e4

@ -62,7 +62,7 @@ class JumpController extends HomeController
public function getImgs()
{
$isHttps = is_https();
$backgroundImg = ($isHttps? 'https://': 'http://').$_SERVER['HTTP_HOST']."/Public/Qrcode/images/b1.png";
$backgroundImg = ($isHttps? 'https://': 'http://').$_SERVER['HTTP_HOST']."/Public/Qrcode/images/b2.png";
$qrCodeImg = ($isHttps? 'https://': 'http://').$_SERVER['HTTP_HOST']."/Public/Qrcode/images/qrcode.png";
$id = I('request.id', '');
if (!$id || $id == 'undefined') {
@ -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);

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Loading…
Cancel
Save