$url="https://api.weixin.qq.com/cgi-bin/user/info?access_token=".ACCESS_TOKEN."&openid={$openid}&lang=zh_CN";$userInfo=$this->https_request($url);$nickname=$userInfo['nickname'];//获取昵称$sex=$userInfo['sex'];//获取性别$city=$userInfo['city'];//获取用户所在城市$headimgurl=