wupengfei 1 yıl önce
ebeveyn
işleme
b5cd71e7b1
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      application/api/controller/Kuaishou.php

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

@@ -9,7 +9,7 @@ class Kuaishou extends Base
     public $syncAPIClient;
     public $serverHost = "https://openapi.kwaixiaodian.com/";
     public $webSite = '1688';
-    public $access_token = '';
+    public $access_token = 'ChFvYXV0aC5hY2Nlc3NUb2tlbhJwoKoSq1Hr4odNgoU9P9bwE23fS9T_KUXue57LmD9Nks584givB9Tqi_z05o7KDDvwj3ZAIBzly56LPLr-bekP61JOxIt8lMmuaOEODBndmTz5CrYQfiRIn-mbKwTYDPIXeJZLWN5nwwmaUP-G85DF7xoSOYuaoIMQQbq8-XpVu7XiJ6dNIiBtFILUcnKsia-OUP2G6Xja4G2Ub9uR4rKP7YVWTVe1BCgFMAE';
     public $debug = false;
     //
     public  function getAccessToken()
@@ -30,7 +30,7 @@ class Kuaishou extends Base
         $param = ['oid'=>input('oid')];
         $arr['appkey'] = $this->appKey;
         $arr['version'] = 1;
-        $arr['access_token'] = $this->getAccessToken();
+        $arr['access_token'] = $this->access_token;
         $arr['timestamp'] = $this->getMillisecond();
         $arr['method'] = trim($apiType);
         $arr['param'] = $param ? json_encode($param) : '{}';