无@RequestBody获取数据为null

知识点参考:https://blog.csdn.net/justry_deng/article/details/80972817/
今天在做一个post提交数据时,发现后台接收到的数据总为null,

  • 这是vue前端代码
submitForm(formName) {
   
     this.ruleForm.pic='/img/singerPic/666.jpg';
      const _this=this;
      this.$refs[formName].validate((valid) => {
   
        if (valid) {
   
          axios.

你可能感兴趣的:(学习,java)