Merge branch 'feature/article' into develop

This commit is contained in:
2025-06-27 13:49:22 +08:00
3 changed files with 12 additions and 0 deletions
+5
View File
@@ -53,4 +53,9 @@ class ArticleModel extends Model
* 不允许自动填充模型字段
*/
protected $guarded = [];
public function creater()
{
return $this->belongsTo(AdminsModel::class, 'user_id','id');
}
}