Commit 94e64ad0 authored by hangjun83's avatar hangjun83

乐妍

parent 6bbc8a54
...@@ -40,7 +40,7 @@ class LeyanApiService extends PlatformAbstractService ...@@ -40,7 +40,7 @@ class LeyanApiService extends PlatformAbstractService
$params = []; $params = [];
$params['casNo'] = $this->mergeapimetadata($product); $params['casNo'] = $this->mergeapimetadata($product);
$uri = $this->platforminfo['platform_url'].'/ProductDate/findProductDataPoolByCatalogNoOrCas'; $uri = $this->platformInfo['platform_url'].'/ProductDate/findProductDataPoolByCatalogNoOrCas';
$response = $this->getpostclient( $response = $this->getpostclient(
$uri, $params,null, $uri, $params,null,
[ [
...@@ -68,7 +68,7 @@ class LeyanApiService extends PlatformAbstractService ...@@ -68,7 +68,7 @@ class LeyanApiService extends PlatformAbstractService
'username' => $this->platformInfo['platform_params']['username'], 'username' => $this->platformInfo['platform_params']['username'],
'password' => $this->platformInfo['platform_params']['password'] 'password' => $this->platformInfo['platform_params']['password']
]; ];
$response = $this->getPostClient($this->platforminfo['platform_url'].'/ProductDate/getToken',$tokenParams); $response = $this->getPostClient($this->platformInfo['platform_url'].'/ProductDate/getToken',$tokenParams);
$token = $this->apiResponse($response); $token = $this->apiResponse($response);
return $token['data']; return $token['data'];
......
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