上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 26 下一页

2020年9月16日

Java 8 新特性

摘要: @Override public List<String> getUserRoles(String username) { //找到以ROLE_开头的,并且映射为字符串数组 return userDetailsService.loadUserByUsername(username).getAutho 阅读全文

posted @ 2020-09-16 15:23 滚动的蛋 阅读(182) 评论(0) 推荐(0)

编码习惯--日志

摘要: 1、详细的日志打印可以帮助更好的排查问题 @ServiceActivator(inputChannel = "fileChannel") public void processFile(Message<File> message) throws IOException { securityUtil. 阅读全文

posted @ 2020-09-16 11:02 滚动的蛋 阅读(255) 评论(0) 推荐(0)

2020年9月11日

Reflection on《Understanding Media》

摘要: /** The upside and downside of my understanding media * --upside-- * 1、Bring us great convenience,we don't have to do anything,cause there is someone 阅读全文

posted @ 2020-09-11 11:04 滚动的蛋 阅读(150) 评论(0) 推荐(0)

2020年8月31日

MySQL 添加字段和修改字段SQL

摘要: 1、添加字段 alter table `tm_user` Add column is_popup_notice tinyint(1) not null default 0 AFTER `notice_frequency`; 2、修改字段 alter table `tm_user` alter col 阅读全文

posted @ 2020-08-31 16:08 滚动的蛋 阅读(2107) 评论(0) 推荐(0)

2020年8月20日

精读《useEffect 完全指南》 Diff机制和其它解决方法

摘要: move to https://juejin.im/post/6844903806090608647 阅读全文

posted @ 2020-08-20 14:43 滚动的蛋 阅读(367) 评论(0) 推荐(0)

2020年8月19日

Java 异常体系及 运行时异常(不需要捕捉)与一般异常有何异同(需要捕捉)

摘要: 1、Java Throable 体系图 2、Error Error 是 Throwable 的子类,用于指示合理的应用程序不应该试图捕获的严重问题 3、Exception Exception 异常主要分为两类 一类是 IOException(I/O 输入输出异常),其中 IOException 及其 阅读全文

posted @ 2020-08-19 14:32 滚动的蛋 阅读(757) 评论(0) 推荐(0)

2020年8月13日

正则表达式验证密码必须由大小写字母、数字、特殊字符组成,最短为8位

摘要: // 按指定模式在字符串查找 String line = "8784ssR#"; String pattern = "(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])(?=.*[~!@#$%^&*_.]).{8,}"; // 创建 Pattern 对象 Pattern r = Pa 阅读全文

posted @ 2020-08-13 11:02 滚动的蛋 阅读(3531) 评论(0) 推荐(0)

2020年8月10日

antd 开发记录

摘要: 1、添加事件 Positive Example : <div> onClick={() =>handleClick(child)} </div>//写成带参数的函数,点击执行 Negative Example : <div> onClick={handleClick(child)} </div> / 阅读全文

posted @ 2020-08-10 23:00 滚动的蛋 阅读(98) 评论(0) 推荐(0)

2020年8月7日

jackson 枚举 enum json 解析类型 返回数字 或者自定义文字 How To Serialize Enums as JSON Objects with Jackson

摘要: 1、枚举类如下 package com.irobotzz.docs.bms.constants; import com.baomidou.mybatisplus.annotation.EnumValue; import com.common.auth.constants.IBaseEnum; imp 阅读全文

posted @ 2020-08-07 16:55 滚动的蛋 阅读(916) 评论(0) 推荐(0)

Antd Pro V5 中ProTable 自定义查询参数和返回值

摘要: const fetchData =async (params, sort, filter) =>{ const msg =await request<{ data: T[]; }>('your api url', { params:{ pageNum:params.current, size:par 阅读全文

posted @ 2020-08-07 15:22 滚动的蛋 阅读(8770) 评论(0) 推荐(1)

上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 26 下一页

导航