eidt-api-licheb-up_img
This commit is contained in:
@@ -19,6 +19,7 @@ class Cusorderdata extends Wxapp{
|
||||
$this->load->model('receiver/order/receiver_orders_v2_model','orders_model');
|
||||
$this->load->model('receiver/order/receiver_order_status_model');
|
||||
$this->load->model('receiver/order/receiver_order_datas_model');
|
||||
$this->load->model('app/liche/app_liche_orders_model');
|
||||
|
||||
$this->load->library('receiver/orders_status_entity');
|
||||
$this->load->library('TcOrc');
|
||||
@@ -26,9 +27,10 @@ class Cusorderdata extends Wxapp{
|
||||
|
||||
protected function get(){
|
||||
$id = $this->input_param('id');
|
||||
$row = $this->receiver_order_status_model->get(['o_id'=>$id,'status'=>1,'pid_status'=>0]);
|
||||
//$row = $this->receiver_order_status_model->get(['o_id'=>$id,'status'=>1,'pid_status'=>0]);
|
||||
$is_pay = $this->app_liche_orders_model->count(['o_id'=>$id,'status'=>1]);
|
||||
$data = [];
|
||||
if($row){
|
||||
if($is_pay){
|
||||
$data['img_status'] = 1;
|
||||
$row_data = $this->receiver_order_datas_model->get(['o_id'=>$id]);
|
||||
$cardidb = $cardida = $business_licence = $register_img = $car_img = [];
|
||||
@@ -189,4 +191,4 @@ class Cusorderdata extends Wxapp{
|
||||
throw new Exception('修改失败', ERR_PARAMS_ERROR);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user