config.php 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <?php
  2. return [
  3. array(
  4. 'name' => 'rewardscore',
  5. 'title' => '邀请者奖励积分',
  6. 'type' => 'string',
  7. 'content' =>
  8. array(),
  9. 'value' => '10',
  10. 'rule' => 'required',
  11. 'msg' => '',
  12. 'tip' => '被邀请者注册账号成功后邀请者奖励积分',
  13. 'ok' => '',
  14. 'extend' => '',
  15. ),
  16. array(
  17. 'name' => 'invitedscore',
  18. 'title' => '被邀请者赠送积分',
  19. 'type' => 'string',
  20. 'content' =>
  21. array(),
  22. 'value' => '10',
  23. 'rule' => 'required',
  24. 'msg' => '',
  25. 'tip' => '被邀请者注册账号成功将获得积分',
  26. 'ok' => '',
  27. 'extend' => '',
  28. ),
  29. array(
  30. 'name' => 'dailymaxinvite',
  31. 'title' => '每天邀请限制',
  32. 'type' => 'string',
  33. 'content' =>
  34. array(),
  35. 'value' => '0',
  36. 'rule' => 'required',
  37. 'msg' => '',
  38. 'tip' => '每天邀请的前几名赠送积分,后面的不赠送积分,0为不限制',
  39. 'ok' => '',
  40. 'extend' => '',
  41. ),
  42. array(
  43. 'name' => 'filtermode',
  44. 'title' => '过滤模式',
  45. 'type' => 'select',
  46. 'content' =>
  47. array(
  48. 'basic' => '基础模式(不判断IP)',
  49. 'advanced' => '高级模式(判断已邀请注册的IP,如有相同IP忽略邀请记录)',
  50. ),
  51. 'value' => 'basic',
  52. 'rule' => 'required',
  53. 'msg' => '',
  54. 'tip' => '',
  55. 'ok' => '',
  56. 'extend' => '',
  57. ),
  58. array(
  59. 'name' => 'rewrite',
  60. 'title' => '伪静态',
  61. 'type' => 'array',
  62. 'content' =>
  63. array(),
  64. 'value' =>
  65. array(
  66. 'index/index' => '/invite/[:id]$',
  67. ),
  68. 'rule' => 'required',
  69. 'msg' => '',
  70. 'tip' => '',
  71. 'ok' => '',
  72. 'extend' => '',
  73. ),
  74. ];