...
|
...
|
@@ -35,6 +35,41 @@ class OrderscourierController extends AdminBaseController{ |
|
|
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
*平台订单查看
|
|
|
*/
|
|
|
public function plat_view(){
|
|
|
|
|
|
$id = $this -> request -> param();
|
|
|
$indent_id = $id['id'];
|
|
|
$data_goods = Db::name('indent_goods') -> where('indent_id',$indent_id) -> select();
|
|
|
$data_in = Db::name('indent') -> where('id',$indent_id) -> find();
|
|
|
$this -> assign('data_goods',$data_goods);
|
|
|
$this -> assign('data_in',$data_in);
|
|
|
//地址查询
|
|
|
$address = Db::name('address') -> where("id",$data_in['indent_address']) -> find();
|
|
|
if(!empty($address)){
|
|
|
$this -> assign('address',$address);
|
|
|
}else{
|
|
|
$this -> assign('address',null);
|
|
|
}
|
|
|
|
|
|
return $this -> fetch();
|
|
|
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 查看物流信息
|
|
|
*/
|
|
|
public function logistics_information(){
|
|
|
|
|
|
$indent_id = $this -> request -> param();
|
|
|
$bird = new BirdController();
|
|
|
$logistics = $bird -> getOrder($indent_id['id']);
|
|
|
$this -> assign('logistics',$logistics['data']['traces']);
|
|
|
return $this -> fetch();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
...
|
...
|
|