From 9a215866fab8df514876b2e9c83b91e51dcc2aa0 Mon Sep 17 00:00:00 2001 From: "WIN-C27C5MSVTPO\\16961" <1696136552@qq.com> Date: Fri, 12 Dec 2025 17:52:29 +0800 Subject: [PATCH] 1 --- app/common/model/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/model/User.php b/app/common/model/User.php index b4c9db3..9f93eca 100644 --- a/app/common/model/User.php +++ b/app/common/model/User.php @@ -40,7 +40,7 @@ class User extends Model /** * 允许自动填充模型字段 */ - protected $fillable = ['id', 'password', 'name', 'email', 'mobile', 'avatar', 'sn', 'status', 'is_release', 'nickname', 'openid', 'unionid', 'latitude', 'longitude', 'shop_name', 'created_at', 'updated_at']; + protected $fillable = ['id', 'password', 'name', 'email', 'mobile', 'avatar', 'sn', 'status', 'is_release', 'nickname', 'openid', 'unionid', 'latitude', 'longitude', 'shop_name', 'location_name', 'created_at', 'updated_at']; /** * 不允许自动填充模型字段