config.php 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <?php
  2. return [
  3. [
  4. 'name' => 'title',
  5. 'title' => '标题',
  6. 'type' => 'string',
  7. 'content' => [
  8. ],
  9. 'value' => '示例标题',
  10. 'rule' => 'required',
  11. 'msg' => '',
  12. 'tip' => '',
  13. 'ok' => '',
  14. 'extend' => ''
  15. ],
  16. [
  17. //配置唯一标识
  18. 'name' => 'theme',
  19. //显示的标题
  20. 'title' => '皮肤',
  21. //类型
  22. 'type' => 'string',
  23. //数据字典
  24. 'content' => [
  25. ],
  26. //值
  27. 'value' => 'default',
  28. //验证规则
  29. 'rule' => 'required',
  30. //错误消息
  31. 'msg' => '',
  32. //提示消息
  33. 'tip' => '',
  34. //成功消息
  35. 'ok' => '',
  36. //扩展信息
  37. 'extend' => ''
  38. ],
  39. [
  40. 'name' => 'domain',
  41. 'title' => '绑定二级域名前缀',
  42. 'type' => 'string',
  43. 'content' => [
  44. ],
  45. 'value' => '',
  46. 'rule' => '',
  47. 'msg' => '',
  48. 'tip' => '',
  49. 'ok' => '',
  50. 'extend' => ''
  51. ],
  52. [
  53. 'name' => 'rewrite',
  54. 'title' => '伪静态',
  55. 'type' => 'array',
  56. 'content' => [],
  57. 'value' => [
  58. 'index/index' => '/example$',
  59. 'demo/index' => '/example/d/[:name]',
  60. 'demo/demo1' => '/example/d1/[:name]',
  61. 'demo/demo2' => '/example/d2/[:name]',
  62. ],
  63. 'rule' => 'required',
  64. 'msg' => '',
  65. 'tip' => '',
  66. 'ok' => '',
  67. 'extend' => ''
  68. ],
  69. ];