config.php 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. <?php
  2. return [
  3. [
  4. 'name' => 'appid',
  5. 'title' => '应用AppID',
  6. 'type' => 'string',
  7. 'content' => [],
  8. 'value' => '1400926714',
  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' => '7adacdc1ef6c7b3cb8ebb2f2a007fab8',
  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' => '-',
  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' => '-',
  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' => '乐见交友App',
  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. 'register' => '2223032',
  100. 'resetpwd' => '2223032',
  101. 'changepwd' => '2223032',
  102. 'profile' => '2223032',
  103. 'editpaypwd' => '2223032',
  104. 'forgetpaypwd' => '2223032',
  105. 'default' => '2223032',
  106. ],
  107. 'rule' => 'required',
  108. 'msg' => '',
  109. 'tip' => '',
  110. 'ok' => '',
  111. 'extend' => '',
  112. ],
  113. [
  114. 'name' => 'voiceTemplate',
  115. 'title' => '语音短信模板',
  116. 'type' => 'array',
  117. 'content' => [],
  118. 'value' => [
  119. 'register' => '-',
  120. 'resetpwd' => '-',
  121. 'changepwd' => '-',
  122. 'profile' => '-',
  123. ],
  124. 'rule' => 'required',
  125. 'msg' => '',
  126. 'tip' => '',
  127. 'ok' => '',
  128. 'extend' => '',
  129. ],
  130. ];