完善石化包
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace XuanChen\Coupon;
|
||||
namespace XuanChen\Sinopec;
|
||||
|
||||
use Illuminate\Support\ServiceProvider as LaravelServiceProvider;
|
||||
|
||||
@@ -14,7 +14,7 @@ class ServiceProvider extends LaravelServiceProvider
|
||||
public function register()
|
||||
{
|
||||
if ($this->app->runningInConsole()) {
|
||||
$this->publishes([__DIR__ . '/../config/xuanchen_coupon.php' => config_path('xuanchen_coupon.php')]);
|
||||
$this->publishes([__DIR__ . '/../config/sinopec.php' => config_path('sinopec.php')]);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ class ServiceProvider extends LaravelServiceProvider
|
||||
*/
|
||||
public function boot()
|
||||
{
|
||||
$this->mergeConfigFrom(__DIR__ . '/../config/xuanchen_coupon.php', 'xuanchen_coupon');
|
||||
$this->mergeConfigFrom(__DIR__ . '/../config/sinopec.php', 'sinopec');
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user