wupengfei hai 1 ano
pai
achega
e91327cd15
Modificáronse 2 ficheiros con 3 adicións e 4 borrados
  1. 2 4
      application/api/controller/Kuaishou.php
  2. 1 0
      config/apidoc.php

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

@@ -6,10 +6,7 @@ class Kuaishou extends Base
     public $appSecret = 'cvbOgiVC6rSvPs0sBASfkg';
     public $signSecret = '71443462ca217e1c29425e7aabc257cc';
     public $msgSecret = '4fxDQv7tJKzIc1D7CNNe6A==';
-    public $syncAPIClient;
     public $serverHost = "https://openapi.kwaixiaodian.com/";
-    public $webSite = '1688';
-   // public $access_token = 'ChFvYXV0aC5hY2Nlc3NUb2tlbhJwoKoSq1Hr4odNgoU9P9bwE23fS9T_KUXue57LmD9Nks584givB9Tqi_z05o7KDDvwj3ZAIBzly56LPLr-bekP61JOxIt8lMmuaOEODBndmTz5CrYQfiRIn-mbKwTYDPIXeJZLWN5nwwmaUP-G85DF7xoSOYuaoIMQQbq8-XpVu7XiJ6dNIiBtFILUcnKsia-OUP2G6Xja4G2Ub9uR4rKP7YVWTVe1BCgFMAE';
     public $access_token = 'ChFvYXV0aC5hY2Nlc3NUb2tlbhJwJsfgEcw8cYbOARym_nQvgdOKc9-8eKn_0pLGJ5VMMOdq7ql_yEETn74H-BFNDeSPq1ujcKxf55SaRrJ4O0WfT86MY-oqzU79eysFt2AcgOOXc49AcscyjKm3I8RTjzC1CIBTmaNdrtYxDTyc_kjjNxoSIEH75Kg-RaqlrUNstFhsUg4wIiDQ_BkNN4qQCet_XmgzWrAJmuoISlLGlgM6WJh5djxTpigFMAE';
     public $debug = false;
     public $code = "ae727ca7a93aa4434335c4d3e9a1773d169a36f6c65b965a726a1d3c8b85699e62cfd671";
@@ -150,7 +147,7 @@ class Kuaishou extends Base
         $method = 'get';
         $param = [
             'buyerOpenId'=>input('buyerOpenId'),
-            'cursor'=>input('cursor',' '),
+            'cursor'=>input('cursor','0'),
             'limit'=> 20,
             'orderStatus'=> [],
             'orderSourceType'=> [],
@@ -172,6 +169,7 @@ class Kuaishou extends Base
 
 
 
+
     private function apiSend($url,$arr,$method)
     {
         if ($method == 'get') {

+ 1 - 0
config/apidoc.php

@@ -17,6 +17,7 @@ return [
         'api\\controller\\Order',
         'api\\controller\\Live',
         'api\\controller\\Timedtask',
+        'api\\controller\\Kuaishou',
     ],
     // 指定公共注释定义的文件地址
     'definitions'=>"app\controller\Definitions",