控制台应用,yzncms本身基于tp5.1框架,里面的队列用不了,bug,坑
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

config.php 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <?php
  2. /**
  3. * 会员系统,默认配置
  4. */
  5. return [
  6. [
  7. 'name' => 'allowregister',
  8. 'title' => '新会员注册',
  9. 'type' => 'radio',
  10. 'options' => [
  11. 1 => '允许',
  12. 0 => '禁止',
  13. ],
  14. 'value' => 1,
  15. ],
  16. [
  17. 'name' => 'registerverify',
  18. 'title' => '注册审核',
  19. 'type' => 'radio',
  20. 'options' => [
  21. 1 => '是',
  22. 0 => '否',
  23. ],
  24. 'value' => 0,
  25. ],
  26. [
  27. 'name' => 'register_mobile_verify',
  28. 'title' => '注册手机认证',
  29. 'type' => 'radio',
  30. 'options' => [
  31. 1 => '是',
  32. 0 => '否',
  33. ],
  34. 'value' => 0,
  35. ],
  36. [
  37. 'name' => 'register_email_verify',
  38. 'title' => '注册邮箱认证',
  39. 'type' => 'radio',
  40. 'options' => [
  41. 1 => '是',
  42. 0 => '否',
  43. ],
  44. 'value' => 0,
  45. ],
  46. [
  47. 'name' => 'openverification',
  48. 'title' => '登陆验证码',
  49. 'type' => 'radio',
  50. 'options' => [
  51. 1 => '开启',
  52. 0 => '关闭',
  53. ],
  54. 'value' => 1,
  55. ],
  56. [
  57. 'name' => 'password_confirm',
  58. 'title' => '显示密码确认',
  59. 'type' => 'radio',
  60. 'options' => [
  61. 1 => '是',
  62. 0 => '否',
  63. ],
  64. 'value' => 0,
  65. 'tip' => '显示或隐藏注册时候的密码确认',
  66. ],
  67. [
  68. 'name' => 'remove_nickname',
  69. 'title' => '注册不显示昵称',
  70. 'type' => 'radio',
  71. 'options' => [
  72. 1 => '是',
  73. 0 => '否',
  74. ],
  75. 'value' => 0,
  76. ],
  77. [
  78. 'name' => 'user_letter_avatar',
  79. 'title' => '是否启用会员字母头像',
  80. 'type' => 'radio',
  81. 'options' => [
  82. 1 => '是',
  83. 0 => '否',
  84. ],
  85. 'value' => 1,
  86. ],
  87. [
  88. 'name' => 'rmb_point_rate',
  89. 'title' => '1元购买积分',
  90. 'type' => 'text',
  91. 'value' => 10,
  92. ],
  93. [
  94. 'name' => 'defualtpoint',
  95. 'title' => '会员默认积分',
  96. 'type' => 'text',
  97. 'value' => 0,
  98. ],
  99. [
  100. 'name' => 'defualtamount',
  101. 'title' => '会员默认资金',
  102. 'type' => 'text',
  103. 'value' => 0,
  104. ],
  105. ];