|
@@ -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,
|