" WHERE $where AND is_on_sale = 1 AND is_alone_sale = 1 AND is_delete = 0";
修改为
" WHERE $where AND is_on_sale = 1 AND
is_alone_sale = 1 AND is_delete = 0 order by
INSTR('".$_COOKIE['ECS']['history']."',goods_id)";试一下吧,看是不是按浏览先后进行排序了!
时间:2026-02-15 21:33:52
" WHERE $where AND is_on_sale = 1 AND is_alone_sale = 1 AND is_delete = 0";
修改为
" WHERE $where AND is_on_sale = 1 AND