Files
CKB-Interface/config/aliyun_sms.php
2026-03-24 10:39:16 +08:00

25 lines
880 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
// 阿里云短信配置文件
return [
// AccessKey ID从阿里云控制台获取
'access_key_id' => env('ALIYUN_SMS_ACCESS_KEY_ID', ''),
// AccessKey Secret从阿里云控制台获取
'access_key_secret' => env('ALIYUN_SMS_ACCESS_KEY_SECRET', ''),
// 短信签名(需要在阿里云控制台申请)
'sign_name' => env('ALIYUN_SMS_SIGN_NAME', 'AI数智员工'),
// 短信模板CODE需要在阿里云控制台申请
// 验证码模板示例:您的验证码是${code}5分钟内有效
'template_code' => env('ALIYUN_SMS_TEMPLATE_CODE', 'SMS_123456789'),
// 短信服务地域默认为cn-hangzhou
'region_id' => env('ALIYUN_SMS_REGION_ID', 'cn-hangzhou'),
// 开发模式true: 不实际发送短信,只记录日志)
'dev_mode' => env('APP_DEBUG', false),
];