- 博客(6)
- 收藏
- 关注
原创 mysql处理1970年之前的日期时间戳
SELECT DATE_FORMAT(DATE_ADD(FROM_UNIXTIME(0),INTERVAL -12232323200000/1000 SECOND),'%Y-%m-%d %h:%i:%s') AS DATE输出:1582-05-17 12:26:40
2019-01-02 15:53:00
3629
原创 session采坑
1、localhost和127.0.0.1产生的session是不同的。2、window.location.href的页面session会失效。 解决方案: location.href页面路径携带当前页面上的session_id
2018-12-28 15:41:47
191
原创 公众号图片上传随笔
前端部分:html页面引入<script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script><script>/*微信配置*/ $.ajax({ url:'upload', type:'post', ...
2018-12-28 15:35:24
232
原创 springboot在配置的filter类中注入bean
@WebFilter(urlPatterns = "/*")@Order(Integer.MAX_VALUE-2)public class SSOFilter implements Filter { // @Value("${allowUrls}") //private String str; private static String[] allowUrls; ...
2018-12-28 15:08:10
4421
原创 OGC WFS Filter学习心得
private String formatFilter(String coordinates, String radius, String properName) { StringBuffer buffer = new StringBuffer(); buffer.append("<ogc:Filter><ogc:Intersects>"); buf...
2018-05-25 09:05:50
2039
原创 springboot写Filter
1、创建一个实现Filter接口的过滤器类,并添加springboot注解。package sibd.filter;import javax.servlet.*;import javax.servlet.annotation.WebFilter;import java.io.IOException;/** * Description: * Cteated by yangbin *...
2018-04-26 09:47:57
420
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人