上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 70 下一页
摘要: import java.util.regex.Matcher; import java.util.regex.Pattern; /** * 判断是否为移动端设备访问 * */ public class CheckMobile { // \b 是单词边界(连着的两个(字母字符 与 非字母字符) 之间的 阅读全文
posted @ 2021-01-22 10:12 yvioo 阅读(1208) 评论(0) 推荐(0)
摘要: import org.springframework.web.bind.annotation.ControllerAdvice; import org.springframework.web.bind.annotation.ExceptionHandler; import org.springfra 阅读全文
posted @ 2021-01-21 14:07 yvioo 阅读(120) 评论(0) 推荐(0)
摘要: Summernote 是一个简单灵活的所见即所得的 HTML 在线编辑器,基于 jQuery 和 Bootstrap 构建,支持快捷键操作,提供大量可定制的选项。 但是却只有图片上传功能,没有视频上传功能,这里演示怎么增加一个视频上传功能 (批量上传写法在最下方) 基于v0.8.12版本 修改sum 阅读全文
posted @ 2021-01-20 13:43 yvioo 阅读(1210) 评论(2) 推荐(0)
摘要: 加入 -Dfile.encoding=UTF-8 以及 阅读全文
posted @ 2021-01-19 14:47 yvioo 阅读(149) 评论(0) 推荐(0)
摘要: JAVA验证身份证号码是否正确:https://www.cnblogs.com/pxblog/p/12038278.html /** * 通过身份证号码获取出生日期(birthday)、年龄(age)、性别(sex) * @param idCardNo 身份证号码 * @return 返回的出生日期 阅读全文
posted @ 2021-01-14 09:56 yvioo 阅读(6840) 评论(0) 推荐(0)
摘要: Caused by: redis.clients.jedis.exceptions.JedisDataException: READONLY You can't write against a read only slave. at redis.clients.jedis.Protocol.proc 阅读全文
posted @ 2021-01-11 14:07 yvioo 阅读(2471) 评论(0) 推荐(0)
摘要: 在页面head标签中加入 <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"> 阅读全文
posted @ 2020-12-31 09:47 yvioo 阅读(4513) 评论(0) 推荐(0)
摘要: 引入maven <dependency> <groupId>redis.clients</groupId> <artifactId>jedis</artifactId> <version>2.9.0</version> </dependency> 代码 static String constr = 阅读全文
posted @ 2020-12-25 15:46 yvioo 阅读(433) 评论(0) 推荐(0)
摘要: 要在layer.load之前使用layer.ready方法 layui.use('layer', function () { layer.ready(function(){ index = layer.load(1, { shade: [0.4,'#000'] }); }); }); 阅读全文
posted @ 2020-12-03 10:34 yvioo 阅读(1357) 评论(0) 推荐(0)
摘要: import org.apache.commons.lang.StringUtils; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.StatusLine; 阅读全文
posted @ 2020-11-26 14:55 yvioo 阅读(5487) 评论(0) 推荐(0)
上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 70 下一页