app->runningInConsole()) { $this->publishes([__DIR__.'/../config/config.php' => config_path('yeepay.php')], 'yeepay'); $this->loadMigrationsFrom(__DIR__.'/../database/migrations/'); } } /** * 部署时加载 * @Author: * @Date:2020-11-20T12:30:20+0800 * @return void */ public function register() { $this->mergeConfigFrom(__DIR__.'/../config/config.php', 'yeepay'); } }