wupengfei 1 سال پیش
والد
کامیت
229ab31277
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      application/api/controller/Kuaishou.php

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

@@ -44,7 +44,7 @@ class Kuaishou extends Base
         $apiType = "open.order.detail";
         $apiType = "open.seller.order.fee.detail";
         $method = 'get';
-        $param = ['oid'=>input('oid')];
+        $param = ['orderId'=>input('oid')];
         $arr['appkey'] = $this->appKey;
         $arr['version'] = 1;
         $arr['access_token'] = $this->getAccessToken();
@@ -64,7 +64,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'=>$arr['access_token'],'param'=>$param ]);
+        $this->success('ok',['res'=>$s,'token'=>$arr['access_token'],'param'=>$param,'api'=>'open.seller.order.fee.detail' ]);
     }
 
     public function getSign($params, $key) {