最近发表的话题
最近发表的评论
  • Field 'excerpt' doesn't have a default value? at 8个月前

    要在app\Providers\AppServiceProvider中注册

    <?php
    
    namespace App\Providers;
      .
      .
      .
    class AuthServiceProvider extends ServiceProvider
    {
        .
        .
        .
    
        public function boot()
        {
            $this->registerPolicies();
            \App\Models\Topic::observe(\App\Observers\TopicObserver::class);
    
        }
    }