Authored by 毕凯

更新静态资源版本号

... ... @@ -17,7 +17,7 @@
</div>
<script type="text/javascript">
setTimeout(function (){
location.href = "/cuxiao/yuanxiao/result?share_id=231";
location.href = "/cuxiao/yuanxiao/result?share_id=1";
}, 2000);
</script>
{{> cuxiao/yuanxiao/footer}}
... ...
... ... @@ -9,8 +9,8 @@ use Plugin\Helpers;
*/
class YuanxiaoController extends HuodongAction
{
// const STATIC_FILE = 'http://localhost:2222/assets/1.0.6';
const STATIC_FILE = 'http://cdn.yoho.cn/huodong/2016yuanxiao/1.0.6';
// const STATIC_FILE = 'http://localhost:2222/assets/1.0.8';
const STATIC_FILE = 'http://cdn.yoho.cn/huodong/2016yuanxiao/1.0.8';
const ENCRYPT_KEY = 'iamgtskkwhoareyou';
/**
... ... @@ -69,6 +69,7 @@ class YuanxiaoController extends HuodongAction
$this->setCookie('yuanxiaochouqian', json_encode($cookieData), time() + 15 * 60);
$this->go(Helpers::url('/cuxiao/yuanxiao/wait'));
} else { // 不成功就显示返回的错误信息
var_dump($result['message']);
$this->_view->display('info', array(
'staticTitle' => '元宵抽签',
'staticFile' => self::STATIC_FILE,
... ...