1.本地生活上级列表优化
This commit is contained in:
parent
a247a5d3e2
commit
895916fe49
@ -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 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){
|
||||
|
||||
Loading…
Reference in New Issue
Block a user