druid去掉广告
找到对应的依赖jar包,如druid-1.1.10.jar,改后缀为.zip 解压
找到support/http/resource/js/common.js文件, 修改buildFooter 方法
buildFooter : function() {
var html ='<footer class="footer">'+
' <div class="container">'+
//'<a href="https://render.alipay.com/p/s/taobaonpm_click/druid_banner_click" target="new"><img src="https://render.alipay.com/p/s/taobaonpm_click/druid_banner"></a><br/>' +
' powered by <a href="https://github.com/alibaba/" target="_blank">AlibabaTech</a> & <a href="http://www.sandzhang.com/" target="_blank">sandzhang</a> & <a href="http://melin.iteye.com/" target="_blank">melin</a> & <a href="https://github.com/shrekwang" target="_blank">shrek.wang</a>'+
' </div>'+
' </footer>';
$(document.body).append(html);
},
注释掉相应数据,压缩为zip,改名为jar,然后项目重新打包即可…
转https://blog.csdn.net/haveqing/article/details/86524672.
亲测,有效:记得看清楚版本…
世界上所有的不公平都是由于当事人能力不足造成的.