<?php

/*
 * This file is part of the overtrue/laravel-wechat.
 *
 * (c) overtrue <i@overtrue.me>
 *
 * This source file is subject to the MIT license that is bundled
 * with this source code in the file LICENSE.
 */

return [
    // HTTP 请求的超时时间（秒）
    'timeout' => 5.0,

    // 默认发送配置
    'default' => [
        // 网关调用策略，默认：顺序调用
        'strategy' => \Overtrue\EasySms\Strategies\OrderStrategy::class,

        // 默认可用的发送网关
        'gateways' => [
            'qcloud',
        ],
    ],
    // 可用的网关配置
    'gateways' => [
        'errorlog' => [
            'file' => storage_path('logs/easy-sms.log'),
        ],
        'qcloud' => [
            'sdk_app_id' => env('QCLOUD_SDK_APP_ID','1400949784'), // 短信应用的 SDK APP ID
            'secret_id' => env('QCLOUD_SECRET_ID','AKIDGQRIxW3bJxVyHOZgfeYK9qKguvjPsAFC'), // SECRET ID
            'secret_key' => env('QCLOUD_SECRET_KEY','Yu23sWxOk7d0GPPQI1lWDh3FEcs5990f'), // SECRET KEY
            'sign_name' => env('QCLOUD_SIGN_NAME','苗侗同知堂医院'), // 短信签名
        ],
    ],
];
