第一种VUE

用@RequestBody注解接收 

前端

let url = '/fullalert/insert'
 this.$http.post(url,this.form).then(res=>{

后端


@PostMapping("/insert")

public
Object insert(@RequestBody FullAlert fullAlert){

 第二种 如果将form表单拼接在url后面,用get方法

后端用@RequestParam接收

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-31
  • 2021-05-22
  • 2021-10-21
  • 2022-12-23
猜你喜欢
  • 2021-12-26
  • 2021-11-07
  • 2021-05-31
  • 2021-09-30
  • 2022-12-23
  • 2022-12-23
  • 2021-12-26
相关资源
相似解决方案