格式化gwall商品同步的返回数据格式

This commit is contained in:
ZweiCD 2020-03-23 18:24:53 +08:00
parent fcb4a3b941
commit 4feb989020

View File

@ -182,6 +182,14 @@ class GwallWms extends BaseWms implements WmsInterface
]; ];
$result = $this->request($service, $postData); $result = $this->request($service, $postData);
if ($result['success']) {
$result = array_merge($result, [
'response' => [
'message' => $result['response'],
'itemId' => $params['wms_code'],
],
]);
}
return $result; return $result;
} }