config.php 2.8 KB

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