...
|
...
|
@@ -56,10 +56,10 @@ class YuanxiaoController extends HuodongAction |
|
|
$gender = $this->post('gender', 1);
|
|
|
|
|
|
// 格式化日期以便接口接收
|
|
|
$birthday = date_format(date_create_from_format('Y年m月d日', $birthday), 'Y-m-d');
|
|
|
$FormatBirthday = date_format(date_create_from_format('Y年m月d日', $birthday), 'Y-m-d');
|
|
|
|
|
|
// 调用接口
|
|
|
$result = YuanxiaoModel::getChouqianInfo($uid, $nickName, $birthday, $gender);
|
|
|
$result = YuanxiaoModel::getChouqianInfo($uid, $nickName, $FormatBirthday, $gender);
|
|
|
if ($result['code'] === 200) { // 处理成功就跳转到等待页
|
|
|
// 将返回的结果存入cookeie中15分钟
|
|
|
$cookieData = array(
|
...
|
...
|
|