根据order排序
This commit is contained in:
parent
0c63b93e63
commit
2f5a572852
@ -88,7 +88,7 @@ class LocalStoreLogic extends Logic
|
||||
// if (isset($data['c_name']) && $data['c_name'] == '嘉兴市') {
|
||||
// $sql = "SELECT * FROM ls_local_store where lstore_id = 138 and is_delete = 0 and store_state = 1 and shopLogo is not null $s ORDER BY lstore_id asc limit " . $page . "," . $size;
|
||||
// } else {
|
||||
$sql = "SELECT * FROM ls_local_store where is_delete = 0 and store_state = 1 and shopLogo is not null $s $keyword ORDER BY lstore_id asc limit " . $page . "," . $size;
|
||||
$sql = "SELECT * FROM ls_local_store where is_delete = 0 and store_state = 1 and shopLogo is not null $s $keyword ORDER BY order desc limit " . $page . "," . $size;
|
||||
// }
|
||||
|
||||
// var_dump($sql);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user