摘要: JSON.stringify(list) //json转字符串 JSON.parse(jsonstr) //字符串转json 阅读全文
posted @ 2019-01-16 18:22 zhangjunlong 阅读(270) 评论(0) 推荐(0) 编辑
摘要: isNotEmpty(str)等价于 str != null && str.length > 0 isNotBlank(str) 等价于 str != null && str.length > 0 && str.trim().length > 0 isEmpty 等价于 str == null || 阅读全文
posted @ 2019-01-16 16:56 zhangjunlong 阅读(686) 评论(0) 推荐(0) 编辑
摘要: MultiValueMap<String, String> dataParam = new LinkedMultiValueMap<String, String>(); // 需要传递的参数 例如:dataParam .put("name","zhangsan"); HttpHeaders head 阅读全文
posted @ 2019-01-16 16:51 zhangjunlong 阅读(248) 评论(0) 推荐(0) 编辑