Commit 2607d224 authored by hangjun83's avatar hangjun83

乐妍

parent 25cdddd0
......@@ -67,10 +67,12 @@ class LeyanApiService extends PlatformAbstractService
$response = $this->clientRequest('get',
$this->platformInfo['platform_url'].'/ProductDate/getToken?username='.$this->platformInfo['platform_params']['username'].'&password='.$this->platformInfo['platform_params']['password'],[]
);
$token = $this->apiResponse($response);
return $token['content'];
//$token = $this->apiResponse($response);
if(!empty($response)){
return $response;
}
}
return null;
}catch(\Exception $exception){
SimpleLogs::writeLog($exception->getMessage(), __CLASS__.':token error', 'error');
......
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