完善石化包

This commit is contained in:
2020-10-09 09:54:33 +08:00
parent d0ae80aeff
commit c909b9b1ed
19 changed files with 35 additions and 1092 deletions

View File

@@ -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');
}