...
|
...
|
@@ -199,7 +199,7 @@ class Order extends Api |
|
|
$kdniao = new \addons\kdniao\library\Kdniao();
|
|
|
$wuliu = $kdniao->getOrderTracesByJson($express_code, $express_no);
|
|
|
$wuliu == -1 && $this->error('未设置接口配置!请在插件管理中配置!');
|
|
|
halt($wuliu['Traces']);
|
|
|
$wuliu = json_decode($wuliu, true);
|
|
|
//物流信息倒序
|
|
|
$this->success('成功',isset($wuliu['Traces']) && count($wuliu['Traces']) ? array_reverse($wuliu['Traces']) : [['AcceptStation' => '暂无物流信息', 'AcceptTime' => date('Y-m-d H:i:s', time())]]);
|
|
|
}
|
...
|
...
|
|