- 博客(3)
- 收藏
- 关注
转载 获取ip
public static String getIp(HttpServletRequest request) { String ip = request.getHeader("X-Forwarded-For"); if (StringUtils.isNotEmpty(ip) && !"unKnown".equalsIgnoreCase(ip)) { // 多次反向代理后会有...
2018-02-27 10:40:43 100
原创 文件上传
function uploadFile(){ if(!checkImgType($("#file"))){ return false; }else if(!checkSize($("#file"))){ return false; } $.ajaxFileUpload({ url:contextPath + '/editor/uploadJson/upload',
2017-12-22 14:56:17 116
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人