下面是修改方法,很简单的,只需要修改一行代码即可。
打开 includes/lib_insert.php,找到 insert_history() 函数部分
将
" 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)";
时间: 2024-09-29 00:36:22