...
|
...
|
@@ -66,7 +66,7 @@ class YuanxiaoController extends HuodongAction |
|
|
'name' => $nickName,
|
|
|
'type' => $result['data']['randomCode']
|
|
|
);
|
|
|
$this->setCookie('yuanxiaochouqian', json_encode($cookieData), time() + 15*60);
|
|
|
$this->setCookie('yuanxiaochouqian', json_encode($cookieData), time() + 15 * 60);
|
|
|
$this->go(Helpers::url('/cuxiao/yuanxiao/wait'));
|
|
|
} else { // 不成功就显示返回的错误信息
|
|
|
$this->_view->display('info', array(
|
...
|
...
|
@@ -77,6 +77,7 @@ class YuanxiaoController extends HuodongAction |
|
|
),
|
|
|
'birthday' => $birthday,
|
|
|
'gender' => $gender,
|
|
|
'isBoy' => $gender == 1, // 性别是否是女标志位
|
|
|
'message' => $result['message']
|
|
|
));
|
|
|
}
|
...
|
...
|
@@ -91,6 +92,7 @@ class YuanxiaoController extends HuodongAction |
|
|
),
|
|
|
'birthday' => $userData['birthday'],
|
|
|
'gender' => $userData['gender'],
|
|
|
'isBoy' => $userData['gender'] == 1 // 性别是否是女标志位
|
|
|
));
|
|
|
}
|
|
|
}
|
...
|
...
|
|