1
0

提交代码

This commit is contained in:
2020-08-06 14:45:56 +08:00
commit 9d0d5f4be9
361 changed files with 36445 additions and 0 deletions

60
config/rulong_sms.php Normal file
View File

@@ -0,0 +1,60 @@
<?php
return [
// 模拟调试,不会真正发送验证码,验证后也不会失效
'debug' => false,
// HTTP 请求的超时时间(秒)
'timeout' => 5.0,
// 默认发送配置
'default' => [
// 网关调用策略,默认:顺序调用
'strategy' => \Overtrue\EasySms\Strategies\OrderStrategy::class,
// 默认可用的发送网关
'gateways' => [
'aliyun',
],
],
// 验证码长度
'length' => 4,
// 验证后立即失效
'once_used' => true,
// 模板与通道映射
'template' => [
'DEFAULT' => 'SMS_176880415',
'LOGIN' => '',
'BYCODE' => '',
'FORGOT' => 'SMS_176880411',
'BIND' => '',
],
// 可用的网关配置
'gateways' => [
'errorlog' => [
'file' => storage_path('logs/easy-sms.log'),
],
// 阿里云 AccessKeyID
'aliyun' => [
'access_key_id' => 'LTAI4Ff6ts77Jf8oGVknNk1r',
'access_key_secret' => 'sZ8JgJe7XPw6XzuCD3ZI0v3izy83tz',
'sign_name' => '连卡蝠',
],
// 阿里云Rest
'aliyunrest' => [
'app_key' => '',
'app_secret_key' => '',
'sign_name' => '',
],
// 云片
'yunpian' => [
'api_key' => '',
'signature' => '',
],
// ... 具体参数请参考 https://github.com/overtrue/easy-sms/blob/master/README.md
],
];