Commit 28631724 authored by zhangjun's avatar zhangjun

修改

parent 5b1cda0b
......@@ -705,7 +705,6 @@ class User_model extends MY_Model
$userRes = curl_get_contents( $url );
$userRes = !empty( $userRes ) ? json_decode( $userRes, 1 ) : array();
$userInfo[0] = isset( $userRes['data'] ) ? $userRes['data'] : array();
var_dump($userInfo[0]);die();
if(isset($userInfo[0]['id']) && !empty($userInfo[0]['id']))
{
return $userInfo[0];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment