正在显示
1 个修改的文件
包含
0 行增加
和
20 行删除
| @@ -18,26 +18,6 @@ class User extends Base | @@ -18,26 +18,6 @@ class User extends Base | ||
| 18 | protected $table = 'gl_project_user'; | 18 | protected $table = 'gl_project_user'; |
| 19 | //自动维护create_at创建时间 updated_at修改时间 | 19 | //自动维护create_at创建时间 updated_at修改时间 |
| 20 | public $timestamps = true; | 20 | public $timestamps = true; |
| 21 | - /** | ||
| 22 | - * The attributes that are mass assignable. | ||
| 23 | - * | ||
| 24 | - * @var array<int, string> | ||
| 25 | - */ | ||
| 26 | - protected $fillable = [ | ||
| 27 | -// 'name', | ||
| 28 | - 'email', | ||
| 29 | - 'password', | ||
| 30 | - ]; | ||
| 31 | - | ||
| 32 | - /** | ||
| 33 | - * The attributes that should be hidden for serialization. | ||
| 34 | - * | ||
| 35 | - * @var array<int, string> | ||
| 36 | - */ | ||
| 37 | - protected $hidden = [ | ||
| 38 | -// 'password', | ||
| 39 | - 'remember_token', | ||
| 40 | - ]; | ||
| 41 | 21 | ||
| 42 | /** | 22 | /** |
| 43 | * The attributes that should be cast. | 23 | * The attributes that should be cast. |
-
请 注册 或 登录 后发表评论