mirror of
https://github.com/rainerosion/DormitoryRepair.git
synced 2026-06-02 18:33:42 +08:00
246 lines
7.6 KiB
PHP
246 lines
7.6 KiB
PHP
<?php
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Mail configs start
|
|
|--------------------------------------------------------------------------
|
|
| $mail_configs['appid']
|
|
| $mail_configs['appkey']
|
|
| $mail_configs['sign_type']
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Mail 应用ID
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
|
|
|
|
$mail_configs['appid']='your_mail_appid';
|
|
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Mail 应用密匙
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
|
|
|
|
$mail_configs['appkey']='your_mail_appkey';
|
|
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Mail 验证模式
|
|
|--------------------------------------------------------------------------
|
|
| md5=md5 签名验证模式(推荐)
|
|
| sha1=sha1 签名验证模式(推荐)
|
|
| normal=密匙明文验证
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
|
|
|
|
$mail_configs['sign_type']='normal';
|
|
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Mail configs end
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| SMS configs start
|
|
|--------------------------------------------------------------------------
|
|
| $message_configs['appid']
|
|
| $message_configs['appkey']
|
|
| $message_configs['sign_type']
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| SMS 应用ID
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
|
|
|
|
$message_configs['appid']='17436';
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| SMS 应用密匙
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
|
|
|
|
|
|
$message_configs['appkey']='';
|
|
|
|
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| SMS 验证模式
|
|
|--------------------------------------------------------------------------
|
|
| md5=md5 签名验证模式(推荐)
|
|
| sha1=sha1 签名验证模式(推荐)
|
|
| normal=密匙明文验证
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
$message_configs['sign_type']='normal';
|
|
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| SMS configs end
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| 国际短信 international SMS 应用ID
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
|
|
|
|
$intersms_configs['appid']='your_internationalsms_appid';
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| 国际短信 Appid 密匙
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
|
|
|
|
|
|
$intersms_configs['appkey']='your_internationalsms_appkey';
|
|
|
|
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| 国际短信 验证模式
|
|
|--------------------------------------------------------------------------
|
|
| md5=md5 签名验证模式(推荐)
|
|
| sha1=sha1 签名验证模式(推荐)
|
|
| normal=密匙明文验证
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
$intersms_configs['sign_type']='normal';
|
|
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| 国际短信 international SMS configs end
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| mobiedata configs start
|
|
|--------------------------------------------------------------------------
|
|
| $mobiedata_configs['appid']
|
|
| $mobiedata_configs['appkey']
|
|
| $mobiedata_configs['sign_type']
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| voice 应用ID
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
|
|
|
|
$mobiledata_configs['appid']='your_mobiedata_appid';
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Message 应用密匙
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
|
|
|
|
|
|
$mobiledata_configs['appkey']='your_mobiedata_appkey';
|
|
|
|
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| voice 验证模式
|
|
|--------------------------------------------------------------------------
|
|
| md5=md5 签名验证模式(推荐)
|
|
| sha1=sha1 签名验证模式(推荐)
|
|
| normal=密匙明文验证
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
$mobiledata_configs['sign_type']='normal';
|
|
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| mobiedata configs end
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| voice configs start
|
|
|--------------------------------------------------------------------------
|
|
| $voice_configs['appid']
|
|
| $voice_configs['appkey']
|
|
| $voice_configs['sign_type']
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| voice 应用ID
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
|
|
|
|
$voice_configs['appid']='your_voice_appid';
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| voice 应用密匙
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
|
|
|
|
|
|
$voice_configs['appkey']='your_voice_appkey';
|
|
|
|
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| voice 验证模式
|
|
|--------------------------------------------------------------------------
|
|
| md5=md5 签名验证模式(推荐)
|
|
| sha1=sha1 签名验证模式(推荐)
|
|
| normal=密匙明文验证
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
$voice_configs['sign_type']='normal';
|
|
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| voice configs end
|
|
|--------------------------------------------------------------------------
|
|
*/
|