错误解释:报错的意思是,你的项目里  没有  那个表,    我报这个错误是因为,我用了验证,代码如下

$formData = $this->validate($request, [
            'username' => 'required|unique:表名称,username',//unique 即 唯一验证,表名称 即 验证的表 ,username 即需要进行唯一验证的字段
            'password' => 'required'
        ]);

 

相关文章:

  • 2022-12-23
  • 2021-06-01
  • 2021-06-14
  • 2021-07-25
  • 2021-12-31
  • 2021-06-13
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-07-08
  • 2022-12-23
  • 2022-12-23
  • 2022-01-23
  • 2022-01-21
相关资源
相似解决方案