diff --git a/app/Setting/Database/Seeders/setting_crontab.php b/app/Setting/Database/Seeders/setting_crontab.php index 7c3ff5e7..6ffdfddd 100644 --- a/app/Setting/Database/Seeders/setting_crontab.php +++ b/app/Setting/Database/Seeders/setting_crontab.php @@ -22,7 +22,7 @@ use Hyperf\Database\Seeders\Seeder; use Hyperf\DbConnection\Db; -class SettingCrontab extends Seeder +class SettingCrontabSeeder extends Seeder { /** * Run the database seeds. diff --git a/app/System/Model/SystemApi.php b/app/System/Model/SystemApi.php index d46c9964..789ce4ae 100644 --- a/app/System/Model/SystemApi.php +++ b/app/System/Model/SystemApi.php @@ -14,7 +14,7 @@ use Carbon\Carbon; use Hyperf\Database\Model\Relations\BelongsToMany; -use Hyperf\Database\Model\Relations\hasMany; +use Hyperf\Database\Model\Relations\HasMany; use Hyperf\Database\Model\Relations\HasOne; use Hyperf\Database\Model\SoftDeletes; use Mine\MineModel; diff --git a/app/System/Model/SystemApiGroup.php b/app/System/Model/SystemApiGroup.php index a162349d..0481d35e 100644 --- a/app/System/Model/SystemApiGroup.php +++ b/app/System/Model/SystemApiGroup.php @@ -13,7 +13,7 @@ namespace App\System\Model; use Carbon\Carbon; -use Hyperf\Database\Model\Relations\hasMany; +use Hyperf\Database\Model\Relations\HasMany; use Hyperf\Database\Model\SoftDeletes; use Mine\MineModel; diff --git a/config/autoload/databases.php b/config/autoload/databases.php index 8ca5d298..8b2ae62c 100644 --- a/config/autoload/databases.php +++ b/config/autoload/databases.php @@ -1,4 +1,6 @@ [ 'driver' => env('DB_DRIVER', 'mysql'), diff --git a/config/autoload/file.php b/config/autoload/file.php index bb94c088..4eeec9bc 100644 --- a/config/autoload/file.php +++ b/config/autoload/file.php @@ -1,4 +1,6 @@ 'local', 'storage' => [ diff --git a/config/autoload/middlewares.php b/config/autoload/middlewares.php index 02e6382f..77a517b1 100644 --- a/config/autoload/middlewares.php +++ b/config/autoload/middlewares.php @@ -1,4 +1,6 @@ [ CheckModuleMiddleware::class, diff --git a/config/autoload/translatable.php b/config/autoload/translatable.php index bc7c7e3d..baa48079 100644 --- a/config/autoload/translatable.php +++ b/config/autoload/translatable.php @@ -1,4 +1,6 @@