Merge pull request '二维码推广域名' (#518) from feature/qrcode_promotion into master

Reviewed-on: http://8.136.139.249:3000/wmtx/platform/pulls/518
master
廖金灵 3 years ago
commit e82f76ca0f

@ -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