摘要: /** * 三角数字之和 ...5+4+3+2+1 * @param n * @return */ public int triangle(int n){ if(n==1){ return 1; } return n+triangle(n-1); } /** * 阶乘 5! * @param n * 阅读全文
posted @ 2020-04-10 15:58 mufeng07 阅读(150) 评论(0) 推荐(0) 编辑
摘要: import redis.clients.jedis.BinaryClient; import redis.clients.jedis.Jedis; import redis.clients.jedis.JedisPool; import redis.clients.jedis.JedisPoolC 阅读全文
posted @ 2020-04-10 15:33 mufeng07 阅读(937) 评论(0) 推荐(0) 编辑
摘要: 1.通过面向切面基于注解方式进行处理 @RequestMapping("/test") @Sensitive(name={"userName"},phoneNo={"mobile"},email={"email"}) public Rsp_1 test(){ //对返回结果进行脱敏处理 } 切面类 阅读全文
posted @ 2020-04-10 15:31 mufeng07 阅读(2432) 评论(0) 推荐(0) 编辑
摘要: 查看当前目录下所有文件的大小 du --max-depth=1 -h 阅读全文
posted @ 2020-04-10 10:19 mufeng07 阅读(110) 评论(0) 推荐(0) 编辑