123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- <?php
- return array (
- 0 =>
- array (
- 'name' => 'app_id',
- 'title' => 'app_id',
- 'type' => 'string',
- 'content' =>
- array (
- ),
- 'value' => 'your app_id',
- 'rule' => 'required',
- 'msg' => '',
- 'tip' => '',
- 'ok' => '',
- 'extend' => '',
- ),
- 1 =>
- array (
- 'name' => 'secret',
- 'title' => 'secret',
- 'type' => 'string',
- 'content' =>
- array (
- ),
- 'value' => 'your secret',
- 'rule' => 'required',
- 'msg' => '',
- 'tip' => '',
- 'ok' => '',
- 'extend' => '',
- ),
- 2 =>
- array (
- 'name' => 'token',
- 'title' => 'token',
- 'type' => 'string',
- 'content' =>
- array (
- ),
- 'value' => 'your token',
- 'rule' => 'required',
- 'msg' => '',
- 'tip' => '',
- 'ok' => '',
- 'extend' => '',
- ),
- 3 =>
- array (
- 'name' => 'aes_key',
- 'title' => 'aes_key',
- 'type' => 'string',
- 'content' =>
- array (
- ),
- 'value' => 'your aes_key',
- 'rule' => 'required',
- 'msg' => '',
- 'tip' => '',
- 'ok' => '',
- 'extend' => '',
- ),
- 4 =>
- array (
- 'name' => 'debug',
- 'title' => '调试模式',
- 'type' => 'radio',
- 'content' =>
- array (
- 0 => '否',
- 1 => '是',
- ),
- 'value' => '1',
- 'rule' => 'required',
- 'msg' => '',
- 'tip' => '',
- 'ok' => '',
- 'extend' => '',
- ),
- 5 =>
- array (
- 'name' => 'log_level',
- 'title' => '日志记录等级',
- 'type' => 'select',
- 'content' =>
- array (
- 'debug' => 'debug',
- 'info' => 'info',
- 'notice' => 'notice',
- 'warning' => 'warning',
- 'error' => 'error',
- 'critical' => 'critical',
- 'alert' => 'alert',
- 'emergency' => 'emergency',
- ),
- 'value' => 'debug',
- 'rule' => 'required',
- 'msg' => '',
- 'tip' => '',
- 'ok' => '',
- 'extend' => '',
- ),
- 6 =>
- array (
- 'name' => 'oauth_callback',
- 'title' => '登录回调',
- 'type' => 'string',
- 'content' =>
- array (
- ),
- 'value' => 'http://www.yoursite.com/addons/wechat/index/callback',
- 'rule' => 'required',
- 'msg' => '',
- 'tip' => '',
- 'ok' => '',
- 'extend' => '',
- ),
- );
|