url.php 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | ThinkCMF [ WE CAN DO IT MORE SIMPLE ]
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2013-2019 http://www.thinkcmf.com All rights reserved.
  6. // +----------------------------------------------------------------------
  7. // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
  8. // +----------------------------------------------------------------------
  9. // | Author: 老猫 <thinkcmf@126.com>
  10. // +----------------------------------------------------------------------
  11. return [
  12. 'List/index' => [
  13. 'name' => '门户应用-文章列表',
  14. 'vars' => [
  15. 'id' => [
  16. 'pattern' => '\d+',
  17. 'require' => true
  18. ]
  19. ],
  20. 'simple' => true
  21. ],
  22. 'Page/index' => [
  23. 'name' => '门户应用-页面页',
  24. 'vars' => [
  25. 'id' => [
  26. 'pattern' => '\d+',
  27. 'require' => true
  28. ]
  29. ],
  30. 'simple' => true
  31. ],
  32. 'Article/index' => [
  33. 'name' => '门户应用-文章页',
  34. 'vars' => [
  35. 'id' => [
  36. 'pattern' => '\d+',
  37. 'require' => true
  38. ],
  39. 'cid' => [
  40. 'pattern' => '\d+',
  41. 'require' => false
  42. ]
  43. ],
  44. 'simple' => true
  45. ],
  46. 'Search/index' => [
  47. 'name' => '门户应用-搜索页',
  48. 'vars' => [
  49. ],
  50. 'simple' => false
  51. ],
  52. ];