Eloquent relationship through 2 models

后端 未结 0 1074
野性不改
野性不改 2021-01-21 01:26

I have Post model:

class Post extends Model
{
    use HasFactory;

    protected $fillable = [
        \'category_id\',
        \'user_id\',
        \'img\',
             


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题