Files
YwxAppThink/addon/smssend/config.php
T

48 lines
1.6 KiB
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
// +----------------------------------------------------------------------
// | YwxApp [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2026-2036 http://ywxapp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Author: ywxapp<admin@ywxapp.cn>
// +----------------------------------------------------------------------
// 生产版短信插件配置项(后台“插件配置”页数据源;实际值存于统一配置表 wxapp_addon_config
// 默认值仅为占位,请在生产环境替换为自有网关账号与签名。
return [
[
'name' => 'api_url',
'title' => '网关地址',
'type' => 'string',
'value' => 'https://api.smsbao.com/sms',
'tip' => '短信网关 URLGET 方式提交参数)',
],
[
'name' => 'account',
'title' => '网关账号',
'type' => 'string',
'value' => '',
'tip' => '短信平台账号',
],
[
'name' => 'password',
'title' => '网关密码',
'type' => 'string',
'value' => '',
'tip' => '短信平台密码',
],
[
'name' => 'sign',
'title' => '短信签名',
'type' => 'string',
'value' => '示例',
'tip' => '短信内容前缀【签名】',
],
[
'name' => 'template',
'title' => '短信模板',
'type' => 'textarea',
'value' => '您的验证码为:{code},请勿泄露给他人',
'tip' => '支持占位符 {code} 与 {mobile}',
],
];