config.php 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. <?php
  2. return array(
  3. array(
  4. 'name' => 'appid',
  5. 'title' => '应用AppID',
  6. 'type' => 'string',
  7. 'content' =>
  8. array(),
  9. 'value' => '',
  10. 'rule' => 'required',
  11. 'msg' => '',
  12. 'tip' => '',
  13. 'ok' => '',
  14. 'extend' => '',
  15. ),
  16. array(
  17. 'name' => 'appkey',
  18. 'title' => '应用AppKEY',
  19. 'type' => 'string',
  20. 'content' =>
  21. array(),
  22. 'value' => '',
  23. 'rule' => 'required',
  24. 'msg' => '',
  25. 'tip' => '',
  26. 'ok' => '',
  27. 'extend' => '',
  28. ),
  29. array(
  30. 'name' => 'voiceAppid',
  31. 'title' => '语音短信AppID',
  32. 'type' => 'string',
  33. 'content' =>
  34. array(),
  35. 'value' => '',
  36. 'rule' => 'required',
  37. 'msg' => '使用语音短信必须设置',
  38. 'tip' => '',
  39. 'ok' => '',
  40. 'extend' => '',
  41. ),
  42. array(
  43. 'name' => 'voiceAppkey',
  44. 'title' => '语音短信AppKEY',
  45. 'type' => 'string',
  46. 'content' =>
  47. array(),
  48. 'value' => '',
  49. 'rule' => 'required',
  50. 'msg' => '使用语音短信必须设置',
  51. 'tip' => '',
  52. 'ok' => '',
  53. 'extend' => '',
  54. ),
  55. array(
  56. 'name' => 'sign',
  57. 'title' => '签名',
  58. 'type' => 'string',
  59. 'content' =>
  60. array(),
  61. 'value' => 'your sign',
  62. 'rule' => 'required',
  63. 'msg' => '',
  64. 'tip' => '',
  65. 'ok' => '',
  66. 'extend' => '',
  67. ),
  68. array(
  69. 'name' => 'isVoice',
  70. 'title' => '是否使用语音短信',
  71. 'type' => 'radio',
  72. 'content' =>
  73. array(
  74. 0 => '否',
  75. 1 => '是',
  76. ),
  77. 'value' => '0',
  78. 'rule' => 'required',
  79. 'msg' => '',
  80. 'tip' => '',
  81. 'ok' => '',
  82. 'extend' => '',
  83. ),
  84. array(
  85. 'name' => 'isTemplateSender',
  86. 'title' => '是否使用短信模板发送',
  87. 'type' => 'radio',
  88. 'content' =>
  89. array(
  90. 0 => '否',
  91. 1 => '是',
  92. ),
  93. 'value' => '1',
  94. 'rule' => 'required',
  95. 'msg' => '',
  96. 'tip' => '',
  97. 'ok' => '',
  98. 'extend' => '',
  99. ),
  100. array(
  101. 'name' => 'template',
  102. 'title' => '短信模板',
  103. 'type' => 'array',
  104. 'content' =>
  105. array(),
  106. 'value' =>
  107. array(
  108. 'register' => '',
  109. 'resetpwd' => '',
  110. 'changepwd' => '',
  111. 'changemobile' => '',
  112. 'profile' => '',
  113. 'notice' => '',
  114. 'mobilelogin' => '',
  115. 'bind' => '',
  116. ),
  117. 'rule' => 'required',
  118. 'msg' => '',
  119. 'tip' => '',
  120. 'ok' => '',
  121. 'extend' => '',
  122. ),
  123. array(
  124. 'name' => 'voiceTemplate',
  125. 'title' => '语音短信模板',
  126. 'type' => 'array',
  127. 'content' =>
  128. array(),
  129. 'value' =>
  130. array(
  131. 'register' => '',
  132. 'resetpwd' => '',
  133. 'changepwd' => '',
  134. 'changemobile' => '',
  135. 'profile' => '',
  136. 'notice' => '',
  137. 'mobilelogin' => '',
  138. 'bind' => '',
  139. ),
  140. 'rule' => 'required',
  141. 'msg' => '',
  142. 'tip' => '',
  143. 'ok' => '',
  144. 'extend' => '',
  145. ),
  146. );