作者 王晓刚
1 个管道 的构建 通过 耗费 0 秒

代理人模块

@@ -208,7 +208,8 @@ class OrderController extends AdminBaseController @@ -208,7 +208,8 @@ class OrderController extends AdminBaseController
208 } 208 }
209 } 209 }
210 $array3 = array('order_expire_time'=>$data['expire_time'],'order_about_time'=>$data4[count($data4)-1]['time']); 210 $array3 = array('order_expire_time'=>$data['expire_time'],'order_about_time'=>$data4[count($data4)-1]['time']);
211 - $a = Db::name('order')->where(array('collocation_id'=>$param['id'],'user_id'=>$param['user_id']))->update($array3); 211 + $a = Db::name('order')->where(array('collocation_id'=>$id,'user_id'=>$param['user_id']))->update($array3);
  212 + dump($a);
212 $this->success('更新成功!'); 213 $this->success('更新成功!');
213 }else{ 214 }else{
214 $field = "c.*,i_c.thumbnail,c.insurance_company_id,i_c.insurance_company_name,o.order_expire_time,o.order_about_time,o.status,o.id o_id,o.pay_time,o.num"; 215 $field = "c.*,i_c.thumbnail,c.insurance_company_id,i_c.insurance_company_name,o.order_expire_time,o.order_about_time,o.status,o.id o_id,o.pay_time,o.num";