正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
@@ -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"; |
-
请 注册 或 登录 后发表评论