|
|
@@ -56,7 +56,7 @@ class ServiceLists extends BaseApiDataLists implements ListsSearchInterface
|
|
|
{
|
|
|
$where[] = ['status', '=', 1];
|
|
|
$where[] = ['expiration_time', '>=', time()];
|
|
|
-
|
|
|
+ $where[] = ['audit_status','=',1];
|
|
|
return $where;
|
|
|
}
|
|
|
|
|
|
@@ -103,7 +103,7 @@ class ServiceLists extends BaseApiDataLists implements ListsSearchInterface
|
|
|
$catwhere[] = ['cate_id', 'like', $cats, 'or'];
|
|
|
}
|
|
|
|
|
|
- $field = 'id,user_id,name,mobile,type,agricultural_machinery_model,images,cate_id,area_id,money,content,status,expiration_time,create_time';
|
|
|
+ $field = 'id,user_id,name,mobile,type,agricultural_machinery_model,images,cate_id,area_id,money,content,status,audit_status,audit_time,expiration_time,create_time';
|
|
|
$result = UserService::field($field)
|
|
|
->where($this->queryWhere())
|
|
|
->where($this->searchWhere)
|