config.php 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. <?php
  2. declare(strict_types=1);
  3. return json_decode(<<<'JSON'
  4. [
  5. {
  6. "type": "elCard",
  7. "props": {
  8. "header": "小程序配置"
  9. },
  10. "style": {
  11. "width": "100%"
  12. },
  13. "children": [
  14. {
  15. "type": "input",
  16. "field": "app_id",
  17. "title": "AppID",
  18. "info": "小程序ID",
  19. "$required": true,
  20. "_fc_id": "id_Fhfjme1h84umaic",
  21. "name": "ref_F1w1me1h84umanc",
  22. "display": true,
  23. "hidden": false,
  24. "_fc_drag_tag": "input"
  25. },
  26. {
  27. "type": "input",
  28. "field": "secret",
  29. "title": "Secret",
  30. "info": "小程序密钥",
  31. "$required": true,
  32. "_fc_id": "id_Ff4eme1h84umajc",
  33. "name": "ref_F4e4me1h84umaoc",
  34. "display": true,
  35. "hidden": false,
  36. "_fc_drag_tag": "input"
  37. },
  38. {
  39. "type": "input",
  40. "field": "token",
  41. "title": "Token",
  42. "info": "令牌",
  43. "$required": false,
  44. "_fc_id": "id_Fsvmme1h84umakc",
  45. "name": "ref_Fwpome1h84umapc",
  46. "display": true,
  47. "hidden": false,
  48. "_fc_drag_tag": "input"
  49. },
  50. {
  51. "type": "input",
  52. "field": "aes_key",
  53. "title": "AesKey",
  54. "info": "消息加解密密钥",
  55. "$required": false,
  56. "_fc_id": "id_Fvacme1h84umalc",
  57. "name": "ref_F95lme1h84umaqc",
  58. "display": true,
  59. "hidden": false,
  60. "_fc_drag_tag": "input"
  61. }
  62. ],
  63. "_fc_id": "id_Fcoyme1h84umamc",
  64. "name": "ref_Fjjpme1h84umarc",
  65. "display": true,
  66. "hidden": false,
  67. "_fc_drag_tag": "elCard"
  68. },
  69. {
  70. "type": "elDivider",
  71. "children": [
  72. "合作模式可添加更多小程序配置"
  73. ],
  74. "_fc_id": "id_Fh48me1h9nyiasc",
  75. "name": "ref_Fne0me1h9nyiatc",
  76. "display": true,
  77. "hidden": false,
  78. "_fc_drag_tag": "elDivider"
  79. },
  80. {
  81. "type": "group",
  82. "field": "extend",
  83. "title": "",
  84. "info": "",
  85. "$required": false,
  86. "props": {
  87. "rule": [
  88. {
  89. "type": "elCard",
  90. "props": {
  91. "header": "小程序配置"
  92. },
  93. "style": {
  94. "width": "100%"
  95. },
  96. "children": [
  97. {
  98. "type": "input",
  99. "field": "app_id",
  100. "title": "AppID",
  101. "info": "小程序ID",
  102. "$required": true,
  103. "_fc_id": "id_Feovmcukngjfaec",
  104. "name": "ref_Fgtpmcukngjfafc",
  105. "display": true,
  106. "hidden": false,
  107. "_fc_drag_tag": "input"
  108. },
  109. {
  110. "type": "input",
  111. "field": "secret",
  112. "title": "Secret",
  113. "info": "小程序密钥",
  114. "$required": true,
  115. "_fc_id": "id_F1xzmcuknlkuakc",
  116. "name": "ref_F69cmcuknlkualc",
  117. "display": true,
  118. "hidden": false,
  119. "_fc_drag_tag": "input"
  120. },
  121. {
  122. "type": "input",
  123. "field": "token",
  124. "title": "Token",
  125. "info": "令牌",
  126. "$required": false,
  127. "_fc_id": "id_Fru1mcuknj74ahc",
  128. "name": "ref_Fvm3mcuknj74aic",
  129. "display": true,
  130. "hidden": false,
  131. "_fc_drag_tag": "input"
  132. },
  133. {
  134. "type": "input",
  135. "field": "aes_key",
  136. "title": "AesKey",
  137. "info": "消息加解密密钥",
  138. "$required": false,
  139. "_fc_id": "id_Fsjxmcuknr6ganc",
  140. "name": "ref_F2m8mcuknr6gaoc",
  141. "display": true,
  142. "hidden": false,
  143. "_fc_drag_tag": "input"
  144. }
  145. ],
  146. "_fc_id": "id_F7dzmcukn3xkabc",
  147. "name": "ref_F5jgmcukn3xkacc",
  148. "display": true,
  149. "hidden": false,
  150. "_fc_drag_tag": "elCard"
  151. }
  152. ]
  153. },
  154. "_fc_id": "id_Fd15me1h6josacc",
  155. "name": "ref_Fe53me1h6josadc",
  156. "display": true,
  157. "hidden": false,
  158. "_fc_drag_tag": "group"
  159. }
  160. ]
  161. JSON, true);