config.php 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <?php
  2. return [
  3. [
  4. 'name' => 'open_client',
  5. 'type' => 'checkbox',
  6. 'value' => '',
  7. 'desc' => '开启的第三方',
  8. 'extra' => [
  9. 'qq' => 'QQ',
  10. 'github' => 'GitHub',
  11. 'weibo' => '微博',
  12. 'weixin' => '微信'
  13. ]
  14. ],
  15. [
  16. 'name' => 'qq_client_id',
  17. 'type' => 'text',
  18. 'value' => '',
  19. 'desc' => 'QQ_CLIENT_ID',
  20. ],
  21. [
  22. 'name' => 'qq_client_secret',
  23. 'type' => 'text',
  24. 'value' => '',
  25. 'desc' => 'QQ_CLIENT_SECRET',
  26. ],
  27. [
  28. 'name' => 'github_client_id',
  29. 'type' => 'text',
  30. 'value' => '',
  31. 'desc' => 'GITHUB_CLIENT_ID',
  32. ],
  33. [
  34. 'name' => 'github_client_secret',
  35. 'type' => 'text',
  36. 'value' => '',
  37. 'desc' => 'GITHUB_CLIENT_SECRET',
  38. ],
  39. [
  40. 'name' => 'weibo_client_id',
  41. 'type' => 'text',
  42. 'value' => '',
  43. 'desc' => 'WEIBO_CLIENT_ID',
  44. ],
  45. [
  46. 'name' => 'weibo_client_secret',
  47. 'type' => 'text',
  48. 'value' => '',
  49. 'desc' => 'WEIBO_CLIENT_SECRET',
  50. ],
  51. [
  52. 'name' => 'weixin_client_id',
  53. 'type' => 'text',
  54. 'value' => '',
  55. 'desc' => 'WEIXIN_CLIENT_ID',
  56. ],
  57. [
  58. 'name' => 'weixin_client_secret',
  59. 'type' => 'text',
  60. 'value' => '',
  61. 'desc' => 'WEIXIN_CLIENT_SECRET',
  62. ],
  63. ];