更改返回值

This commit is contained in:
chujiu 2019-01-03 13:34:32 +08:00
parent b3dfdc6e6b
commit ac491ccd10

View File

@ -102,10 +102,7 @@ class OAuth
'id' => $user_id, 'id' => $user_id,
'hwmc_id' => $hwuser_id, 'hwmc_id' => $hwuser_id,
]); ]);
if ($resp['code'] == 0) { return $resp;
return $resp['data'];
}
return null;
} }
/** /**