阶段性更新,没有实质性的功能

This commit is contained in:
2020-09-28 15:10:02 +08:00
parent 8c81c76aa0
commit 996ed300f5
119 changed files with 2745 additions and 2666 deletions

View File

@@ -0,0 +1,31 @@
<?php
namespace XuanChen\Coupon;
use Illuminate\Support\ServiceProvider as LaravelServiceProvider;
class ServiceProvider extends LaravelServiceProvider
{
/**
* Register services.
* @return void
*/
public function register()
{
if ($this->app->runningInConsole()) {
$this->publishes([__DIR__ . '/../config/xuanchen_coupon.php' => config_path('xuanchen_coupon.php')]);
}
}
/**
* Bootstrap services.
* @return void
*/
public function boot()
{
$this->mergeConfigFrom(__DIR__ . '/../config/xuanchen_coupon.php', 'xuanchen_coupon');
}
}