作者 耿培杰

修改删除订单

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