在plus/search.php
94行前就是
$sp = new SearchView($typeid,$keyword,$orderby,$channeltype,$searchtype,$starttime,$pagesize,$kwtype,$mid);
前加入$typeid=xxx;
xxx就是指定栏目的id
这样就可以实现搜索指定的栏目ID了。
转载于:https://www.cnblogs.com/zhouyx/p/5522581.html
在plus/search.php
94行前就是
$sp = new SearchView($typeid,$keyword,$orderby,$channeltype,$searchtype,$starttime,$pagesize,$kwtype,$mid);
前加入$typeid=xxx;
xxx就是指定栏目的id
这样就可以实现搜索指定的栏目ID了。
转载于:https://www.cnblogs.com/zhouyx/p/5522581.html