Merge branch 'feature/new_wms' into 'master'

增加日志

See merge request composer/php-wms-client!7
This commit is contained in:
赵杰 2020-07-29 11:51:19 +08:00
commit 2866335f11

View File

@ -419,6 +419,7 @@ class QimenWms extends BaseWms implements WmsInterface
final protected function post($body, $params = [], $headers = ['content-type' => 'text/xml; charset = utf-8'], $ret = []) { final protected function post($body, $params = [], $headers = ['content-type' => 'text/xml; charset = utf-8'], $ret = []) {
$url = $this->config['base_uri']; $url = $this->config['base_uri'];
$url = $url . http_build_query($params); $url = $url . http_build_query($params);
app('log')->info('php-wms-client-url', ['data' => $url]);
$data = [ $data = [
'body' => $body, 'body' => $body,
'headers' => $headers, 'headers' => $headers,