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