Commit 2bc2ae14 authored by shajiaiming's avatar shajiaiming

Merge branch 'master' into feature/issue_coin

parents b1cc584e f54e64f4
...@@ -23,6 +23,8 @@ class ClientParamsController extends BaseController ...@@ -23,6 +23,8 @@ class ClientParamsController extends BaseController
foreach ($data as &$val) { foreach ($data as &$val) {
if(strpos( $val['url'], ',') !== false) { if(strpos( $val['url'], ',') !== false) {
$val['url'] = explode(',', $val['url']); $val['url'] = explode(',', $val['url']);
} else {
$val['url'] = [$val['url']];
} }
} }
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<p class="success"><?= is_string($message) ? $message : '' ?></p> <p class="success"><?= is_string($message) ? $message : '' ?></p>
<p class="detail"></p> <p class="detail"></p>
<p class="jump"> <p class="jump">
<b id="wait"><?= is_numeric($waitSecond) ? $waitSecond : 33 ?></b> 秒后页面将自动跳转 <b id="wait"><?= isset($waitSecond) ? (is_numeric($waitSecond) ? $waitSecond : 33 ) : 33 ?></b> 秒后页面将自动跳转
</p> </p>
<div> <div>
<a id="href" id="btn-now" href="<?= isset($jumpUrl) ? $jumpUrl : \yii\helpers\Url::toRoute('/') ?>">立即跳转</a> <a id="href" id="btn-now" href="<?= isset($jumpUrl) ? $jumpUrl : \yii\helpers\Url::toRoute('/') ?>">立即跳转</a>
......
...@@ -43,7 +43,7 @@ body{ background: #30333F; color: #fff; font-size: 16px; } ...@@ -43,7 +43,7 @@ body{ background: #30333F; color: #fff; font-size: 16px; }
<p class="success"><?= is_string($message) ? $message : '' ?></p> <p class="success"><?= is_string($message) ? $message : '' ?></p>
<p class="detail"></p> <p class="detail"></p>
<p class="jump"> <p class="jump">
<b id="wait"><?= is_numeric($waitSecond) ? $waitSecond : 33 ?></b> 秒后页面将自动跳转 <b id="wait"><?= isset($waitSecond) ? (is_numeric($waitSecond) ? $waitSecond : 33 ) : 33 ?></b> 秒后页面将自动跳转
</p> </p>
<div> <div>
<a id="href" id="btn-now" href="<?= isset($jumpUrl) ? $jumpUrl : \yii\helpers\Url::toRoute('/') ?>">立即跳转</a> <a id="href" id="btn-now" href="<?= isset($jumpUrl) ? $jumpUrl : \yii\helpers\Url::toRoute('/') ?>">立即跳转</a>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment