config.php 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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' => '123',
  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' => '123',
  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' => '海南酷娱',
  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. 'default' => '1',
  100. ],
  101. 'rule' => 'required',
  102. 'msg' => '',
  103. 'tip' => '',
  104. 'ok' => '',
  105. 'extend' => '',
  106. ],
  107. [
  108. 'name' => 'voiceTemplate',
  109. 'title' => '语音短信模板',
  110. 'type' => 'array',
  111. 'content' => [],
  112. 'value' => [
  113. 'register' => '',
  114. 'resetpwd' => '',
  115. 'changepwd' => '',
  116. 'profile' => '',
  117. ],
  118. 'rule' => 'required',
  119. 'msg' => '',
  120. 'tip' => '',
  121. 'ok' => '',
  122. 'extend' => '',
  123. ],
  124. ];