Compare commits

...

2 Commits

Author SHA1 Message Date
eeca2b90e9 Merge remote-tracking branch 'origin/master' 2024-08-10 15:12:08 +08:00
617a5f49e9 1.本地生活上级列表优化 2024-08-10 15:11:24 +08:00

@ -33,7 +33,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 shopLogo is not null $s ORDER BY lstore_id asc limit $page,$size";
$sql = "SELECT * FROM ls_local_store where is_delete = 0 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){