格式化gwall商品同步的返回数据格式
This commit is contained in:
parent
fcb4a3b941
commit
4feb989020
|
@ -182,6 +182,14 @@ class GwallWms extends BaseWms implements WmsInterface
|
|||
];
|
||||
|
||||
$result = $this->request($service, $postData);
|
||||
if ($result['success']) {
|
||||
$result = array_merge($result, [
|
||||
'response' => [
|
||||
'message' => $result['response'],
|
||||
'itemId' => $params['wms_code'],
|
||||
],
|
||||
]);
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user