本地生活首页列表数据暂时只展示东龙汇公司
This commit is contained in:
parent
2293469b2c
commit
181f05fb0f
@ -25,6 +25,7 @@ class LocalStoreLogic extends Logic
|
||||
}
|
||||
|
||||
$count = $model->where('is_delete', 0)
|
||||
->where('lstore_id', 22)
|
||||
->where($s1)
|
||||
->where("store_state", 1)
|
||||
->where("shopLogo is not null")
|
||||
@ -39,7 +40,7 @@ class LocalStoreLogic extends Logic
|
||||
// $sql = "SELECT *, ST_Distance_Sphere(POINT(".$data['longitude'].",".$data['latitude']."),POINT(longitude, latitude)) AS distance
|
||||
// FROM ls_local_store where is_delete = 0 $s
|
||||
// ORDER BY distance limit $page,$size";
|
||||
$sql = "SELECT * FROM ls_local_store where is_delete = 0 and store_state = 1 and shopLogo is not null $s ORDER BY lstore_id asc limit " . $page . "," . $size;
|
||||
$sql = "SELECT * FROM ls_local_store where lstore_id = 22 and is_delete = 0 and store_state = 1 and shopLogo is not null $s ORDER BY lstore_id asc limit " . $page . "," . $size;
|
||||
// var_dump($sql);
|
||||
$lists = Db::query($sql);
|
||||
foreach ($lists as $key => $value) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user