Merge branch 'feature/new_wms' into 'master'

日志

See merge request composer/php-wms-client!3
This commit is contained in:
郑翀 2020-07-21 15:40:10 +08:00
commit a8b95bd9e7

View File

@ -406,6 +406,7 @@ class QimenWms extends BaseWms implements WmsInterface
]; ];
$xml = Array2XML::createXML('request', $params); $xml = Array2XML::createXML('request', $params);
$body = $xml->saveXML(); $body = $xml->saveXML();
app('log')->info('php-wms-client-body', ['request_body' => $body]);
$sign = $this->createSign($query, $body); $sign = $this->createSign($query, $body);
$query['sign'] = $sign; $query['sign'] = $sign;
$response = $this->post($body, $query); $response = $this->post($body, $query);