route.php 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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/orderexpress', 'Admin/Order/express');
  38. Route::rule('admin/updateOrderPostBatch', 'Admin/Order/updateOrderPostBatch');//量修改订单的物流信息
  39. Route::rule('admin/expresslist', 'Admin/Express/list');
  40. Route::rule('admin/expressquery', 'Admin/Express/qureylist');
  41. Route::rule('admin/expressstatus', 'Admin/Express/status');
  42. Route::rule('admin/stocklist', 'Admin/Stock/StockList');
  43. Route::rule('admin/stocksave', 'Admin/Stock/Save');
  44. Route::rule('admin/stocklog', 'Admin/Stock/StockLog');
  45. Route::rule('admin/versionlist', 'Admin/Version/list');
  46. Route::rule('admin/versionadd', 'Admin/Version/create');
  47. Route::rule('admin/systemlist', 'Admin/System/list');
  48. Route::rule('admin/getmoudel', 'Admin/System/GetMenu');
  49. Route::rule('admin/getaction', 'Admin/System/GetAction');
  50. Route::rule('admin/Video', 'Admin/Stock2/Video');
  51. Route::rule('admin/Create', 'Admin/Stock2/Create');
  52. Route::rule('admin/Delete', 'Admin/Stock2/Delete');
  53. Route::rule('admin/Read', 'Admin/Stock2/Read');
  54. Route::rule("admin/Change", "Admin/Stock2/Change");
  55. Route::rule("admin/Edit", "Admin/Stock2/Edit");
  56. Route::rule('admin/upload', "Admin/Upload/Index");
  57. Route::rule('admin/expire', 'Admin/Expire/update');
  58. Route::rule("home/login", "Home/Login/index");
  59. Route::rule("home/userinfo", "Home/User/info");
  60. Route::rule('home/password', 'Home/Login/passwd');
  61. Route::rule("home/addrlist", "Home/Addr/list");
  62. Route::rule("home/addrinfo", "Home/Addr/Info");
  63. Route::rule("home/addradd", "Home/Addr/Add");
  64. Route::rule("home/addredit", "Home/Addr/Edit");
  65. Route::rule("home/addrdel", "Home/Addr/Delete");
  66. Route::rule("home/orderlist", "Home/Order/list");
  67. Route::rule("home/unitist", "Home/Order/Ist");
  68. Route::rule("home/orderinfo", "Home/Order/info");
  69. Route::rule("home/orderadd", "Home/Order/add");
  70. Route::rule("home/orderstock", "Home/Order/Stock");
  71. Route::rule("home/express", "Home/Order/express");
  72. Route::rule("home/obtainlist", "Home/Vdlist/Obtainlist");
  73. Route::rule("home/preview", "Home/Vdlist/Preview");