system_module.php 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?php
  2. return array
  3. (
  4. 'name' => '系统模块',
  5. 'order' => 'sort asc',
  6. 'struct' => array
  7. (
  8. 'name' => array
  9. (
  10. 'name' => '模块名称',
  11. 'type' => 'varchar(32)',
  12. ),
  13. 'key' => array
  14. (
  15. 'name' => '模块标识',
  16. 'type' => 'varchar(32)',
  17. ),
  18. 'system' => array
  19. (
  20. 'name' => '系统标识',
  21. 'type' => 'varchar(100)',
  22. ),
  23. 'data_table' => array
  24. (
  25. 'name' => '模块下数据表名',
  26. 'type' => 'varchar(100)',
  27. ),
  28. 'data_where' => array
  29. (
  30. 'name' => '模块下数据表的获取数据方式,为空则获取所有',
  31. 'type' => 'varchar(2000)',
  32. ),
  33. 'sort' => array
  34. (
  35. 'name' => '排序',
  36. 'type' => 'int(11)',
  37. ),
  38. ),
  39. 'default' => array
  40. (
  41. 'field' => 'id,name,`key`,system,data_table,sort',
  42. 'value' => array
  43. (
  44. '1,"平台","platform","platform","manage/platform",-1000',
  45. '2,"集团","group","group","manage/group",-900',
  46. ),
  47. 'num' => 1,
  48. ),
  49. );