...
|
...
|
@@ -27,22 +27,22 @@ class LogisticsController extends WeChatBaseController |
|
|
if(empty($data)){
|
|
|
$this->error('查询为空','','','');
|
|
|
}
|
|
|
if($data['is_courier'] == 1){
|
|
|
$result['data'] = $data['start_time'];
|
|
|
}else{
|
|
|
$result = $birdController->getOrder($indent_id);
|
|
|
if(empty($result)){
|
|
|
$this->error('未知错误','','');
|
|
|
}
|
|
|
if($result['code'] != 20000){
|
|
|
$this->error($result['msg'],'','','');
|
|
|
}
|
|
|
}
|
|
|
// if($data['is_courier'] == 1){
|
|
|
// $result['data'] = $data['start_time'];
|
|
|
// }else{
|
|
|
// $result = $birdController->getOrder($indent_id);
|
|
|
// if(empty($result)){
|
|
|
// $this->error('未知错误','','');
|
|
|
// }
|
|
|
// if($result['code'] != 20000){
|
|
|
// $this->error($result['msg'],'','','');
|
|
|
// }
|
|
|
// }
|
|
|
$indent = $indentModel->findData(['id'=>$indent_id])->toArray();
|
|
|
$indentGoodsModel = new IndentGoodsModel();
|
|
|
$indent_goods = $indentGoodsModel->selectData(['indent_id'=>$indent_id]);
|
|
|
$indent['indent_goods'] = $indent_goods;
|
|
|
$this->assign('data',$result['data']);
|
|
|
// $this->assign('data',$result['data']);
|
|
|
$this->assign('data2',$data->toArray());
|
|
|
$this->assign('indent',$indent);
|
|
|
return $this->fetch();
|
...
|
...
|
|