route.php 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | ThinkPHP [ WE CAN DO IT JUST THINK ]
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
  6. // +----------------------------------------------------------------------
  7. // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
  8. // +----------------------------------------------------------------------
  9. // | Author: liu21st <liu21st@gmail.com>
  10. // +----------------------------------------------------------------------
  11. use think\Route;
  12. // 注册路由到index模块的News控制器的read操作
  13. Route::rule('admin/login', 'Admin/Login/index');
  14. Route::rule('admin/logout','Admin/Login/logout');
  15. Route::rule('admin/version','Admin/Login/LastVersion');
  16. Route::rule('admin/menulist', 'Admin/Menu/MenuList');
  17. Route::rule('admin/menuadd', 'Admin/Menu/MenuAdd');
  18. Route::rule('admin/menusave', 'Admin/Menu/MenuEdit');
  19. Route::rule('admin/menudel', 'Admin/Menu/MenuDel');
  20. Route::rule('admin/menustatus', 'Admin/Menu/MenuStatus');
  21. Route::rule('admin/menuaction', 'Admin/Menu/ActionMenu');
  22. Route::rule('admin/menuactionsave', 'Admin/Menu/ActionSave');
  23. Route::rule('admin/menuactionstatus', 'Admin/Menu/ActionStatus');
  24. Route::rule('admin/menuactiondel', 'Admin/Menu/ActionDel');
  25. Route::rule('admin/menuactionadd', 'Admin/Menu/ActionAdd');
  26. Route::rule('admin/menuall', 'Admin/Menu/MenuAll');
  27. Route::rule('admin/reset','Admin/User/ResetInfo');
  28. Route::rule('admin/userinfo','Admin/User/UserInfo');
  29. Route::rule('admin/accountinfo','Admin/Account/Read');
  30. Route::rule('admin/accountlist','Admin/Account/List');
  31. Route::rule('admin/accountadd','Admin/Account/Create');
  32. Route::rule('admin/accountsave','Admin/Account/Save');
  33. Route::rule('admin/checkpwd','Admin/Account/checkPwd');
  34. Route::rule('admin/orderlist','Admin/Order/list');
  35. Route::rule('admin/orderdelivery','Admin/Order/OrderDelivery');
  36. Route::rule('admin/orderupload','Admin/Order/uploud');
  37. Route::rule('admin/stocklist','Admin/Stock/StockList');
  38. Route::rule('admin/stocksave','Admin/Stock/Save');
  39. Route::rule('admin/stocklog','Admin/Stock/StockLog');
  40. Route::rule('admin/versionlist','Admin/Version/list');
  41. Route::rule('admin/versionadd','Admin/Version/create');
  42. Route::rule('admin/systemlist','Admin/System/list');
  43. Route::rule('admin/getmoudel','Admin/System/GetMenu');
  44. Route::rule('admin/getaction','Admin/System/GetAction');
  45. Route::rule('admin/Video','Admin/Stock2/Video');
  46. Route::rule('admin/Create','Admin/Stock2/Create');
  47. Route::rule('admin/Delete','Admin/Stock2/Delete');
  48. Route::rule('admin/Read','Admin/Stock2/Read');
  49. Route::rule("admin/Change","Admin/Stock2/Change");
  50. Route::rule("admin/Edit","Admin/Stock2/Edit");
  51. Route::rule('admin/upload',"Admin/Upload/Index");
  52. Route::rule('admin/expire','Admin/Expire/update');
  53. Route::rule("home/login","Home/Login/index");
  54. Route::rule("home/userinfo","Home/User/info");
  55. Route::rule('home/password','Home/Login/passwd');
  56. Route::rule("home/addrlist","Home/Addr/list");
  57. Route::rule("home/addrinfo","Home/Addr/Info");
  58. Route::rule("home/addradd","Home/Addr/Add");
  59. Route::rule("home/addredit","Home/Addr/Edit");
  60. Route::rule("home/addrdel","Home/Addr/Delete");
  61. Route::rule("home/orderlist","Home/Order/list");
  62. Route::rule("home/unitist","Home/Order/Ist");
  63. Route::rule("home/orderinfo","Home/Order/info");
  64. Route::rule("home/orderadd","Home/Order/add");
  65. Route::rule("home/orderstock","Home/Order/Stock");
  66. Route::rule("home/obtainlist","Home/Vdlist/Obtainlist");
  67. Route::rule("home/preview","Home/Vdlist/Preview");