• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






干杯朋友

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2019年11月4日

Spring boot基础之post/put/delete
摘要: 一 PostMapping 用于提交表单 1 @PostMapping("/v2/test_post") 2 public Object testPost(String name,String title){ 3 map.clear(); 4 map.put("name",name); 5 map. 阅读全文
posted @ 2019-11-04 22:49 干杯朋友 阅读(515) 评论(0) 推荐(0)
 
spring boot基础之GetMapping
摘要: 1 @Target(ElementType.METHOD) 2 @Retention(RetentionPolicy.RUNTIME) 3 @Documented 4 @RequestMapping(method = RequestMethod.GET) 5 public @interface Ge 阅读全文
posted @ 2019-11-04 22:14 干杯朋友 阅读(32245) 评论(0) 推荐(1)
 
spring boot基础之get访问
摘要: 1 import org.springframework.web.bind.annotation.PathVariable; 2 import org.springframework.web.bind.annotation.RequestMapping; 3 import org.springfra 阅读全文
posted @ 2019-11-04 21:33 干杯朋友 阅读(402) 评论(0) 推荐(0)