正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -68,8 +68,8 @@ class Login extends Base | @@ -68,8 +68,8 @@ class Login extends Base | ||
68 | public function getuserphonenumber() | 68 | public function getuserphonenumber() |
69 | { | 69 | { |
70 | $user_id=$this->auth->id; | 70 | $user_id=$this->auth->id; |
71 | - $appid = $this->AppID; | ||
72 | - $AppSecret = $this->AppSecret; | 71 | + $appid = "wx58ceff4e93cfc523"; |
72 | + $AppSecret = "baf744d21875280a5e98611f66adaf91"; | ||
73 | $post = $this->request->post(); | 73 | $post = $this->request->post(); |
74 | $code = $post['code'];// I('post.code'); | 74 | $code = $post['code'];// I('post.code'); |
75 | $AccessToken=$this->getwxAccessToken($appid,$AppSecret); | 75 | $AccessToken=$this->getwxAccessToken($appid,$AppSecret); |
-
请 注册 或 登录 后发表评论