This commit is contained in:
2026-01-16 14:29:48 +08:00
parent 00787bebfe
commit 1f3d66c58e
7 changed files with 19 additions and 1482 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ class User extends Model
/**
* 允许自动填充模型字段
*/
protected $fillable = ['id', 'union_id', 'app_id', 'name', 'avatar', 'phone', 'email', 'whatsapp', 'social', 'social_code'];
protected $fillable = ['id', 'union_id', 'app_id', 'name', 'avatar', 'phone', 'email', 'whatsapp', 'social', 'social_code', 'status', 'role'];
/**
* 不允许自动填充模型字段