【www.bbyears.com--php函数】
下面是修改方法,很简单的,只需要修改一行代码即可。
打开 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)";