app.php 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. <?php
  2. use think\facade\Route;
  3. Route::rule('login', 'admin/Common/login');//登录
  4. Route::rule('logout', 'admin/Common/logout');//登出
  5. Route::rule('upload', 'admin/Common/upload');//上传图片
  6. Route::rule('unitAll', 'admin/Common/unitAll');//获取全部商品单位
  7. Route::rule('getAddr', 'admin/Common/getAddr');//获取省市区地址
  8. //【版本】
  9. Route::rule('version', 'admin/Version/lastVersion');//最新版本
  10. Route::rule('versionList', 'Admin/Version/getList');//版本列表
  11. Route::rule('versionAdd', 'Admin/Version/create');//新建版本
  12. //【菜单】
  13. Route::rule('menuList', 'admin/Menu/list');//获取用户菜单列表
  14. Route::rule('menuAll', 'admin/Menu/all');//获取全部菜单
  15. Route::rule('menuAdd', 'admin/Menu/add');//添加菜单
  16. Route::rule('menuSave', 'admin/Menu/edit');//编辑菜单
  17. Route::rule('menuDel', 'admin/Menu/delete');//删除菜单
  18. Route::rule('menuStatus', 'admin/Menu/status');//启禁用菜单
  19. Route::rule('menuActionAdd', 'admin/Action/add');//给菜单添加按钮
  20. Route::rule('menuAction', 'admin/Action/list');//获取菜单下按钮列表
  21. Route::rule('menuActionStatus', 'admin/Action/status');//菜单下按钮启禁用
  22. Route::rule('menuActionSave', 'admin/Action/edit');//修改菜单下按钮
  23. Route::rule('menuActionDel', 'admin/Action/delete');//删除菜单下按钮
  24. Route::rule('menuActionlist', 'admin/Action/index');//获取所有菜单下的所有按钮
  25. //【角色】
  26. Route::rule('roleList', 'admin/Role/list');//获取角色列表
  27. Route::rule('roleAll', 'admin/Role/all');//获取全部角色
  28. Route::rule('roleAdd', 'admin/Role/add');//添加角色
  29. Route::rule('roleRead', 'admin/Role/read');//获取角色详情
  30. Route::rule('roleEdit', 'admin/Role/edit');//编辑角色
  31. Route::rule('roleDelete', 'admin/Role/delete');//删除角色
  32. Route::rule('roleStatus', 'admin/Role/status');//启禁用角色
  33. //【运营账号】
  34. Route::rule('adminList', 'admin/Admin/list');//获取运营账号列表
  35. Route::rule('adminAdd', 'admin/Admin/add');//添加运营账号
  36. Route::rule('adminRead', 'admin/Admin/read');//获取运营账号详情
  37. Route::rule('adminEdit', 'admin/Admin/edit');//编辑运营账号
  38. Route::rule('adminDelete', 'admin/Admin/delete');//删除运营账号
  39. Route::rule('adminStatus', 'admin/Admin/status');//启禁用运营账号
  40. Route::rule('adminChangePasswod', 'admin/Admin/changePasswod');//更改密码
  41. //【视频】
  42. Route::rule('videoList', 'admin/Video/list');//获取视频列表
  43. Route::rule('videoAdd', 'admin/Video/add');//添加视频
  44. Route::rule('videoRead', 'admin/Video/read');//获取视频详情
  45. Route::rule('videoEdit', 'admin/Video/rdit');//编辑视频
  46. Route::rule('videoChange', 'admin/Video/change');//视频启禁用
  47. Route::rule('videoDelete', 'admin/Video/delete');//删除视频
  48. //【批量设置视频】
  49. Route::rule('videoGroupList', 'admin/VideoGroup/list');//批量设置视频列表
  50. Route::rule('videoGroupAdd', 'admin/VideoGroup/add');//批量设置视频添加
  51. //【卡类型】
  52. Route::rule('cardList', 'admin/Card/list');//获取卡类型列表
  53. Route::rule('cardAll', 'admin/Card/all');//获取全部卡类型
  54. Route::rule('cardAdd', 'admin/Card/add');//添加卡类型
  55. Route::rule('cardRead', 'admin/Card/read');//获取卡类型详情
  56. Route::rule('cardEdit', 'admin/Card/edit');//编辑卡类型
  57. Route::rule('cardChange', 'admin/Card/change');//卡类型启禁用
  58. Route::rule('cardDelete', 'admin/Card/delete');//删除卡类型
  59. //【企业】
  60. Route::rule('companyList', 'admin/Company/list');//获取企业列表
  61. Route::rule('companyAll', 'admin/Company/all');//获取全部企业
  62. Route::rule('companyAdd', 'admin/Company/add');//添加企业
  63. Route::rule('companyRead', 'admin/Company/read');//获取企业详情
  64. Route::rule('companyEdit', 'admin/Company/edit');//编辑企业
  65. Route::rule('companyChange', 'admin/Company/status');//企业启禁用
  66. Route::rule('companyDelete', 'admin/Company/delete');//删除企业
  67. //【企业和卡类型组合】
  68. Route::rule('groupList', 'admin/Group/list');//列表
  69. Route::rule('groupAdd', 'admin/Group/add');//添加
  70. Route::rule('groupRead', 'admin/Group/read');//详情
  71. Route::rule('groupEdit', 'admin/Group/edit');//编辑
  72. Route::rule('groupChange', 'admin/Group/status');//启禁用
  73. Route::rule('groupDelete', 'admin/Group/delete');//删除
  74. //【公司商品】
  75. Route::rule('companyGoodList', 'admin/CompanyGood/list');//列表
  76. Route::rule('companyGoodAdd', 'admin/CompanyGood/add');//添加
  77. Route::rule('companyGoodRead', 'admin/CompanyGood/read');//获取详情
  78. Route::rule('companyGoodEdit', 'admin/CompanyGood/edit');//编辑
  79. Route::rule('companyGoodDelete', 'admin/CompanyGood/delete');//删除
  80. Route::rule('companyGoodStatus', 'admin/CompanyGood/status');//启禁用
  81. Route::rule('companyGoodTop', 'admin/CompanyGood/top');//置顶
  82. //【商品】
  83. Route::rule('goodList', 'admin/Good/list');//获取商品列表
  84. Route::rule('goodAdd', 'admin/Good/add');//添加商品
  85. Route::rule('goodRead', 'admin/Good/read');//获取商品详情
  86. Route::rule('goodEdit', 'admin/Good/edit');//编辑商品
  87. Route::rule('goodChange', 'admin/Good/status');//商品启禁用
  88. Route::rule('goodDelete', 'admin/Good/delete');//删除商品
  89. //【兑换商品库存】
  90. Route::rule('inventoryExchangeList', 'admin/InventoryExchange/list');//获取兑换商品列表
  91. Route::rule('inventoryExchangeAdd', 'admin/InventoryExchange/add');//添加兑换商品库存
  92. Route::rule('inventoryExchangeRead', 'admin/InventoryExchange/read');//获取兑换商品库存详情
  93. Route::rule('inventoryExchangeEdit', 'admin/InventoryExchange/edit');//编辑兑换商品库存
  94. Route::rule('inventoryExchangeLog', 'admin/InventoryExchange/log');//兑换商品库存变动记录
  95. //【商城商品库存】
  96. Route::rule('inventoryShoppingList', 'admin/InventoryShopping/list');//获取商城商品库存列表
  97. Route::rule('inventoryShoppingAdd', 'admin/InventoryShopping/add');//添加商城商品库存
  98. Route::rule('inventoryShoppingRead', 'admin/InventoryShopping/read');//获取商城商品库存详情
  99. Route::rule('inventoryShoppingEdit', 'admin/InventoryShopping/edit');//编辑商城商品库存
  100. Route::rule('inventoryShoppingLog', 'admin/InventoryShopping/log');//商城商品库存变动记录
  101. //【账户】
  102. Route::rule('accoountBatchAdd', 'admin/Account/batchAdd');//批量添加账户
  103. Route::rule('accoountBatchLog', 'admin/Account/batchLog');//获取批量添加账户列表
  104. Route::rule('accoountAdd', 'admin/Account/add');//添加
  105. Route::rule('accoountList', 'admin/Account/list');//列表
  106. Route::rule('accoountRead', 'admin/Account/read');//读取
  107. Route::rule('accoountEdit', 'admin/Account/edit');//修改
  108. Route::rule('accoountDelete', 'admin/Account/delete');//删除
  109. Route::rule('accoountChangePasswod', 'admin/Account/changePasswod');//更改密码
  110. //【服务】
  111. Route::rule('serviceList', 'admin/Service/list');//列表
  112. Route::rule('serviceAdd', 'admin/Service/add');//添加
  113. Route::rule('serviceRead', 'admin/Service/read');//读取
  114. Route::rule('serviceEdit', 'admin/Service/edit');//修改
  115. Route::rule('serviceDelete', 'admin/Service/delete');//删除
  116. Route::rule('serviceStatus', 'admin/Service/status');//上下架
  117. //【订单】
  118. Route::rule('orderList', 'admin/Order/list');//列表
  119. Route::rule('orderRead', 'admin/Order/read');//详情
  120. Route::rule('orderDeliver', 'admin/Order/deliver');//发货
  121. Route::rule('orderExport', 'admin/Order/export');//导出
  122. //【手机主题】
  123. Route::rule('themeList', 'admin/Theme/list');//列表
  124. Route::rule('themeAdd', 'admin/Theme/add');//添加
  125. Route::rule('themeRead', 'admin/Theme/read');//详情
  126. Route::rule('themeEdit', 'admin/Theme/edit');//修改
  127. Route::rule('themeStatus', 'admin/Theme/status');//启禁用
  128. //【物流公司】
  129. Route::rule('expressList', 'admin/Express/list');//列表
  130. Route::rule('expressStatus', 'admin/Express/status');//启禁用