|
@@ -510,11 +510,11 @@ class WebsiteService implements WebsiteServiceInterface
|
|
$result = $ad->toArray();
|
|
$result = $ad->toArray();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- return Result::success($result);
|
|
|
|
|
|
+
|
|
}else{
|
|
}else{
|
|
- // $result = AdPlace::where($where)->get()->all();
|
|
|
|
|
|
+ $result = AdPlace::where($where)->get()->all();
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ return Result::success($result);
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|