...
|
...
|
@@ -50,7 +50,9 @@ class YuanxiaoModel |
|
|
*/
|
|
|
public static function getChouqianInfo($uid, $nickName, $birthday, $gender)
|
|
|
{
|
|
|
$result = array('code' => 400, 'message' => '出错啦~');
|
|
|
$result = array('code' => 200, 'data' => array(
|
|
|
'randomCode' => 'P3'
|
|
|
));
|
|
|
|
|
|
do {
|
|
|
if (empty($uid)) {
|
...
|
...
|
@@ -73,7 +75,7 @@ class YuanxiaoModel |
|
|
}
|
|
|
|
|
|
$chouqian = ActivityData::getYuanxiaoInfo($uid, $nickName, $birthday, $gender);
|
|
|
if ($chouqian) {
|
|
|
if ($chouqian && $chouqian['code'] == 200) {
|
|
|
$result = $chouqian;
|
|
|
}
|
|
|
} while (false);
|
...
|
...
|
|