config.php 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <?php
  2. declare(strict_types=1);
  3. return json_decode(<<<'JSON'
  4. [
  5. {
  6. "type": "radio",
  7. "field": "driver",
  8. "value": "local",
  9. "title": "驱动",
  10. "info": "存储类型",
  11. "effect": {
  12. "fetch": ""
  13. },
  14. "$required": true,
  15. "options": [
  16. {
  17. "label": "本地",
  18. "value": "local"
  19. }
  20. ],
  21. "_fc_id": "id_Fdcomcoutbvualc",
  22. "name": "ref_Fb80mcotvpt7adc",
  23. "display": true,
  24. "hidden": false,
  25. "_fc_drag_tag": "radio"
  26. },
  27. {
  28. "type": "input",
  29. "field": "root",
  30. "value": "public/uploads",
  31. "title": "root",
  32. "info": "存储根目录",
  33. "$required": true,
  34. "props": {
  35. "type": "text",
  36. "placeholder": "public/uploads"
  37. },
  38. "_fc_id": "id_F4r4mcou0ptzafc",
  39. "name": "ref_Fcm7mcou0ptzagc",
  40. "display": true,
  41. "hidden": false,
  42. "_fc_drag_tag": "input"
  43. },
  44. {
  45. "type": "input",
  46. "field": "url",
  47. "value": "/uploads",
  48. "title": "url",
  49. "info": "访问url",
  50. "$required": true,
  51. "props": {
  52. "type": "text",
  53. "placeholder": "/uploads"
  54. },
  55. "_fc_id": "id_Fizwmcou0rbbaic",
  56. "name": "ref_Fh90mcou0rbbajc",
  57. "display": true,
  58. "hidden": false,
  59. "_fc_drag_tag": "input"
  60. },
  61. {
  62. "type": "input",
  63. "field": "domain",
  64. "value": "https://sixshop.ddev.site",
  65. "title": "domain",
  66. "info": "访问域名"
  67. }
  68. ]
  69. JSON, true);