123456789101112131415161718192021222324252627 |
- <?php
- return [
- // HTTP 请求的超时时间(秒)
- 'timeout' => 5.0,
- // 默认发送配置
- 'default' => [
- // 网关调用策略,默认:顺序调用
- 'strategy' => \Overtrue\EasySms\Strategies\OrderStrategy::class,
- // 默认可用的发送网关
- 'gateways' => [
- 'yunpian',
- ],
- ],
- // 可用的网关配置
- 'gateways' => [
- 'errorlog' => [
- 'file' => '/tmp/easy-sms.log',
- ],
- 'yunpian' => [
- 'api_key' => '0c9c87c41aac355520d47d3c84e5a532',
- ],
- ],
- ];
|