api.php 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395
  1. <?php
  2. use Illuminate\Http\Request;
  3. /*
  4. |--------------------------------------------------------------------------
  5. | API Routes
  6. |--------------------------------------------------------------------------
  7. |
  8. | Here is where you can register API routes for your application. These
  9. | routes are loaded by the RouteServiceProvider within a group which
  10. | is assigned the "api" middleware group. Enjoy building your API!
  11. |
  12. */
  13. Route::middleware('auth:api')->get('/user', function (Request $request) {
  14. return $request->user();
  15. });
  16. Route::any('login', 'Api\LoginController@login');
  17. Route::any('test', 'Api\TestController@aa');
  18. Route::any('getHeaderWord', 'Api\HeaderWordController@getHeaderWord');
  19. //文件获取
  20. Route::any('uploadFiles/{file_name}', 'Api\FileUploadController@getFile');
  21. //获取导出规则
  22. Route::any('getExport/{file_name}','Api\SysMenuController@getExport');
  23. Route::any('show','Api\ConstructionController@show');
  24. Route::group(['middleware'=> ['checkLogin']],function ($route){
  25. //oa
  26. $route->any('oaGetData', 'Api\OaController@oaGetData');
  27. $route->any('getOperationList', 'Api\OperationLogController@getOperationList');
  28. $route->any('createOaOrder', 'Api\OaController@createOaOrder');
  29. $route->any('oaCheck', 'Api\OaController@oaCheck');
  30. $route->any('oaOrderList', 'Api\OaController@oaOrderList');
  31. $route->any('oaList', 'Api\OaController@oaList');
  32. $route->any('oaDel', 'Api\OaController@oaDel');
  33. $route->any('oaEdit', 'Api\OaController@oaEdit');
  34. $route->any('oaDetail', 'Api\OaController@oaDetail');
  35. $route->any('setOperationList', 'Api\OperationLogController@setOperationList');
  36. $route->any('oaOrderState', 'Api\OaController@oaOrderState');
  37. $route->any('oaGetTeamDetail', 'Api\OaController@oaGetTeamDetail');
  38. $route->any('checkAllOver', 'Api\OaController@checkAllOver');
  39. $route->any('oaCheckMove', 'Api\OaController@oaCheckMove');
  40. $route->any('oaSubUserDetail', 'Api\OaController@oaSubUserDetail');
  41. $route->any('oaSubRemark', 'Api\OaController@oaSubRemark');
  42. $route->any('reportList', 'Api\OaController@reportList');
  43. $route->any('reportCount', 'Api\OaController@reportCount');
  44. $route->any('reportCheck', 'Api\OaController@reportCheck');
  45. $route->any('reportTime', 'Api\OaController@reportTime');
  46. //审批流参数
  47. $route->any('oaParamGet','Api\OaController@oaParamGet');
  48. $route->any('getHeaderSetting', 'Api\HeaderWordController@getHeaderSettings');
  49. $route->any('excelExport', 'Api\ExcelController@excelExport');
  50. $route->any('HeaderSettingsAdd', 'Api\HeaderWordController@add');
  51. $route->any('HeaderSettingsDetail', 'Api\HeaderWordController@detail');
  52. //文件上传统一方法
  53. $route->any('uploadFile', 'Api\FileUploadController@uploadFile');
  54. $route->any('menuAdd', 'Api\SysMenuController@add');
  55. $route->any('menuEdit', 'Api\SysMenuController@edit');
  56. $route->any('menuDel', 'Api\SysMenuController@del');
  57. $route->any('menuList', 'Api\SysMenuController@menuList');
  58. $route->any('menuMove', 'Api\SysMenuController@menuMove');
  59. $route->any('employeeAdd', 'Api\EmployeeController@employeeAdd');
  60. $route->any('employeeEdit', 'Api\EmployeeController@employeeEdit');
  61. $route->any('employeeEditOther', 'Api\EmployeeController@employeeEditOther');
  62. $route->any('employeeDel', 'Api\EmployeeController@employeeDel');
  63. $route->any('employeeList', 'Api\EmployeeController@employeeList');
  64. $route->any('departAdd', 'Api\EmployeeController@departAdd');
  65. $route->any('departEdit', 'Api\EmployeeController@departEdit');
  66. $route->any('departDel', 'Api\EmployeeController@departDel');
  67. $route->any('departList', 'Api\EmployeeController@departList');
  68. $route->any('departSetIndex', 'Api\EmployeeController@departSetIndex');
  69. $route->any('roleAdd', 'Api\EmployeeController@roleAdd');
  70. $route->any('roleEdit', 'Api\EmployeeController@roleEdit');
  71. $route->any('roleDel', 'Api\EmployeeController@roleDel');
  72. $route->any('roleList', 'Api\EmployeeController@roleList');
  73. $route->any('roleDetail', 'Api\EmployeeController@roleDetail');
  74. $route->any('roleMenu', 'Api\EmployeeController@roleMenu');
  75. $route->any('teamAdd', 'Api\EmployeeController@teamAdd');
  76. $route->any('teamEdit', 'Api\EmployeeController@teamEdit');
  77. $route->any('teamDel', 'Api\EmployeeController@teamDel');
  78. $route->any('teamList', 'Api\EmployeeController@teamList');
  79. $route->any('teamDetail', 'Api\EmployeeController@teamDetail');
  80. $route->any('getTopMessage', 'Api\EmployeeController@getTopMessage');
  81. $route->any('employeeDepart', 'Api\EmployeeController@employeeDepart');
  82. $route->any('employeeTeam', 'Api\EmployeeController@employeeTeam');
  83. $route->any('employeeRole', 'Api\EmployeeController@employeeRole');
  84. $route->any('employeeEditImg', 'Api\EmployeeController@employeeEditImg')->middleware('OssFileDeal');
  85. $route->any('getEmployeeImg', 'Api\EmployeeController@getEmployeeImg');
  86. //仓库档案
  87. $route->any('storehouseList', 'Api\StorehouseController@storehouseList');
  88. $route->any('storehouseDetail', 'Api\StorehouseController@storehouseDetail');
  89. $route->any('storehouseAdd', 'Api\StorehouseController@add');
  90. $route->any('storehouseEdit', 'Api\StorehouseController@edit');
  91. $route->any('storehouseDel', 'Api\StorehouseController@del');
  92. //单据状态变动
  93. $route->any('checkAll', 'Api\CheckController@checkAll')->middleware('OssFileDeal');
  94. //基础类型
  95. $route->any('basicTypeList', 'Api\BasicTypeController@basicTypeList');
  96. $route->any('basicTypeEdit', 'Api\BasicTypeController@basicTypeEdit');
  97. $route->any('basicTypeAdd', 'Api\BasicTypeController@basicTypeAdd');
  98. $route->any('basicTypeDel', 'Api\BasicTypeController@basicTypeDel');
  99. $route->any('basicTypeCustomerList', 'Api\BasicTypeController@basicTypeCustomerList');
  100. //跟进记录
  101. $route->any('followUpRecordList', 'Api\FollowUpRecordController@followUpRecordList');
  102. $route->any('followUpRecordEdit', 'Api\FollowUpRecordController@followUpRecordEdit')->middleware('OssFileDeal');
  103. $route->any('followUpRecordAdd', 'Api\FollowUpRecordController@followUpRecordAdd')->middleware('OssFileDeal');
  104. $route->any('followUpRecordDetail', 'Api\FollowUpRecordController@followUpRecordDetail');
  105. $route->any('followUpRecordDel', 'Api\FollowUpRecordController@followUpRecordDel')->middleware('OssFileDeal');
  106. $route->any('followUpRecordBatchAdd', 'Api\FollowUpRecordController@followUpRecordBatchAdd')->middleware('OssFileDeal');
  107. //客户
  108. $route->any('customerList', 'Api\CustomerController@customerList');
  109. $route->any('customerCapitalList', 'Api\CustomerController@customerList2');
  110. $route->any('customerRepeatList', 'Api\CustomerController@customerRepeatList');
  111. $route->any('customerEdit', 'Api\CustomerController@customerEdit')->middleware('OssFileDeal');
  112. $route->any('customerAdd', 'Api\CustomerController@customerAdd')->middleware('OssFileDeal');
  113. $route->any('customerDel', 'Api\CustomerController@customerDel')->middleware('OssFileDeal');
  114. $route->any('customerDetail', 'Api\CustomerController@customerDetail');
  115. $route->any('customerGrabbing', 'Api\CustomerController@customerGrabbing');
  116. $route->any('customerImportanceEdit', 'Api\CustomerController@customerImportanceEdit');
  117. $route->any('customerSendWx', 'Api\CustomerController@customerSendWx');
  118. //供应商
  119. $route->any('supplierList', 'Api\SupplierController@customerList');
  120. $route->any('supplierEdit', 'Api\SupplierController@customerEdit');
  121. $route->any('supplierAdd', 'Api\SupplierController@customerAdd');
  122. $route->any('supplierDel', 'Api\SupplierController@customerDel');
  123. $route->any('supplierDetail', 'Api\SupplierController@customerDetail');
  124. //联系人
  125. $route->any('contactsList', 'Api\ContactsController@contactsList');
  126. $route->any('contactsEdit', 'Api\ContactsController@contactsEdit');
  127. $route->any('contactsAdd', 'Api\ContactsController@contactsAdd');
  128. $route->any('contactsDel', 'Api\ContactsController@contactsDel');
  129. $route->any('contactsDetail', 'Api\ContactsController@contactsDetail');
  130. //产品分类
  131. $route->any('setIsEditUnitPrice', 'Api\ProductController@setIsEditUnitPrice');
  132. $route->any('productCategoryList', 'Api\ProductController@productCategoryList');
  133. $route->any('productCategoryEdit', 'Api\ProductController@productCategoryEdit');
  134. $route->any('productCategoryAdd', 'Api\ProductController@productCategoryAdd');
  135. $route->any('productCategoryDel', 'Api\ProductController@productCategoryDel');
  136. $route->any('productCategoryList2', 'Api\ProductController@productCategoryList2');
  137. //产品名称
  138. $route->any('productListIndex', 'Api\ProductController@productListIndex');//列表页
  139. $route->any('productList', 'Api\ProductController@productList');//选择列表页
  140. $route->any('productGroupByList', 'Api\ProductController@productGroupByList');//选择列表页
  141. $route->any('productGroupByListDetail', 'Api\ProductController@productGroupByListDetail');//选择列表页详情
  142. $route->any('productEdit', 'Api\ProductController@productEdit')->middleware('OssFileDeal');
  143. $route->any('productAdd', 'Api\ProductController@productAdd')->middleware('OssFileDeal');
  144. $route->any('productDel', 'Api\ProductController@productDel')->middleware('OssFileDeal');
  145. $route->any('productDetail', 'Api\ProductController@productDetail');
  146. $route->any('productList2', 'Api\ProductController@productList2');
  147. $route->any('batchUploadImg', 'Api\ProductController@batchUploadImg')->middleware('OssFileDeal');
  148. $route->any('batchBuildFee', 'Api\ProductController@batchBuildFee');
  149. $route->any('updateTopStock', 'Api\ProductController@updateTopStock');
  150. $route->any('productUpdateByItemCode', 'Api\ProductController@productUpdateByItemCode');
  151. $route->any('productUpdateProductBasicInfo', 'Api\ProductController@productUpdateProductBasicInfo');
  152. //采购单
  153. $route->any('purchaseOrderList', 'Api\PurchaseOrderController@purchaseOrderList');
  154. $route->any('purchaseOrderEdit', 'Api\PurchaseOrderController@purchaseOrderEdit')->middleware('OssFileDeal');
  155. $route->any('purchaseOrderDetail', 'Api\PurchaseOrderController@purchaseOrderDetail');
  156. $route->any('purchaseOrderAdd', 'Api\PurchaseOrderController@purchaseOrderAdd')->middleware('OssFileDeal');
  157. $route->any('purchaseOrderDel', 'Api\PurchaseOrderController@purchaseOrderDel')->middleware('OssFileDeal');
  158. //特殊采购单
  159. $route->any('purchaseOrderSpecialList', 'Api\PurchaseOrderSpecialController@purchaseOrderList');
  160. $route->any('purchaseOrderSpecialDetail', 'Api\PurchaseOrderSpecialController@purchaseOrderDetail');
  161. $route->any('purchaseOrderSpecialEdit', 'Api\PurchaseOrderSpecialController@purchaseOrderEdit');
  162. $route->any('purchaseOrderSubmit', 'Api\PurchaseOrderSpecialController@purchaseOrderSubmit');
  163. //发货单
  164. $route->any('invoiceOrderList', 'Api\InvoiceOrderController@invoiceOrderList');
  165. $route->any('invoiceOrderEdit', 'Api\InvoiceOrderController@invoiceOrderEdit');
  166. $route->any('invoiceOrderDetail', 'Api\InvoiceOrderController@invoiceOrderDetail');
  167. $route->any('invoiceOrderAdd', 'Api\InvoiceOrderController@invoiceOrderAdd');
  168. $route->any('invoiceOrderDel', 'Api\InvoiceOrderController@invoiceOrderDel');
  169. //出库单
  170. $route->any('outBoundOrderList', 'Api\OutBoundOrderController@getList');
  171. $route->any('outBoundOrderEdit', 'Api\OutBoundOrderController@edit');
  172. $route->any('outBoundOrderDetail', 'Api\OutBoundOrderController@detail');
  173. $route->any('outBoundOrderAdd', 'Api\OutBoundOrderController@add');
  174. $route->any('outBoundOrderDel', 'Api\OutBoundOrderController@del');
  175. $route->any('outBoundGetProduct', 'Api\OutBoundOrderController@outBoundGetProduct');
  176. //收货单
  177. $route->any('takeOrderList', 'Api\TakeOrderController@takeOrderList');
  178. $route->any('takeOrderEdit', 'Api\TakeOrderController@takeOrderEdit');
  179. $route->any('takeOrderDetail', 'Api\TakeOrderController@takeOrderDetail');
  180. $route->any('takeOrderAdd', 'Api\TakeOrderController@takeOrderAdd');
  181. $route->any('takeOrderDel', 'Api\TakeOrderController@takeOrderDel');
  182. //合同
  183. $route->any('batchConfirm', 'Api\SalesOrderController@batchConfirm');
  184. $route->any('salesOrderGet', 'Api\SalesOrderController@salesOrderGet');
  185. $route->any('salesOrderList', 'Api\SalesOrderController@salesOrderList');
  186. $route->any('salesOrderEdit', 'Api\SalesOrderController@salesOrderEdit');
  187. $route->any('salesOrderDetail', 'Api\SalesOrderController@salesOrderDetail');
  188. $route->any('salesOrderAdd', 'Api\SalesOrderController@salesOrderAdd');
  189. $route->any('salesOrderDel', 'Api\SalesOrderController@salesOrderDel');
  190. //派单销售
  191. $route->any('salesOrderDispatchSale', 'Api\SalesOrderController@salesOrderDispatchSale');
  192. //派单总部或分社
  193. $route->any('salesOrderDispatchCompany', 'Api\SalesOrderController@salesOrderDispatchCompany');
  194. $route->any('salesOrderBatchDispatchCompany', 'Api\SalesOrderController@salesOrderBatchDispatchCompany');
  195. $route->any('salesOrderGetBuildFee', 'Api\SalesOrderController@salesOrderGetBuildFee');
  196. $route->any('salesOrderClose', 'Api\SalesOrderController@salesOrderClose');
  197. $route->any('salesClickOut', 'Api\SalesOrderController@salesClickOut');
  198. $route->any('salesOrderPdf', 'Api\SalesOrderController@salesOrderPdf');
  199. //施工单
  200. $route->any('constructionGet', 'Api\ConstructionController@constructionGet');
  201. $route->any('constructionList', 'Api\ConstructionController@constructionList');
  202. $route->any('constructionEdit', 'Api\ConstructionController@constructionEdit')->middleware('OssFileDeal');
  203. $route->any('constructionDetail', 'Api\ConstructionController@constructionDetail');
  204. $route->any('constructionAdd', 'Api\ConstructionController@constructionAdd')->middleware('OssFileDeal');
  205. $route->any('constructionDel', 'Api\ConstructionController@constructionDel')->middleware('OssFileDeal');
  206. $route->any('constructionPdf', 'Api\ConstructionController@constructionPdf');
  207. $route->any('constructionOperation', 'Api\ConstructionController@constructionOperation');
  208. $route->any('constructionEditOther', 'Api\ConstructionController@constructionEditOther');
  209. $route->any('constructionEditSn', 'Api\ConstructionController@constructionEditSn');
  210. //交车单
  211. $route->any('deliveryNoteList', 'Api\ConstructionController@deliveryNoteList');
  212. $route->any('deliveryNoteDetail', 'Api\ConstructionController@deliveryNoteDetail');
  213. $route->any('deliveryNoteEdit', 'Api\ConstructionController@deliveryNoteEdit')->middleware('OssFileDeal');
  214. $route->any('deliveryNoteDel', 'Api\ConstructionController@deliveryNoteDel')->middleware('OssFileDeal');
  215. //退换货
  216. $route->any('ReturnExchangeOrderList', 'Api\ReturnExchangeOrderController@ReturnExchangeOrderList');
  217. $route->any('ReturnExchangeOrderEdit', 'Api\ReturnExchangeOrderController@ReturnExchangeOrderEdit');
  218. $route->any('ReturnExchangeOrderDetail', 'Api\ReturnExchangeOrderController@ReturnExchangeOrderDetail');
  219. $route->any('ReturnExchangeOrderAdd', 'Api\ReturnExchangeOrderController@ReturnExchangeOrderAdd');
  220. $route->any('ReturnExchangeOrderDel', 'Api\ReturnExchangeOrderController@ReturnExchangeOrderDel');
  221. //活动包 组合活动包
  222. $route->any('sportsBagOrderList', 'Api\SportsBagController@orderList');
  223. $route->any('sportsBagEdit', 'Api\SportsBagController@edit');
  224. $route->any('sportsBagDetail', 'Api\SportsBagController@detail');
  225. $route->any('sportsBagAdd', 'Api\SportsBagController@add');
  226. $route->any('sportsBagDel', 'Api\SportsBagController@del');
  227. $route->any('sportsBagSendWx', 'Api\SportsBagController@sportsBagSendWx');
  228. //活动价列表 单品活动包
  229. $route->any('productActivityList', 'Api\ProductActivityController@productList');
  230. $route->any('productActivityEdit', 'Api\ProductActivityController@productEdit');
  231. $route->any('productActivityAdd', 'Api\ProductActivityController@productAdd');
  232. $route->any('productActivityDel', 'Api\ProductActivityController@productDel');
  233. $route->any('productActivityDetail', 'Api\ProductActivityController@productDetail');
  234. //金额记账
  235. $route->any('BookingList', 'Api\BookingListController@customerList');
  236. $route->any('BookingAdd', 'Api\BookingListController@customerAdd');
  237. $route->any('BookingEdit', 'Api\BookingListController@customerEdit');
  238. $route->any('BookingDel', 'Api\BookingListController@customerDel');
  239. $route->any('BookingDetail', 'Api\BookingListController@customerDetail');
  240. $route->any('BookingConfirm', 'Api\BookingListController@customerConfirm');
  241. //收付款
  242. $route->any('paymentReceiptGet', 'Api\PaymentReceiptController@paymentReceiptGet');
  243. $route->any('paymentReceiptList', 'Api\PaymentReceiptController@paymentReceiptList');
  244. $route->any('paymentReceiptAdd', 'Api\PaymentReceiptController@paymentReceiptAdd')->middleware('OssFileDeal');
  245. $route->any('paymentReceiptEdit', 'Api\PaymentReceiptController@paymentReceiptEdit')->middleware('OssFileDeal');
  246. $route->any('paymentReceiptDel', 'Api\PaymentReceiptController@paymentReceiptDel')->middleware('OssFileDeal');
  247. $route->any('paymentReceiptDetail', 'Api\PaymentReceiptController@paymentReceiptDetail');
  248. //盘点单
  249. $route->any('inventoryList', 'Api\InventoryController@inventoryList');
  250. $route->any('inventoryEdit', 'Api\InventoryController@inventoryEdit');
  251. $route->any('inventoryDetail', 'Api\InventoryController@inventoryDetail');
  252. $route->any('inventoryAdd', 'Api\InventoryController@inventoryAdd');
  253. $route->any('inventoryDel', 'Api\InventoryController@inventoryDel');
  254. //产品金额调整单
  255. $route->any('productAdjustmentList', 'Api\ProductAdjustmentController@productAdjustmentList');
  256. $route->any('productAdjustmentEdit', 'Api\ProductAdjustmentController@productAdjustmentEdit');
  257. $route->any('productAdjustmentDetail', 'Api\ProductAdjustmentController@productAdjustmentDetail');
  258. $route->any('productAdjustmentAdd', 'Api\ProductAdjustmentController@productAdjustmentAdd');
  259. $route->any('productAdjustmentDel', 'Api\ProductAdjustmentController@productAdjustmentDel');
  260. //排班设置
  261. $route->any('scheduleList', 'Api\ScheduleController@getList');
  262. $route->any('scheduleEdit', 'Api\ScheduleController@edit');
  263. $route->any('scheduleDetail', 'Api\ScheduleController@detail');
  264. $route->any('scheduleAdd', 'Api\ScheduleController@add');
  265. $route->any('scheduleDel', 'Api\ScheduleController@del');
  266. $route->any('scheduleGetForConstruction', 'Api\ScheduleController@scheduleGetForConstruction');
  267. $route->any('getScheduleSetting', 'Api\ScheduleController@getScheduleSetting');
  268. $route->any('getSettingTotal', 'Api\ScheduleController@getSettingTotal');
  269. $route->any('getSettingGetDetail', 'Api\ScheduleController@getSettingGetDetail');
  270. $route->any('getSettingTotal2', 'Api\ScheduleController@getSettingTotal2');
  271. $route->any('getSettingGetDetail2', 'Api\ScheduleController@getSettingGetDetail2');
  272. //现存量
  273. $route->any('productInventoryList', 'Api\ProductInventoryController@productInventoryList');
  274. //库存台账
  275. $route->any('productInventoryStockList', 'Api\ProductInventoryController@productInventoryStockList');
  276. //收发存汇总
  277. $route->any('productInAndOutList', 'Api\ProductInventoryController@productInAndOutList');
  278. //设置列表
  279. $route->any('productInventorySetList', 'Api\ProductInventoryController@productInventorySetList');
  280. $route->any('getMySetting', 'Api\ProductInventoryController@getMySetting');
  281. //统计
  282. $route->any('statisticsBt', 'Api\StatisticsController@statisticsBt');
  283. $route->any('statisticsJc', 'Api\StatisticsController@statisticsJc');
  284. $route->any('statisticsProvince', 'Api\StatisticsController@statisticsProvince');
  285. $route->any('statisticsArea', 'Api\StatisticsController@statisticsArea');
  286. $route->any('statisticsAreaDepart', 'Api\StatisticsController@statisticsAreaDepart');
  287. $route->any('statisticsAreaDepartProduct', 'Api\StatisticsController@statisticsAreaDepartProduct');
  288. $route->any('statisticsCustomer', 'Api\StatisticsController@statisticsCustomer');
  289. $route->any('statisticsModelTypeOne', 'Api\StatisticsController@statisticsModelTypeOne');
  290. $route->any('statisticsModelTypeFour', 'Api\StatisticsController@statisticsModelTypeFour');
  291. //设置开关
  292. $route->any('productInventorySet', 'Api\ProductInventoryController@productInventorySet');
  293. //可见范围
  294. $route->any('seeRange', 'Api\RangeController@seeRange');
  295. //删除人
  296. $route->any('getMan','Api\DeleteController@getMan');
  297. $route->any('delMan','Api\DeleteController@delete');
  298. //移交 分配
  299. $route->any('fpMan','Api\DeleteController@fp');
  300. $route->any('yjMan','Api\DeleteController@yj');
  301. //排期
  302. $route->any('pq','Api\DeleteController@pq');
  303. //导入
  304. $route->any('import','Api\ImportController@import');
  305. //保存规则
  306. $route->any('menuExport','Api\SysMenuController@menuExport');
  307. //获取默认表头
  308. $route->any('getTableHead','Api\TableHeadController@tableHeadGet');
  309. //设置表头
  310. $route->any('setTableHead','Api\TableHeadController@tableHeadAdd');
  311. //获取设置搜索项
  312. $route->any('getTableSearch','Api\TableHeadController@tableSearchGet');
  313. //设置搜索项
  314. $route->any('setTableSearch','Api\TableHeadController@tableSearchAdd');
  315. //获取默认打开筛选
  316. $route->any('getFilter','Api\TableHeadController@filterGet');
  317. //设置默认打开筛选
  318. $route->any('setFilter','Api\TableHeadController@filterAdd');
  319. //获取审核单据的详情
  320. $route->any('checkDetail', 'Api\CheckController@getOrderDetail');
  321. //数据同步到U8
  322. $route->any('dataToU8','Api\DataSyncToU8Controller@add');
  323. //u8获取sn码
  324. $route->any('snListAccording','Api\DataSyncToU8Controller@snListAccording');
  325. $route->any('getSnFromU8','Api\DataSyncToU8Controller@getSnFromU8');
  326. //TSpace首页设置
  327. $route->any('tSpaceEdit', 'Api\TSpaceController@edit')->middleware('OssFileDeal');
  328. $route->any('tSpaceDetail', 'Api\TSpaceController@detail');
  329. //生成质保信息
  330. $route->any('warrantyAdd', 'Api\TSpaceController@warrantyAdd');
  331. //获取下载模板
  332. $route->any('getTableTitleXls','Api\ImportController@getTableTitleXls');
  333. //导入
  334. $route->any('importAll','Api\ImportController@importAll');
  335. //导出统一方法
  336. $route->any('exportFile', 'Api\ExportFileController@exportFile');
  337. //抖店
  338. $route->any('douShopOrderList', 'Api\DouShopController@douShopOrderList');
  339. $route->any('douShopOrderDetail', 'Api\DouShopController@douShopOrderDetail');
  340. $route->any('insertDouOrder', 'Api\DouShopController@insertDouOrder');
  341. });