Authored by 毕凯

静态资源版本升级

@@ -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.1.1';  
13 - const STATIC_FILE = 'http://cdn.yoho.cn/huodong/2016yuanxiao/1.1.1'; 12 + // const STATIC_FILE = 'http://localhost:2222/assets/1.1.2';
  13 + const STATIC_FILE = 'http://cdn.yoho.cn/huodong/2016yuanxiao/1.1.2';
14 const ENCRYPT_KEY = 'iamgtskkwhoareyou'; 14 const ENCRYPT_KEY = 'iamgtskkwhoareyou';
15 15
16 /** 16 /**
@@ -32,7 +32,7 @@ class YuanxiaoController extends HuodongAction @@ -32,7 +32,7 @@ class YuanxiaoController extends HuodongAction
32 { 32 {
33 $playUrl = Helpers::url('/cuxiao/yuanxiao/info'); 33 $playUrl = Helpers::url('/cuxiao/yuanxiao/info');
34 $playUrlEncode = strtr($playUrl, array('/' => '\\/')); 34 $playUrlEncode = strtr($playUrl, array('/' => '\\/'));
35 - 35 +
36 $this->_view->display('index', array( 36 $this->_view->display('index', array(
37 'staticTitle' => '2016潮流运势测试!', 37 'staticTitle' => '2016潮流运势测试!',
38 'staticFile' => self::STATIC_FILE, 38 'staticFile' => self::STATIC_FILE,
@@ -59,7 +59,7 @@ class YuanxiaoController extends HuodongAction @@ -59,7 +59,7 @@ class YuanxiaoController extends HuodongAction
59 exit(); 59 exit();
60 } 60 }
61 } 61 }
62 - 62 +
63 // POST提交请求 63 // POST提交请求
64 $posts = $this->post(); 64 $posts = $this->post();
65 if (!empty($posts)) { 65 if (!empty($posts)) {
@@ -244,10 +244,10 @@ class YuanxiaoController extends HuodongAction @@ -244,10 +244,10 @@ class YuanxiaoController extends HuodongAction
244 244
245 return $uid; 245 return $uid;
246 } 246 }
247 - 247 +
248 /** 248 /**
249 * 判断是否是APP访问 249 * 判断是否是APP访问
250 - * 250 + *
251 * @return bool 251 * @return bool
252 */ 252 */
253 private function isApp() 253 private function isApp()