智慧教务系统 PHP-NiuCloud框架开发
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

36 lines
1.2 KiB

<?php
// +----------------------------------------------------------------------
// | Niucloud-admin 企业快速开发的多应用管理平台
// +----------------------------------------------------------------------
// | 官方网址:https://www.niucloud.com
// +----------------------------------------------------------------------
// | niucloud团队 版权所有 开源版本可自由商用
// +----------------------------------------------------------------------
// | Author: Niucloud Team
// +----------------------------------------------------------------------
use core\dict\DictLoader;
$system = [
//默认驱动
'default' => 'aliyun',
//驱动厂商列表及参数-短信
'drivers' => [
//阿里云
'aliyun' => [
'driver' => 'core\sms\Aliyun', //反射类的名字
'app_key' => '',
'secret_key' => '',
'sign' => '',
],
//腾讯云
'tencent' => [
'secret_id' => '',
'secret_key' => '',
'sign' => '',
'app_id' => '',
]
]
];
return (new DictLoader("Config"))->load(['data' => $system, 'name' => 'sms']);