Commit 443a5c9b authored by liuyuzhen's avatar liuyuzhen

购物车已删除商品问题

parent 1484a387
......@@ -178,7 +178,8 @@ class StoreModel extends \DAO\AbstractModel
public function getOnlineStores($where = null, $field = '*', $limit = [])
{
$conditionSql = 'store_state =1 and open_flag =1 and (store_end_time >=' . TIMESTAMP . ' or store_end_time =0 ) ';
//$conditionSql = 'store_state =1 and open_flag =1 and (store_end_time >=' . TIMESTAMP . ' or store_end_time =0 ) ';
$conditionSql = 'store_state =1 and open_flag =1 ';
if ($where) {
$conditionSql = $where . ' and ' . $conditionSql;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment