作者 耿培杰

修改删除订单

... ... @@ -1500,7 +1500,6 @@ class Order extends Api
$wuliu = $kdniao->getOrderTracesByJson($company, $code);
$wuliu = json_decode($wuliu, true);
halt($wuliu);
$wuliu = isset($wuliu['Traces']) && count($wuliu['Traces']) ? array_reverse($wuliu['Traces']) : [['AcceptStation' => '暂无物流信息', 'AcceptTime' => date('Y-m-d H:i:s', time())]];
$data['company_name'] = Db::name('kdniao')->where(['code' => $data['logistic_code']])->value('company');
$data['wuliu'] = $wuliu;
... ...