Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

43 Commits

Folders and files

Repository files navigation

作业描述

  • 将所有接口的返回值都替换成使用ResponseEntity
  • 所有post请求都返回201,并且返回的头部带上index字段(值为创建的资源在列表中的位置:eg: 添加的热搜事件在列表中的index)
  • 完成demo里的练习:get /rs/list和 get/rs/{index}接口返回的数据中不包含user字段
  • 添加获取所有用户的接口: get /users,期望返回的数据格式例子:
    [{
        "user_name": "xxxx",
        "user_age": 19,
        "user_gender": "female",
        "user_email": "xxx@xx",
        "user_phone": "1xxxxxxxxxx"
    }]
    
  • 先写测试!!!
  • hint: @JsonpProperty的使用

注意:最终需要将改动合并到master分支

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages