作者 郭文星

123

@@ -23,13 +23,8 @@ class Login extends Base @@ -23,13 +23,8 @@ class Login extends Base
23 */ 23 */
24 public function get_user_by_shouquan() 24 public function get_user_by_shouquan()
25 { 25 {
26 - $appid = $this->AppID;  
27 - $AppSecret = $this->AppSecret;  
28 -  
29 - print_r(config("site.wxxcx_AppID"));  
30 - print_r("============");  
31 - print_r($AppSecret);  
32 - return; 26 + $appid = "wx58ceff4e93cfc523";
  27 + $AppSecret = "baf744d21875280a5e98611f66adaf91";
33 $post = $this->request->post(); 28 $post = $this->request->post();
34 $code = $post['code'];// I('post.code'); 29 $code = $post['code'];// I('post.code');
35 $encryptedData = $post['encryptedData'];//I('post.encryptedData'); 30 $encryptedData = $post['encryptedData'];//I('post.encryptedData');