| 12345678910111213141516171819202122232425262728293031323334 |
- <?php
- namespace App\Module\Blockchain\Providers;
- use Illuminate\Support\ServiceProvider;
- class BlockchainServiceProvider extends ServiceProvider
- {
- /**
- * 注册服务
- */
- public function register()
- {
- // 合并配置
- $this->mergeConfigFrom(
- __DIR__.'/../Config/blockchain.php', 'blockchain'
- );
- $this->mergeConfigFrom(
- __DIR__.'/../Config/bscscan.php', 'blockchain.bscscan'
- );
- }
- /**
- * 启动服务
- */
- public function boot()
- {
- // 发布配置文件
- }
- }
|