Commit 0d6a6b7b authored by hangjun83's avatar hangjun83

乐妍

parent 51b93f8f
...@@ -69,9 +69,11 @@ class LeyanApiService extends PlatformAbstractService ...@@ -69,9 +69,11 @@ class LeyanApiService extends PlatformAbstractService
'password' => $this->platformInfo['platform_params']['password'], 'password' => $this->platformInfo['platform_params']['password'],
'content-type' => 'application/json;charset=utf-8' 'content-type' => 'application/json;charset=utf-8'
]; ];
$response = $this->getPostClient($this->platformInfo['platform_url'].'/ProductDate/getToken',[],null, $response = $this->clientRequest('get',
$this->platformInfo['platform_url'].'/ProductDate/getToken',
[ [
$tokenParams 'headers' => $tokenParams
] ]
); );
$token = $this->apiResponse($response); $token = $this->apiResponse($response);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment