在servlet.xml加入 <aop:aspectj-autoproxy proxy-target-class="true"></aop:aspectj-autoproxy> sysLogAspectJ package com.pandy.core.aop; import org.aspectj. ...
分类:
编程语言 时间:
2017-11-14 11:34:04
阅读次数:
164
本次开发环境:idea2016.3.4 +jdk1.8+maven3.3.9+redis+springboot+jedis 本文中的项目使用Maven来管理项目依赖,使用Spring Session和Redis的组合来代替原有的HttpSession实现Session在不同项目之间的共享 项目结构: ...
分类:
编程语言 时间:
2017-11-13 23:00:12
阅读次数:
279
题目:Write a function to find the longest common prefix string amongst an array of strings. 这题的意思是,求字符串数组中的所有字符串的公共头。 解题思路:由于要求所有字符串的公共头,和求几个整数的公约数一样。我们 ...
分类:
其他好文 时间:
2017-11-13 19:53:57
阅读次数:
145
第一步:下载Linux环境下的jdk1.8,请去(官网)中下载jdk的安装文件; 查看Linux操作系统位数: [root@localhost ~]# getconf LONG_BIT 由于我的Linux是64位的,因此我下载的是jdk-8u151-linux-x64.tar.gz 如下图所示: 第 ...
分类:
系统相关 时间:
2017-11-13 18:15:30
阅读次数:
212
dev.new()新建画板 plot()绘制点线图,条形图,散点图. barplot( ) 绘制条形图 dotchart( ) 绘制点图 pie( )绘制饼图. pair( )绘制散点图阵 boxplot( )绘制箱线图 hist( )绘制直方图 scatterplot3D( )绘制3D散点图. 低 ...
分类:
其他好文 时间:
2017-11-13 13:43:38
阅读次数:
189
SpringBoot定义URL处理方法:@Controller和@RequestMapping @Controller标注的类表示的是一个处理HTTP请求的控制器(即MVC中的C),该类中所有被@RequestMapping标注的方法都会用来处理对应URL的请求。 在SpringMVC框架中,使用@ ...
分类:
移动开发 时间:
2017-11-12 19:19:08
阅读次数:
203
前两天在学spring boot的时候,出现了一个很奇怪的错误,因为是第一次使用spring boot,所以没想到会遇到这种莫名其妙的bug,即调用接口删除数据库中一条记录的时候,数据库中记录事实上以及被删除了,但是却返回一个null,这就令我百思不得其解了,理论上,删除的话,会返回受影响的记录的条... ...
分类:
编程语言 时间:
2017-11-12 18:40:48
阅读次数:
286
参考:http://blog.csdn.net/sdfiiiiii/article/details/70432060 http://blog.csdn.net/qy20115549/article/details/54945974 第一篇博客可以获取http://www.xicidaili.com/ ...
分类:
Web程序 时间:
2017-11-12 17:27:12
阅读次数:
249
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below. Bonus point if you are ab ...
分类:
其他好文 时间:
2017-11-12 12:22:13
阅读次数:
128
## 概述 基于Asp.net Core 1.1 ,使用IdentityServer4认证与授权。 ## 参考资料 [微软教程](https://docs.microsoft.com/zh-cn/aspnet/core/security/authorization/claims#security-a ...
分类:
其他好文 时间:
2017-11-12 11:16:09
阅读次数:
262