ICode9

精准搜索请尝试: 精确搜索
  • Springboot(一)2019-06-27 14:53:05

    传递参数注解@PathVariable,@RequestParam和RequestBody区别 (markdown引用图片方法BASE64编码) 针对一些非必填的参数,可以使用required关键字来标识,同时必须设置默认值defaultValue,如对price参数的获取: @RequestParam(value = "price",required = false,defaultValue = "

  • PowerShell 实现批量下载文件2019-04-21 17:42:07

    简介 批量文件下载器 PowerShell 版,类似于迅雷批量下载功能,且可以破解 Referer 防盗链   源代码 git: https://gitee.com/codefelix/spany-down-ps.git ## ===============================================================================Write-Output "-------------------

  • net.sf.json.JSONObject 转实体类时日期遇到空“”被赋值一个当前时间的问题2019-04-04 15:52:42

    另见:json 转日期出错,JSONArray.toCollection 时间总是转化为当前时间 net.sf.json 这个包还真是存在不少问题。 上代码: package net.sf.ezmorph.object; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Loc

  • java 加载properties2019-02-26 12:54:09

    /** * 取得属性值,无值时返回默认值 * @param name String 属性名称 * @param defaultValue String 属性名称 * @return String 属性值 */ protected String getProp(String name,String defaultValue) { if (properties == null) {

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有