Commit 51b93f8f authored by hangjun83's avatar hangjun83

乐妍

parent 3481aa2f
...@@ -66,12 +66,12 @@ class LeyanApiService extends PlatformAbstractService ...@@ -66,12 +66,12 @@ class LeyanApiService extends PlatformAbstractService
if($this->checkPlatformStatus()){ if($this->checkPlatformStatus()){
$tokenParams = [ $tokenParams = [
'username' => $this->platformInfo['platform_params']['username'], 'username' => $this->platformInfo['platform_params']['username'],
'password' => $this->platformInfo['platform_params']['password'] 'password' => $this->platformInfo['platform_params']['password'],
'content-type' => 'application/json;charset=utf-8'
]; ];
$response = $this->getPostClient($this->platformInfo['platform_url'].'/ProductDate/getToken',[],null, $response = $this->getPostClient($this->platformInfo['platform_url'].'/ProductDate/getToken',[],null,
[ [
$tokenParams, $tokenParams
'content-type' => 'application/json;charset=utf-8'
] ]
); );
$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