app.php 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. <?php
  2. use think\facade\Route;
  3. Route::rule('menu', 'admin/Menu/MenuList');
  4. Route::rule('menuadd', 'admin/Menu/MenuAdd');
  5. Route::rule('menusave', 'admin/Menu/MenuEdit');
  6. Route::rule("menuactionlist","admin/Action/index");
  7. Route::rule("actionadd","admin/Action/ActionAdd");
  8. Route::rule("actiondel","admin/Action/ActionDel");
  9. Route::rule("actionlist","admin/Action/ActionList");
  10. Route::rule("menudel","admin/Menu/MenuDel");
  11. Route::rule("menuactiondel","admin/Menu/ActionDel");
  12. Route::rule('menustatus', 'admin/Menu/MenuStatus');
  13. Route::rule('menuaction', 'admin/Menu/ActionList');
  14. Route::rule('menuactionsave', 'admin/Menu/ActionSave');
  15. Route::rule('menuactionstatus', 'admin/Menu/ActionStatus');
  16. Route::rule('menuactionadd', 'admin/Menu/ActionAdd');
  17. Route::rule("menulist","admin/Menu/MenuAllList");
  18. Route::rule('userlist', 'admin/User/userList');
  19. Route::rule('usersinglelist', 'admin/User/userSingleList');
  20. Route::rule('userall', 'admin/User/userAll');
  21. Route::rule('userinfo', 'admin/User/userInfo');
  22. Route::rule('usersave', 'admin/User/EditUserCompany');
  23. Route::rule('useradd', 'admin/User/usersave');
  24. Route::rule('setrole', 'admin/User/setRole');
  25. Route::rule('setpwd', 'admin/User/setPwd');
  26. Route::rule('setstatus', 'admin/User/setStatus');
  27. Route::rule('setcompanystatus', 'admin/User/setCompanyStatus');
  28. Route::rule('getcompany', 'admin/User/GetCompany');
  29. Route::rule('adminAccountAdd', 'admin/User/adminAccountAdd');
  30. Route::rule('rolelist', 'admin/Role/roleList');
  31. Route::rule('roleall', 'admin/Role/roleAll');
  32. Route::rule('roleinfo', 'admin/Role/roleInfo');
  33. Route::rule('roleadd', 'admin/Role/roleAdd');
  34. Route::rule('rolesave', 'admin/Role/roleSave');
  35. Route::rule('rolestatus', 'admin/Role/roleStatus');
  36. Route::rule('role_process_info', 'admin/Role/roleProcessInfo');//获取角色对应的流程权限id
  37. Route::rule('role_process_detail', 'admin/Role/roleProcessDetail');//获取角色对应的流程权限详情
  38. Route::rule('role_process_save', 'admin/Role/roleProcessSave');//修改角色对应的流程权限
  39. Route::rule('grouplist', 'admin/Group/GroupList');
  40. Route::rule('groupall', 'admin/Group/GroupAll');
  41. Route::rule('groupinfo', 'admin/Group/GroupInfo');
  42. Route::rule('groupadd', 'admin/Group/GroupAdd');
  43. Route::rule('groupsave', 'admin/Group/GroupSave');
  44. Route::rule('groupstatus', 'admin/Group/GroupStatus');
  45. Route::rule("supplierlist","admin/Supplier/SupplierList");
  46. Route::rule("supplierall","admin/Supplier/SupplierAll");
  47. Route::rule("customerlist","admin/Customer/list");
  48. Route::rule("customerinfo","admin/Customer/read");
  49. Route::rule("customer","admin/Customer/info");
  50. Route::rule("invoicelist","admin/Customer/invoice");
  51. Route::rule("involist","admin/Customer/invoicelist");
  52. Route::rule("invoiceadd","admin/Customer/invoiceAdd");
  53. Route::rule("invoicesave","admin/Customer/invoiceSave");
  54. Route::rule("invoicedel","admin/Customer/invoiceDel");
  55. Route::rule("shareadd","admin/Share/create");
  56. Route::rule("sharesave","admin/Share/save");
  57. Route::rule("sharestatus","admin/Share/status");
  58. Route::rule("sharedel","admin/Share/delete");
  59. Route::rule("shareinfo","admin/Share/read");
  60. Route::rule("companyinfo","admin/Company/Info");
  61. Route::rule("companyadd","admin/Company/create");
  62. Route::rule("companysave","admin/Company/save");
  63. Route::rule("companystatus","admin/Company/status");
  64. Route::rule("companylist","admin/Company/list");
  65. Route::rule("companyall","admin/Company/all");
  66. Route::rule("ratelist","admin/Company/RateList");
  67. Route::rule("paylist","admin/Payment/payList");
  68. Route::rule("paymentlist","admin/Payment/paymentList");
  69. Route::rule("payadd","admin/Payment/PayAdd");
  70. Route::rule("paysave","admin/Payment/PaySave");
  71. Route::rule("paystatus","admin/Payment/PayStatus");
  72. Route::rule("paydel","admin/Payment/payDel");
  73. Route::rule("stageadd","admin/Payment/stageAdd");
  74. Route::rule("stagestatus","admin/Payment/stageStatus");
  75. Route::rule("stagedel","admin/Payment/stageDel");
  76. Route::rule("cgdlist","admin/Payment/CgdList");
  77. Route::rule("invadd","admin/Payment/invAdd");
  78. Route::rule("invAddBatchByImport","admin/Payment/invAddBatchByImport");//批量添加发票信息
  79. Route::rule("invstatus","admin/Payment/invStatus");
  80. Route::rule("invlist","admin/Payment/InvList");
  81. Route::rule("invdel","admin/Payment/invDel");
  82. Route::rule("cgdticket","admin/Payment/ticketInfo");
  83. Route::rule("hpbatchimport","admin/Payment/hpBatchImport");
  84. Route::rule("orderinvadd","admin/OrderInv/create");
  85. Route::rule("orderinvstatus","admin/OrderInv/status");
  86. Route::rule("orderinvinfo","admin/OrderInv/info");
  87. Route::rule("invsetpost","admin/OrderInv/SetPost");
  88. Route::rule("invreturnadd","admin/OrderInv/ReturnAdd");
  89. Route::rule("invreturnstatus","admin/OrderInv/ReturnStatus");
  90. Route::rule("invreturnred","admin/OrderInv/returnRed");
  91. Route::rule("orderinvlist","admin/OrderInv/list");
  92. Route::rule("invreturnlist","admin/OrderInv/returnList");
  93. //Route::rule("discard","admin/OrderInv/Discard");
  94. Route::rule("applyred","admin/OrderInv/applyRed");
  95. Route::rule("batchapplyred","admin/OrderInv/batchApplyRed");
  96. Route::rule("redopen","admin/OrderInv/redOpen");
  97. Route::rule("redlist","admin/OrderInv/redList");
  98. Route::rule("orderticket","admin/OrderInv/ticketInfo");
  99. Route::rule("returnredlist","admin/OrderInv/returnRedList");
  100. Route::rule("orderpayadd","admin/OrderPay/create");
  101. Route::rule("orderpaystatus","admin/OrderPay/status");
  102. Route::rule("orderpaylist","admin/OrderPay/list");
  103. Route::rule("tradeList","admin/OrderPay/tradeList");
  104. Route::rule("tradeQuery","admin/OrderPay/tradeQuery");
  105. Route::rule("orderpayreturn","admin/OrderPay/ReturnPay");
  106. Route::rule("orderreturnlist","admin/OrderPay/returnList");
  107. Route::rule("orderreturnstatus","admin/OrderPay/returnStatus");
  108. Route::rule("importTrade","admin/OrderPay/importTradeByArr");
  109. Route::rule('importTradeByBatchOrderCode','admin/OrderPay/importTradeByBatchOrderCode');
  110. Route::rule("index","admin/index/index");
  111. Route::rule("report","admin/Report/index");
  112. Route::rule("reportinfo","admin/Report/info");
  113. Route::rule("orderlist","admin/Sale/list");
  114. Route::rule("orderchage","admin/Sale/status");
  115. Route::rule("uploadimg","admin/Upload/UploadImg");
  116. Route::rule("cgdinfo","admin/Payment/cgdinfo");
  117. Route::rule("payinfo","admin/Payment/PayInfo");
  118. Route::rule("dzinfo","admin/Payment/DzInfo");
  119. Route::rule("hpinfo","admin/Payment/HpInfo");
  120. Route::rule("saleinfo","admin/Sale/saleinfo");
  121. Route::rule("hpinvreturn","admin/Payment/hpinvReturn");
  122. Route::rule("hpinvreturnlist","admin/Payment/hpinvReturnList");
  123. Route::rule("hpinvreturnstatus","admin/Payment/hpinvReturnStatus");
  124. Route::rule("hpinvreturninfo","admin/Payment/hpinvReturnInfo");
  125. Route::rule("stagereturn","admin/Payment/stageReturn");
  126. Route::rule("stagereturnlist","admin/Payment/stageReturnList");
  127. Route::rule("stagereturnstatus","admin/Payment/stageReturnStatus");
  128. Route::rule("stagereturninfo","admin/Payment/stageReturnInfo");
  129. Route::rule("paycgdexport","admin/Payment/payCgdExport");
  130. Route::rule("returninvinfo","admin/OrderInv/returnInfo");
  131. Route::rule("ticketedit","admin/OrderInv/TicketEdit");
  132. Route::rule("tradeloginfo","admin/OrderPay/logInfo");
  133. Route::rule("tradeinfo","admin/OrderPay/tradeInfo");
  134. Route::rule("returnpayinfo","admin/OrderPay/returnInfo");
  135. Route::rule("tagadd","admin/TagGood/create");
  136. Route::rule("taglist","admin/TagGood/list");
  137. Route::rule("tagquery","admin/TagGood/query");
  138. Route::rule("tagstatus","admin/TagGood/status");
  139. Route::rule("tagdel","admin/TagGood/delete");
  140. Route::rule("tagedit","admin/TagGood/save");
  141. Route::rule("addtag","admin/TagGood/AddTag");
  142. Route::rule("goodlist","admin/InvCat/GoodList");
  143. Route::rule("catlist","admin/InvCat/catlist");
  144. Route::rule("catquery","admin/InvCat/query");
  145. Route::rule("addgood","admin/InvCat/AddGood");
  146. Route::rule("goodinfo","admin/InvCat/goodinfo");
  147. Route::rule("addGoodBatch","admin/InvCat/addGoodBatch");//批量设置类目信息
  148. //流程
  149. Route::rule('process_get_list','admin/Process/getList');
  150. Route::rule('process_add','admin/Process/add');
  151. Route::rule('process_read','admin/Process/read');
  152. Route::rule('process_update','admin/Process/update');
  153. //节点
  154. Route::rule('action_process_getlist','admin/ActionProcess/getList');
  155. Route::rule('action_process_add','admin/ActionProcess/add');
  156. Route::rule('action_process_read','admin/ActionProcess/read');
  157. Route::rule('action_process_update','admin/ActionProcess/update');
  158. Route::rule('action_process_all','admin/ActionProcess/getAll');
  159. //用户组
  160. route::rule('getDataGroupList', 'admin/DataGroup/getDataGroupList');//获取用户组列表
  161. route::rule('addDataGroup', 'admin/DataGroup/addDataGroup');//添加用户组
  162. route::rule('getDataGroupDetail', 'admin/DataGroup/getDataGroupDetail');//获取用户组详情
  163. route::rule('editDataGroup', 'admin/DataGroup/editDataGroup');//编辑用户组详情
  164. route::rule('deleteDataGroup', 'admin/DataGroup/deleteDataGroup');//删除用户组
  165. route::rule('statusDataGroup', 'admin/DataGroup/statusDataGroup');//启/禁用用户组
  166. //数据共享
  167. route::rule('getDataShareList', 'admin/DataShare/getDataShareList');//获取数据共享列表
  168. route::rule('addDataShare', 'admin/DataShare/addDataShare');//新建数据共享
  169. route::rule('getDataShareDetail', 'admin/DataShare/getDataShareDetail');//获取数据共享详情
  170. route::rule('editDataShare', 'admin/DataShare/editDataShare');//修改数据共享
  171. route::rule('deleteDataShare', 'admin/DataShare/deleteDataShare');//删除数据共享
  172. route::rule('statusDataShare', 'admin/DataShare/statusDataShare');//启/禁用数据共享
  173. route::rule('login', 'admin/Login/login');//登录接口
  174. route::rule('ticketlist', 'admin/OrderInv/tikcetList');//订单发票查询
  175. route::rule('hpinvlist', 'admin/Payment/hpinvList');//采购单发票查询
  176. route::rule('orderinvdown', 'admin/OrderInv/downorder');//销售单批量开票导出
  177. route::rule('orderinvimport', 'admin/OrderInv/importInv');//销售单批量开票数据导入
  178. route::rule('systemadd', 'admin/System/create');//新建系统版本信息
  179. route::rule('systemlist', 'admin/System/list');//系统版本信息列表
  180. route::rule('systemedit', 'admin/System/save');//系统版本信息编辑
  181. route::rule('systemlast', 'admin/System/GetLast');//最新系统版本信息
  182. route::rule('getrate', 'admin/System/GetRate');//系统商品开票利率
  183. //【导出】
  184. Route::rule('ipe','admin/Export/invoicePoolExport');//销售发票申请信息导出
  185. Route::rule('ile','admin/Export/invListExport');//进项发票等级导出
  186. Route::rule('ope','admin/Export/orderPayExport');//资金认领导出
  187. Route::rule('ole','admin/Export/orderlistExport');//回款核销明细表
  188. Route::rule('ie','admin/Export/invExport');//回票明细表
  189. Route::rule('ae','admin/Export/analysisExport');//经营分析报表
  190. Route::rule('oie','admin/Export/orderInvExport');//收入成本明细表
  191. Route::rule('sbe','admin/Export/standingBookExport');//应收台账表
  192. Route::rule('pie','admin/Export/payInvoiceExport');//用友销票表
  193. Route::rule('pe','admin/Export/payExport');//对账单汇总
  194. Route::rule('cm','admin/Export/cgdManage');//采购单明细表
  195. route::rule("performance","admin/Export/performance");//项目客服部每月业绩
  196. route::rule("productPerformance","admin/Export/productPerformance");//项目客服部每月业绩
  197. route::rule("productTh","admin/Export/productTh");//项目客服部每月业绩
  198. Route::rule('execlist','admin/Exec/list');//脚本列表
  199. Route::rule('execstatus','admin/Exec/status');//脚本使用状态
  200. Route::rule('execadd','admin/Exec/add');//脚本新建
  201. Route::rule('execall','admin/Exec/query');//脚本列表全部
  202. Route::rule('execlogadd','admin/Exec/addlog');//添加脚本执行记录
  203. Route::rule('execloglist','admin/Exec/loglist');//脚本执行记录列表
  204. Route::rule('execlogdel','admin/Exec/logdel');//脚本执行记录删除
  205. Route::rule('execaction','admin/Exec/actionList');//后端已上线脚本
  206. route::rule("interadd","admin/InterOrder/create");//网络部录单
  207. route::rule("interedit","admin/InterOrder/save");//网络部录单
  208. route::rule("interlist","admin/InterOrder/list");//网络部录单列表
  209. route::rule("interinfo","admin/InterOrder/info");//网络部录单详情
  210. route::rule("intercat","admin/InterOrder/getCat");//网络部录单分类
  211. route::rule("stats","admin/Stat/stats");//网络部录单分类
  212. route::rule("departstat","admin/Stat/depart");//网络部录单分类
  213. route::rule("totalstat","admin/Stat/Total");//网络部录单分类