Commit d176096d authored by hangjun83's avatar hangjun83

乐妍

parent 833a6282
......@@ -36,12 +36,12 @@ class LeyanApiService extends PlatformAbstractService
public function pushUpdateProductByCas($product,$token)
{
try{
if($this->checkplatformstatus()){
if($this->checkPlatformStatus()){
$params = [];
$params['casNo'] = $this->mergeapimetadata($product);
$params['casNo'] = $this->mergeApiMetaData($product);
$uri = $this->platformInfo['platform_url'].'/ProductDate/findProductDataPoolByCatalogNoOrCas';
$response = $this->getpostclient(
$response = $this->getPostClient(
$uri, $params,null,
[
'token' => $token,
......@@ -49,7 +49,7 @@ class LeyanApiService extends PlatformAbstractService
]
);
return $this->apiresponse($response);
return $this->apiResponse($response);
}
}catch(\exception $exception){
SimpleLogs::writeLog($exception->getMessage(), __CLASS__.':pushUpdateProductByCas 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