作者 郭文星

123

@@ -213,7 +213,7 @@ class Car extends Base @@ -213,7 +213,7 @@ class Car extends Base
213 $page=$this->request->param("page"); 213 $page=$this->request->param("page");
214 $total=$this->request->param("total"); 214 $total=$this->request->param("total");
215 $w['user_id'] = $this->auth->id; 215 $w['user_id'] = $this->auth->id;
216 - if ($is_pay){ 216 + if ($is_pay!=0){
217 $w['is_pay'] = $is_pay; 217 $w['is_pay'] = $is_pay;
218 } 218 }
219 $res=Db::name("order") 219 $res=Db::name("order")