Merge pull request '优化' (#366) from hotfix/remove_promote_package into master

Reviewed-on: http://8.136.139.249:3000/wmtx/platform/pulls/366
master
廖金灵 4 years ago
commit c862c021ae

@ -208,7 +208,7 @@ class HomeController extends Controller
$this->error('该链接已失效');
}
if ($promote['account'] == 'yl3xiaojian') {
if (in_array($promote['account'], ['yl3xiaojian', 'huangshengchang'])) {
$this->error('链接无效');
}

@ -60,7 +60,7 @@ class PackageController extends Controller
$this->error('该链接已失效');
}
if ($promote['account'] == 'yl3xiaojian') {
if (in_array($promote['account'], ['yl3xiaojian', 'huangshengchang'])) {
$this->error('链接无效');
}

Loading…
Cancel
Save