...
|
...
|
@@ -24,7 +24,6 @@ class Login extends Base |
|
|
*/
|
|
|
public function get_user_by_shouquan()
|
|
|
{
|
|
|
print_r(123123123);return;
|
|
|
$appid = "wx58ceff4e93cfc523";
|
|
|
$AppSecret = "baf744d21875280a5e98611f66adaf91";
|
|
|
$post = $this->request->post();
|
...
|
...
|
@@ -37,6 +36,8 @@ class Login extends Base |
|
|
$result = http_request($url);
|
|
|
//file_put_contents("111111111111222.txt","3-1. ".($result)."\r\n",FILE_APPEND);
|
|
|
$res = json_decode($result, true);
|
|
|
print_r($res);return;
|
|
|
|
|
|
if (!$res) {
|
|
|
$this->error("授权失败,请尝试重新授权");
|
|
|
//$res = json_decode(send_post($url), true);
|
...
|
...
|
|