11 2018 档案
摘要:List<RoleDO> allRoles = roleService.list();//获取角色中备注不是app的集合List<RoleDO> webRoles = allRoles.stream() .filter(item -> !("app".equals(item.getRemark())
阅读全文
摘要:1.配置文件地址置换 @Componentclass WebConfigurer implements WebMvcConfigurer { @Autowired ConfigUtil bootdoConfig; @Override public void addResourceHandlers(R
阅读全文
摘要:var now = new Date(); //当前日期var nowMonth = now.getMonth()+1; //当前月var nowYear = now.getFullYear(); //当前年 //获得日期getAllDate:function(date,fmt) { if(null
阅读全文
摘要:getQueryString:function(name) { var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)"); var r = decodeURI(decodeURI(window.location.search)).substr(1).m
阅读全文