正在显示
1 个修改的文件
包含
2 行增加
和
7 行删除
| @@ -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'); |
-
请 注册 或 登录 后发表评论