使用SpringMVC框架,controller使用参数  @RequestBody  LoginReq req   注解方式模拟http请求

需要请求header添加两个参数

设置  Header参数    Content-Type    application/json

body参数选择

啦啦啦啦啦绿绿绿绿绿绿绿绿绿绿绿绿绿绿绿绿绿绿绿绿绿绿绿绿绿绿绿绿啦啦啦啦啦绿绿绿绿绿绿绿绿绿绿绿绿绿绿绿绿绿绿绿绿绿绿绿绿绿绿绿绿