|
|
@@ -57,11 +57,10 @@ class AdvertService extends BaseService
|
|
|
*/
|
|
|
public function getDataList($params, $pageSize = 15)
|
|
|
{
|
|
|
- var_dump($params);
|
|
|
$where = ['a.mark' => 1];
|
|
|
$type = isset($params['type'])? $params['type'] : 1;
|
|
|
$status = isset($params['status'])? $params['status'] : 0;
|
|
|
- $advertType = isset($params['advert_type'])? $params['advert_type'] : 0;
|
|
|
+ $advertType = isset($params['advert_type'])? $params['advert_type'] : 1;
|
|
|
$userId = isset($params['user_id'])? $params['user_id'] : 0;
|
|
|
if($type>0){
|
|
|
$where['a.type'] = $type;
|