宝塔面板关闭首页广告

文件位置:/www/server/panel/BTPanel/static/js/index.js 使用宝塔编辑器搜索

① 搜索 
setTimeout(function () { _this.get_index_list() }, 400)
取消//这部分注释。

 

② 搜索 product_recommend.init 函数,注释如下内容。(共两处)

/*product_recommend.init(function(){
  index.get_product_status(function(){
    index.recommend_paid_version()
  });
  index.get_index_list();
})*/

修改后如下图:

 

 
posted @ 2023-08-15 15:37  Colin.liu  阅读(12)  评论(0)    收藏  举报