Commit 51b93f8f authored by hangjun83's avatar hangjun83

乐妍

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