作者 郭文星

123

... ... @@ -68,8 +68,8 @@ class Login extends Base
public function getuserphonenumber()
{
$user_id=$this->auth->id;
$appid = $this->AppID;
$AppSecret = $this->AppSecret;
$appid = "wx58ceff4e93cfc523";
$AppSecret = "baf744d21875280a5e98611f66adaf91";
$post = $this->request->post();
$code = $post['code'];// I('post.code');
$AccessToken=$this->getwxAccessToken($appid,$AppSecret);
... ...