config.php 3.4 KB
<?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' => '',
                'profile'   => '',
            ),
        'rule'    => 'required',
        'msg'     => '',
        'tip'     => '',
        'ok'      => '',
        'extend'  => '',
    ),
    array(
        'name'    => 'voiceTemplate',
        'title'   => '语音短信模板',
        'type'    => 'array',
        'content' =>
            array(),
        'value'   =>
            array(
                'register'  => '',
                'resetpwd'  => '',
                'changepwd' => '',
                'profile'   => '',
            ),
        'rule'    => 'required',
        'msg'     => '',
        'tip'     => '',
        'ok'      => '',
        'extend'  => '',
    ),
);