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