作者 lizheng

测试提交

@@ -411,7 +411,10 @@ class ProductController extends RestBaseController @@ -411,7 +411,10 @@ class ProductController extends RestBaseController
411 } 411 }
412 $condition['p.type'] = 1;//上架产品 412 $condition['p.type'] = 1;//上架产品
413 $condition['p.user_id'] = $data['user_id']; 413 $condition['p.user_id'] = $data['user_id'];
414 - if (!empty($data['company'])) { 414 +// if (!empty($data['company'])) {
  415 +// $condition['p.job'] = $data['company'];
  416 +// }
  417 + if (isset($data['company']) && $data['company'] !=null && $data['company'] !=3) {
415 $condition['p.job'] = $data['company']; 418 $condition['p.job'] = $data['company'];
416 } 419 }
417 if (isset($data['policy']) && $data['policy'] !=null && $data['policy'] !=2) { 420 if (isset($data['policy']) && $data['policy'] !=null && $data['policy'] !=2) {