用户修改,帖子定位

This commit is contained in:
2025-12-12 15:56:47 +08:00
parent b1eb0468c6
commit 858c6422b9
3 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ class User extends Model
/**
* 允许自动填充模型字段
*/
protected $fillable = ['id', 'password', 'name', 'email', 'mobile', 'avatar', 'sn', 'status', 'is_release', 'nickname', 'openid', 'unionid', 'created_at', 'updated_at'];
protected $fillable = ['id', 'password', 'name', 'email', 'mobile', 'avatar', 'sn', 'status', 'is_release', 'nickname', 'openid', 'unionid', 'latitude', 'longitude', 'shop_name', 'created_at', 'updated_at'];
/**
* 不允许自动填充模型字段