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