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