wupengfei 1 year ago
parent
commit
9bfe47e05b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/api/controller/Kuaishou.php

+ 1 - 1
application/api/controller/Kuaishou.php

@@ -47,7 +47,7 @@ class Kuaishou extends Base
         }
         //var_dump($arr,$url. '?' . http_build_query($arr, '', '&'), array());
         $s = json_decode($s, true);
-        $this->success('ok',['res'=>$s,'token'=>$this->access_token]);
+        $this->success('ok',['res'=>$s,'token'=>$arr['access_token'] ]);
     }
 
     public function getSign($params, $key) {