config.php 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <?php
  2. declare(strict_types=1);
  3. return [
  4. [
  5. 'type' => 'input',
  6. 'title' => '应用市场服务器地址',
  7. 'field' => 'market_server_url',
  8. 'value' => 'https://apix.jd29.com',
  9. 'props' => [
  10. 'placeholder' => '请输入应用市场服务器地址',
  11. ],
  12. '_fc_id' => 'id_Fsfdmeegdfsrafc',
  13. 'name' => 'ref_Fbqmmeegdfsragc',
  14. '_fc_drag_tag' => 'input',
  15. 'display' => true,
  16. 'hidden' => false,
  17. 'info' => '应用市场服务器地址',
  18. ],
  19. [
  20. 'type' => 'input',
  21. 'title' => '应用市场API密钥',
  22. 'field' => 'market_api_key',
  23. 'props' => [
  24. 'placeholder' => '请输入应用市场API密钥',
  25. 'rows' => 4,
  26. 'type' => 'textarea'
  27. ],
  28. '_fc_id' => 'id_Fjjbmeegdfsrabc',
  29. 'name' => 'ref_Fstymeegdfsracc',
  30. '_fc_drag_tag' => 'input',
  31. 'display' => true,
  32. 'hidden' => false,
  33. 'info' => '应用市场API密钥',
  34. ],
  35. [
  36. 'type' => 'switch',
  37. 'field' => 'verify_peer',
  38. 'title' => '验证服务器证书',
  39. 'info' => '是否验证服务器证书',
  40. '$required' => false,
  41. 'props' => [
  42. 'activeValue' => true,
  43. 'inactiveValue' => false
  44. ],
  45. '_fc_id' => 'id_verify_peer',
  46. 'name' => 'ref_verify_peer',
  47. 'display' => true,
  48. 'hidden' => false,
  49. '_fc_drag_tag' => 'switch',
  50. 'value' => true
  51. ],
  52. [
  53. 'type' => 'switch',
  54. 'field' => 'verify_host',
  55. 'title' => '验证主机名',
  56. 'info' => '是否验证证书中的主机名',
  57. '$required' => false,
  58. 'props' => [
  59. 'activeValue' => true,
  60. 'inactiveValue' => false
  61. ],
  62. '_fc_id' => 'id_verify_host',
  63. 'name' => 'ref_verify_host',
  64. 'display' => true,
  65. 'hidden' => false,
  66. '_fc_drag_tag' => 'switch',
  67. 'value' => true
  68. ]
  69. ];