Commit 70865734 authored by 蒋林's avatar 蒋林

suning订单接收返回值修改

parent 551884da
...@@ -176,12 +176,11 @@ class SourceSuning extends Source ...@@ -176,12 +176,11 @@ class SourceSuning extends Source
//debug //debug
$this->Debug('ReceiveServiceOrder', $result); $this->Debug('ReceiveServiceOrder', $result);
$res = [];
if (isset($result['data']) && $result['data']) { if (isset($result['data']) && $result['data']) {
$res = json_decode($result['data'], true); return json_decode($result['data'], true);
} else {
return_msg(false, '接收订单失败');
} }
return $res;
} }
/** /**
......
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