【转载】laravel 使用create 报错 MassAssignmentException
转自:https://blog.csdn.net/weixin 34254823/article/details/86001422 在使用: 模型:create时报错, Add [name] to fillable property to …
记录学习和工作
转自:https://blog.csdn.net/weixin 34254823/article/details/86001422 在使用: 模型:create时报错, Add [name] to fillable property to …
转自:https://www.jb51.net/article/180637.htm 通常在项目中,我们会对大量的前端提交过来的表单进行验证,如果不通过,则返回错误信息。 前端为了更好的体验,都使用ajax进行表单提交,虽然 validat…
转自:https://jingyan.baidu.com/article/3aed632e4948b831108091b3.html https://www.jianshu.com/p/e7e188e5d44b https://learnk…
转自:https://blog.csdn.net/qq 32958797/article/details/109044437 使用 docker 搭建lnmp环境 框架 使用Laravel,连接MySQL,一直显示“SQLSTATE[HY0…
转自:https://www.cnblogs.com/jinshao/p/15252664.html 1、在路由web.php上增加 1 2 Route::get( 'test/validator' , 'PHPTestController…
转自:https://www.jianshu.com/p/f8baeeece74a?tdsourcetag=s pcqq aiomsg 例如:表前缀为“prefix”,用户表全名为“prefix users”。 则进入项目文件夹“confi…
/ 生成指定格式的接口返回数组 @param int $code 状态码 @param string $message 文字提示 @param array $data 数组数据 @return \Illuminate\Http\JsonRe…
转自:https://blog.csdn.net/u011415782/article/details/78925048 https://blog.csdn.net/silence pinot/article/details/1192481…
laravel中文文档:https://learnku.com/docs/laravel/8.x 创建一个名为weibo的项目: 启动homestead病登录 cd /Homestead && vagrant up vagr…
访问:http://homestead./ 出错如下: 502 Bad Gateway nginx/1.11.1 解决: ①查看错误日志(/var/log/nginx/.log) ②发现这个错误: /var/run/php/php7.1-f…