mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-24 22:11:01 -06:00
commit
e2b17fb31e
@ -123,11 +123,9 @@ class AdvRepository extends EntryRepository implements AdvRepositoryInterface
|
|||||||
if (!empty($param['photo'])) {
|
if (!empty($param['photo'])) {
|
||||||
$query = $query->whereNotNull('cover_photo');
|
$query = $query->whereNotNull('cover_photo');
|
||||||
}
|
}
|
||||||
// if (!empty($param['video'])) {
|
if (!empty($param['video'])) {
|
||||||
// $int = (int)$num;
|
$query = $query->where('cover_photo', 'like', '%video/upload/w_400,e_loop%');
|
||||||
// $column = "JSON_EXTRACT(foreign_currencies, '$." . $param['currency'] . "') <=" . $int;
|
}
|
||||||
// $query = $query->whereRaw($column);
|
|
||||||
// }
|
|
||||||
if (!empty($param['map']) && $param['map'] == true) {
|
if (!empty($param['map']) && $param['map'] == true) {
|
||||||
$query = $query->whereNotNull('map_Val');
|
$query = $query->whereNotNull('map_Val');
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user