Commit e243164c authored by hangjun83's avatar hangjun83

日志存储

parent 41f05f29
......@@ -210,7 +210,7 @@ class ZhenkhApiService extends PlatformAbstractService
{
try{
if($this->checkPlatformStatus()){
SimpleLogs::writeLog('zkh api params => '.$deliveryOrder,__CLASS__.':ackDeliveryOrder');
SimpleLogs::writeLog($deliveryOrder,__CLASS__.':ackDeliveryOrder');
$response = $this->getPostClient($this->getPlatformApiUrl().'/openPoApi/v1/purchaseOrder/ackDeliveryOrderPart',
$deliveryOrder,null,
[
......@@ -244,7 +244,7 @@ class ZhenkhApiService extends PlatformAbstractService
'priceUnit' => $params['price_unit'],
'zkhSku' => $params['sku']
];
SimpleLogs::writeLog('zkh api params => '.$postParams,__CLASS__.':updateReportProductPrice');
SimpleLogs::writeLog($postParams,__CLASS__.':updateReportProductPrice');
$response = $this->getPostClient($this->getPlatformApiUrl().'/openApi/v1/common/report/price',
[$postParams],null,
[
......@@ -280,7 +280,7 @@ class ZhenkhApiService extends PlatformAbstractService
'qty' => intval($params['qty']),
'zkhSku' => $params['sku']
];
SimpleLogs::writeLog('zkh api params => '.$postParams,__CLASS__.':updateReportProductStock');
SimpleLogs::writeLog($postParams,__CLASS__.':updateReportProductStock');
$response = $this->getPostClient($this->getPlatformApiUrl().'/openApi/v2/common/report/stock',
[$postParams],null,
[
......@@ -340,7 +340,7 @@ class ZhenkhApiService extends PlatformAbstractService
$params = [];
$params['purchaseOrderId'] = $orderNo;
SimpleLogs::writeLog('zkh api params => '.$params,__CLASS__.':orderConfirm');
SimpleLogs::writeLog($params,__CLASS__.':orderConfirm');
$response = $this->getPostClient($this->getPlatformApiUrl().'/openPoApi/v1/purchaseOrder/confirm',
$params,null,
[
......
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