...
|
...
|
@@ -9,8 +9,8 @@ use Plugin\Helpers; |
|
|
*/
|
|
|
class YuanxiaoController extends HuodongAction
|
|
|
{
|
|
|
// const STATIC_FILE = 'http://localhost:2222/assets/1.1.1';
|
|
|
const STATIC_FILE = 'http://cdn.yoho.cn/huodong/2016yuanxiao/1.1.1';
|
|
|
// const STATIC_FILE = 'http://localhost:2222/assets/1.1.2';
|
|
|
const STATIC_FILE = 'http://cdn.yoho.cn/huodong/2016yuanxiao/1.1.2';
|
|
|
const ENCRYPT_KEY = 'iamgtskkwhoareyou';
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -32,7 +32,7 @@ class YuanxiaoController extends HuodongAction |
|
|
{
|
|
|
$playUrl = Helpers::url('/cuxiao/yuanxiao/info');
|
|
|
$playUrlEncode = strtr($playUrl, array('/' => '\\/'));
|
|
|
|
|
|
|
|
|
$this->_view->display('index', array(
|
|
|
'staticTitle' => '2016潮流运势测试!',
|
|
|
'staticFile' => self::STATIC_FILE,
|
...
|
...
|
@@ -59,7 +59,7 @@ class YuanxiaoController extends HuodongAction |
|
|
exit();
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
// POST提交请求
|
|
|
$posts = $this->post();
|
|
|
if (!empty($posts)) {
|
...
|
...
|
@@ -244,10 +244,10 @@ class YuanxiaoController extends HuodongAction |
|
|
|
|
|
return $uid;
|
|
|
}
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 判断是否是APP访问
|
|
|
*
|
|
|
*
|
|
|
* @return bool
|
|
|
*/
|
|
|
private function isApp()
|
...
|
...
|
|