Authored by 毕凯

更新静态资源版本号

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