$token,"uid"=>$uid); $result=sendPost("https://center.ghink.net/v1/interface/api.php?type=checkAuth",$data); $result=json_decode($result,true); if($result["status"]=="success"){ return $result["auth"]; }else{ return false; } } //查询用户实名信息 function getData($token,$uid){ $data=array("token"=>$token,"uid"=>$uid); $result=sendPost("https://center.ghink.net/v1/interface/api.php?type=getAuthInfo",$data); $result=json_decode($result,true); if($result["status"]=="success"){ return $result["result"]; }else{ return false; } } }