2025-08-01 11:39:06 +08:00

148 lines
3.8 KiB
PHP

<?php
return array(
array(
'name' => 'appid',
'title' => '应用AppID',
'type' => 'string',
'content' =>
array(),
'value' => '',
'rule' => 'required',
'msg' => '',
'tip' => '',
'ok' => '',
'extend' => '',
),
array(
'name' => 'appkey',
'title' => '应用AppKEY',
'type' => 'string',
'content' =>
array(),
'value' => '',
'rule' => 'required',
'msg' => '',
'tip' => '',
'ok' => '',
'extend' => '',
),
array(
'name' => 'voiceAppid',
'title' => '语音短信AppID',
'type' => 'string',
'content' =>
array(),
'value' => '',
'rule' => 'required',
'msg' => '使用语音短信必须设置',
'tip' => '',
'ok' => '',
'extend' => '',
),
array(
'name' => 'voiceAppkey',
'title' => '语音短信AppKEY',
'type' => 'string',
'content' =>
array(),
'value' => '',
'rule' => 'required',
'msg' => '使用语音短信必须设置',
'tip' => '',
'ok' => '',
'extend' => '',
),
array(
'name' => 'sign',
'title' => '签名',
'type' => 'string',
'content' =>
array(),
'value' => 'your sign',
'rule' => 'required',
'msg' => '',
'tip' => '',
'ok' => '',
'extend' => '',
),
array(
'name' => 'isVoice',
'title' => '是否使用语音短信',
'type' => 'radio',
'content' =>
array(
0 => '否',
1 => '是',
),
'value' => '0',
'rule' => 'required',
'msg' => '',
'tip' => '',
'ok' => '',
'extend' => '',
),
array(
'name' => 'isTemplateSender',
'title' => '是否使用短信模板发送',
'type' => 'radio',
'content' =>
array(
0 => '否',
1 => '是',
),
'value' => '1',
'rule' => 'required',
'msg' => '',
'tip' => '',
'ok' => '',
'extend' => '',
),
array(
'name' => 'template',
'title' => '短信模板',
'type' => 'array',
'content' =>
array(),
'value' =>
array(
'register' => '',
'resetpwd' => '',
'changepwd' => '',
'changemobile' => '',
'profile' => '',
'notice' => '',
'mobilelogin' => '',
'bind' => '',
),
'rule' => 'required',
'msg' => '',
'tip' => '',
'ok' => '',
'extend' => '',
),
array(
'name' => 'voiceTemplate',
'title' => '语音短信模板',
'type' => 'array',
'content' =>
array(),
'value' =>
array(
'register' => '',
'resetpwd' => '',
'changepwd' => '',
'changemobile' => '',
'profile' => '',
'notice' => '',
'mobilelogin' => '',
'bind' => '',
),
'rule' => 'required',
'msg' => '',
'tip' => '',
'ok' => '',
'extend' => '',
),
);