Laravel修改认证表出现Call to undefined method getAuthIdentifierName();
Song •
2150 次浏览 •
0个评论 •
2022年01月18日
Laravel 修改默认认证默认表单为Admins,首先在`config/`
BadMethodCallException - Call to undefined method Illuminate\Database\Query\Builder::getAuthIdentifierName()解决办法:修改对应表单的Models,让模版继承Authenticatable
...
use Illuminate\Foundation\Auth\User as Authenticatable;
class Admins extends Authenticatable
{
更多相关好文
-
企业微信第三方应用提示不合法的permanent_code参数 2022-01-04 -
Easywechat第三方平台出现Credential "component_verify_ticket" does not exist in cache 2021-12-22 -
微信三方开发快速注册企业小程序出现lack of some component rights rid 2021-12-22 -
Laravel 出现Opis\Closure\SerializableClosure__serialize() and __unserialize() 2021-12-10 -
MacOs使用Brew轻松管理php版本以及安装php5/7/8并切换 2021-12-10

Laravel模型更新全表如何实现?