config.php 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. <?php
  2. declare(strict_types=1);
  3. return [[
  4. 'type' => 'input',
  5. 'title' => 'SecretId',
  6. 'field' => 'secret_id',
  7. 'props' => [
  8. 'placeholder' => '请输入腾讯云API密钥SecretId'
  9. ],
  10. '$required' => true,
  11. '_fc_id' => 'id_Fqgfme9rioxkabc',
  12. 'name' => 'ref_Fomwme9rioxkacc',
  13. 'display' => true,
  14. 'hidden' => false,
  15. '_fc_drag_tag' => 'input'
  16. ],
  17. [
  18. 'type' => 'input',
  19. 'title' => 'SecretKey',
  20. 'field' => 'secret_key',
  21. 'props' => [
  22. 'placeholder' => '请输入腾讯云API密钥SecretKey'
  23. ],
  24. '$required' => true,
  25. '_fc_id' => 'id_F06jme9rioxkadc',
  26. 'name' => 'ref_Fn9lme9rioxkaec',
  27. 'display' => true,
  28. 'hidden' => false,
  29. '_fc_drag_tag' => 'input'
  30. ],
  31. [
  32. 'type' => 'input',
  33. 'title' => 'AppId',
  34. 'field' => 'app_id',
  35. 'props' => [
  36. 'placeholder' => '请输入短信应用App ID'
  37. ],
  38. '$required' => true,
  39. '_fc_id' => 'id_Fua8me9rioxkafc',
  40. 'name' => 'ref_Flzlme9rioxkagc',
  41. 'display' => true,
  42. 'hidden' => false,
  43. '_fc_drag_tag' => 'input'
  44. ],
  45. [
  46. 'type' => 'input',
  47. 'title' => 'AppKey',
  48. 'field' => 'app_key',
  49. 'props' => [
  50. 'placeholder' => '请输入短信应用App Key'
  51. ],
  52. '$required' => true,
  53. '_fc_id' => 'id_Fmwkme9rioxkalc',
  54. 'name' => 'ref_Fm8tme9rioxkamc',
  55. 'display' => true,
  56. 'hidden' => false,
  57. '_fc_drag_tag' => 'input'
  58. ],
  59. [
  60. 'type' => 'input',
  61. 'title' => 'SignName',
  62. 'field' => 'sign_name',
  63. 'props' => [
  64. 'placeholder' => '请输入短信签名内容'
  65. ],
  66. '$required' => true,
  67. '_fc_id' => 'id_Fdvume9rioxkahc',
  68. 'name' => 'ref_F7ecme9rioxkaic',
  69. 'display' => true,
  70. 'hidden' => false,
  71. '_fc_drag_tag' => 'input'
  72. ],
  73. [
  74. 'type' => 'group',
  75. 'field' => 'tencent_sms_templates',
  76. 'title' => '腾讯短信模板',
  77. 'props' => [
  78. 'min' => 1,
  79. 'max' => 10,
  80. 'rule' => [[
  81. 'type' => 'input',
  82. 'field' => 'template_id',
  83. 'title' => '模板ID',
  84. 'props' => [
  85. 'placeholder' => '请输入短信模板ID'
  86. ],
  87. 'col' => [
  88. 'span' => 12
  89. ],
  90. '$required' => true,
  91. '_fc_id' => 'id_Ffiamf9en7x5abc',
  92. 'name' => 'ref_F50qmf9en7x5acc',
  93. 'display' => true,
  94. 'hidden' => false,
  95. '_fc_drag_tag' => 'input'
  96. ],
  97. [
  98. 'type' => 'input',
  99. 'field' => 'template_content',
  100. 'title' => '短信内容',
  101. 'props' => [
  102. 'placeholder' => '请输入短信内容',
  103. 'rows' => 3,
  104. 'type' => 'textarea'
  105. ],
  106. 'col' => [
  107. 'span' => 12
  108. ],
  109. '$required' => true,
  110. '_fc_id' => 'id_Fex1mf9en7x5adc',
  111. 'name' => 'ref_Fm5amf9en7x5aec',
  112. 'display' => true,
  113. 'hidden' => false,
  114. '_fc_drag_tag' => 'input'
  115. ]
  116. ]
  117. ],
  118. '_fc_id' => 'id_Fy7kmf9en7x6afc',
  119. 'name' => 'ref_Fd74mf9en7x6agc',
  120. 'display' => true,
  121. 'hidden' => false,
  122. '_fc_drag_tag' => 'group'
  123. ]
  124. ];