config.php 3.1 KB

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