二维码推广域名

master
tping 3 years ago
parent 98458e341b
commit 2b2f22e4e9

@ -203,7 +203,7 @@ class QrCodePromotionController extends BaseController
]); ]);
if ($id > 0) { if ($id > 0) {
$uniqueStr = $this->getUniqueStr(); $uniqueStr = $this->getUniqueStr();
$h5Link = ($isHttps? 'https://': 'http://').$_SERVER['HTTP_HOST']."/index.php?s=/Qrcode/Jump/jumpMp/{$uniqueStr}"; $h5Link = "https://game.wmtxkj.com"."/index.php?s=/Qrcode/Jump/jumpMp/{$uniqueStr}";
$shortLink = $this->getShortUrl($h5Link); $shortLink = $this->getShortUrl($h5Link);
M('qrcode_promotion_list', 'tab_')->where(['id' => $id])->save([ M('qrcode_promotion_list', 'tab_')->where(['id' => $id])->save([

Loading…
Cancel
Save