getFriendInfoForApi( )通过 openid请求 API获取粉丝信息 * * * * * ~~~ /** * 获取粉丝信息(通过 OPENID 获取)(认证后的订阅号可用) * @param $openid srting * return array */ function getFriendInfoForApi($openid = '') { $openid || $openid = session('openid'); $Obj = getWechatObj(); return $Obj->getUserInfo($openid); } ~~~