# 国际短信发送服务配置文件(sendintlmsg) # 用于 sendintlmsg/send_international_sms.py # 说明: # 1. 如果配置项为空,脚本会尝试从环境变量读取(兼容 backend/.env) # 2. 敏感信息(如密码)建议使用环境变量,避免泄露 [aliyun_sms] # 阿里云国际短信服务配置 # access_key_id 和 access_key_secret 如果为空,会从环境变量 ALIBABA_CLOUD_ACCESS_KEY_ID 和 ALIBABA_CLOUD_ACCESS_KEY_SECRET 读取 # 从 sendmsg/send.conf 复制的默认值(如需安全请改为环境变量) access_key_id = LTAI5tQ6iFj9XMSZygRhKL4F access_key_secret = eXEfRLenQfOCLWkj307jv48rBUWNHK # Sender ID(国际短信需要使用已注册的 Sender ID,示例: Lyrria) sender_id = Lyrria # 国际短信模板(完整文本,支持 {code} 占位符) template_message = [Lyrria] Your verification code is {code}. It expires in 5 minutes. Do not share this code with anyone. # API endpoint(新加坡 ap-southeast-1) endpoint = dysmsapi.ap-southeast-1.aliyuncs.com # 短信类型(OTP/NOTIFY/MKT) sms_type = OTP [database] # MySQL 数据库配置(为空时会尝试从环境变量 MYSQL_* 读取) mysql_host = 101.201.60.170 mysql_port = 13306 mysql_user = root mysql_password = Lyrria@Root@123456 mysql_database = Lyrria [service] # 服务配置 # 轮询间隔(秒),准实时发送的检查频率 poll_interval = 1.0