上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 18 下一页
摘要: /** * * @return true为包含,false为不包含 */ /** * 判断是否含有特殊字符 * * @param str * @return true为包含,false为不包含 */ public static boolean isSpecialChar(String str) { 阅读全文
posted @ 2021-01-07 10:30 逝年的我们 阅读(838) 评论(0) 推荐(0)
摘要: demo update 表名set 字段=date_add(字段, interval -30 minute) 为日期增加一个时间间隔:date_add() set @dt = now(); select date_add(@dt, interval 1 day); - 加1天 select date 阅读全文
posted @ 2020-12-25 14:57 逝年的我们 阅读(1228) 评论(0) 推荐(0)
摘要: 1、问题 我们在实际的工作当中,网络请求出于安全考虑会将所有请求进行拦截对登录的用户放开 2、其他平台在通过iframe嵌套咱们的页面时会导致session失效对于css和请求都会拦截 3.解决方案: 阅读全文
posted @ 2020-12-24 17:29 逝年的我们 阅读(4015) 评论(3) 推荐(0)
摘要: 然后带着这些要求去寻找,找到了Thumbnailator,一个google使用的开源的工具类。 这个工具类满足了上面所说的所有的要求。 同时对于图片的处理还有了别的方法,如旋转,裁切,加水印等等。 在github上面的地址是:https://github.com/coobird/thumbnaila 阅读全文
posted @ 2020-12-15 10:46 逝年的我们 阅读(122) 评论(0) 推荐(0)
摘要: 前台判断http请求与https请求并进行相关的处理var ishttps = 'https:' == document.location.protocol ? true : false; var rquestHttp=""; if (ishttps) { alert("是https请求!"); } 阅读全文
posted @ 2020-12-15 09:37 逝年的我们 阅读(247) 评论(0) 推荐(0)
摘要: 项目从http升级到https后,jsp页面存在发送http请求的情况下就会出现该异常。因为HTTPS 是 HTTP over Secure Socket Layer,以安全为目标的 HTTP 通道,所以在 HTTPS 承载的页面上不允许出现 http 请求。 以下页面头加到页面头部可以将页面htt 阅读全文
posted @ 2020-12-14 18:49 逝年的我们 阅读(2267) 评论(0) 推荐(0)
摘要: { checkbox: true, visible: true, formatter: function (value, row, index) { if(row.isCheck =="1"){ return {disabled : true,} }else{ return {disabled : 阅读全文
posted @ 2020-12-12 15:52 逝年的我们 阅读(269) 评论(0) 推荐(0)
摘要: roam : 'scale',//禁止拖拽 scaleLimit:{ //所属组件的z分层,z值小的图形会被z值大的图形覆盖 min:0.7, //最小的缩放值 max:3, //最大的缩放值 }, 阅读全文
posted @ 2020-12-10 15:58 逝年的我们 阅读(3687) 评论(0) 推荐(0)
摘要: label: { emphasis: { show: true, //开启悬浮事件 color: '#D4EEFF'//字体颜色 } }, 阅读全文
posted @ 2020-12-10 15:51 逝年的我们 阅读(3435) 评论(0) 推荐(0)
摘要: bootstarp加载两个table时onLoadSuccess只调用一次 onLoadSuccess: function (datas) { alert(3); rows = $('#bootstrap-table').bootstrapTable('getData', true); initgz 阅读全文
posted @ 2020-11-30 19:34 逝年的我们 阅读(1614) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 18 下一页