前端
zyt_jam
这个作者很懒,什么都没留下…
展开
-
Velocity稍微复杂语法
主要就是Velocity的页面,如何使用Velocity的模板1.#if(${mailList.list.size()}>0) 可以判断list数据的size #elseif($!{item.startup_way}) 可以判断item.startup_way是否存在,如果不存在,就不显示 #end原创 2018-01-31 15:48:38 · 846 阅读 · 0 评论 -
Postman post 请求415错误
第一次使用Postman 看到需要配置很多东西,但是不清楚哪些需要配置哪些不需要,只能依靠报错来找了{ "timestamp": 1536032587041, "status": 415, "error": "Unsupported Media Type", "exception": "org.springframework.web.HttpMe.原创 2018-09-04 14:50:30 · 7252 阅读 · 2 评论 -
Restful web 服务四种操作post/delete/put/get 区别
Http请求主要由以下几种请求方式 post,get,put,delete post:请求体在body里面 get:请求在链接后面 put:请求方式和post一样 delete:请求方式和post一样但是,既然请求方式一样,为什么还要区分post和put呢? 原因: 后端接收到post请求还可以转发请求到其他地址,而put请求不允许转发!学术上讲就是: ...原创 2018-09-13 19:55:58 · 6046 阅读 · 0 评论