新版订单消耗系统

api.php 23KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372
  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. $api = app('Dingo\Api\Routing\Router');
  17. $api->version('v1', function($api) {
  18. /** @var $api Dingo\Api\Routing\Router */
  19. $api->get('/test', function (Request $request) {
  20. return 'Hello, your IP is ' . $request->getClientIp();
  21. });
  22. $api->group(['namespace' => 'App\Http\Controllers\Api', 'middleware' => ['requestLog']], function ($api) {
  23. //登录
  24. $api->post('/login', 'UserController@login');
  25. });
  26. //单个文件上传
  27. $api->post('/fileUpload', 'App\Http\Controllers\Api\OrderController@fileUpload');
  28. $api->get('/orderHistoryExport', 'App\Http\Controllers\Api\OrderController@orderHistoryExport');
  29. // 登录后调用接口
  30. /** @var Dingo\Api\Routing\Router $api */
  31. $api->group(['namespace' => 'App\Http\Controllers\Api', 'middleware' => ['api.login', 'requestLog']], function ($api) {
  32. /*
  33. 修改已经锁单状态订单信息工具
  34. 1.确认修改字段
  35. 2.在对应修改记录表中插入数据
  36. 3.修改原始订单数据(总消耗表以及分表)
  37. */
  38. $api->get('/tool/updateOrderData', 'ToolController@updateOrderData');
  39. /*
  40. 撤销财务审核通过状态结算单工具
  41. 1.查询结算单是否已经开票
  42. 2.若已经开票且标记开票的走发票作废流程,不予手动修改
  43. 3.若发票已申请,但仍未通过,则将发票一并撤销(结算单表,结算单明细表,发票表,发票明细表)
  44. 4.撤销结算单以及发票数据之后将订单对应的状态也一起撤销(分表)
  45. */
  46. $api->get('/tool/deleteStatements', 'ToolController@deleteStatements');
  47. $api->get('/tool/getEditRecords', 'ToolController@getEditRecords');
  48. //登出
  49. $api->post('/loginOut', 'UserController@loginOut');
  50. // 角色管理
  51. $api->get('/permission/rolesList', 'RolePermissionController@rolesList');
  52. $api->get('/permission/routeList', 'RolePermissionController@routeList');
  53. $api->get('/permission/roleRoutes', 'RolePermissionController@roleRoutes');
  54. $api->post('/permission/setRoleRoutes', 'RolePermissionController@setRoleRoutes');
  55. $api->post('/permission/addRole', 'RolePermissionController@addRole');
  56. $api->post('/permission/editRole', 'RolePermissionController@editRole');
  57. $api->post('/permission/delRole', 'RolePermissionController@delRole');
  58. // 权限管理
  59. $api->get('/permission/rolePermissions', 'RolePermissionController@rolePermissions');
  60. $api->post('/permission/addPermission', 'RolePermissionController@addPermission');
  61. $api->post('/permission/editPermission', 'RolePermissionController@editPermission');
  62. $api->get('/permission/getPermission', 'RolePermissionController@getPermissionListByParentId');
  63. $api->post('/permission/delPermission', 'RolePermissionController@delPermission');
  64. $api->post('/permission/changePermissionStatus', 'RolePermissionController@changePermissionStatus');
  65. // 用户管理
  66. $api->get('/user/users', 'UserController@users');
  67. $api->post('/user/addUser', 'UserController@addUser');
  68. $api->post('/user/editUser', 'UserController@editUser');
  69. $api->post('/user/delUser', 'UserController@delUser');
  70. $api->post('/user/resetPassword','UserController@resetPassword');
  71. // 返点比例配置
  72. $api->get('/config/rebateList', 'ConfigController@rebatePercentageConfigList');
  73. $api->post('/config/rebateAdd', 'ConfigController@rebatePercentageConfigStore');
  74. $api->post('/config/rebateEdit', 'ConfigController@rebatePercentageConfigUpdate');
  75. $api->post('/config/rebateDel', 'ConfigController@rebatePercentageConfigDestroy');
  76. // 账户配置
  77. $api->get('/config/accountList', 'ConfigController@accountConfigList');
  78. $api->post('/config/accountAdd', 'ConfigController@accountConfigStore');
  79. $api->post('/config/accountEdit', 'ConfigController@accountConfigUpdate');
  80. $api->post('/config/accountDel', 'ConfigController@accountConfigDestroy');
  81. $api->get('/config/accountSelect', 'ConfigController@accountListSelect');
  82. $api->post('/config/uploadAccount', 'ConfigController@uploadAccount');
  83. //媒体配置
  84. $api->get('/config/mediaList', 'ConfigController@mediaConfigList');
  85. $api->post('/config/mediaAdd', 'ConfigController@mediaConfigStore');
  86. $api->post('/config/mediaEdit', 'ConfigController@mediaConfigUpdate');
  87. $api->post('/config/mediaDel', 'ConfigController@mediaConfigDestroy');
  88. $api->get('/config/mediaListSelect', 'ConfigController@mediaListSelect');
  89. // 平台配置
  90. $api->get('/config/platformList', 'ConfigController@platformConfigList');
  91. $api->post('/config/platformAdd', 'ConfigController@platformConfigStore');
  92. $api->post('/config/platformEdit', 'ConfigController@platformConfigUpdate');
  93. $api->post('/config/platformDel', 'ConfigController@platformConfigDestroy');
  94. // 付款公司配置
  95. $api->get('/config/companyList', 'ConfigController@companyConfigList');
  96. $api->post('/config/companyAdd', 'ConfigController@companyConfigStore');
  97. $api->post('/config/companyEdit', 'ConfigController@companyConfigUpdate');
  98. $api->post('/config/companyDel', 'ConfigController@companyConfigDestroy');
  99. // 客户全称配置
  100. $api->get('/config/customerList', 'ConfigController@customerConfigList');
  101. $api->post('/config/customerAdd', 'ConfigController@customerConfigStore');
  102. $api->post('/config/customerEdit', 'ConfigController@customerConfigEdit');
  103. $api->post('/config/customerDel', 'ConfigController@customerConfigDestroy');
  104. // mcn配置
  105. $api->get('/config/mcnList', 'ConfigController@mcnConfigList');
  106. $api->post('/config/mcnAdd', 'ConfigController@mcnConfigStore');
  107. $api->post('/config/mcnEdit', 'ConfigController@mcnConfigEdit');
  108. $api->post('/config/mcnDel', 'ConfigController@mcnConfigDestroy');
  109. //项目增删改查
  110. $api->get('/project/index', 'ProjectController@index');
  111. $api->get('/project/detail', 'ProjectController@detail');
  112. $api->post('/project/add', 'ProjectController@add');
  113. $api->post('/project/update', 'ProjectController@update');
  114. $api->post('/project/batchDel', 'ProjectController@batchDel');
  115. $api->get('/project/getEditInfo', 'ProjectController@getEditInfo');
  116. //项目订单增删改查
  117. $api->get('/order/projectOrder', 'OrderController@projectOrder');
  118. $api->get('/order/detail', 'OrderController@detail');
  119. $api->post('/order/add', 'OrderController@add');
  120. $api->post('/order/update', 'OrderController@update');
  121. $api->post('/order/batchDel', 'OrderController@batchDel');
  122. $api->get('/order/getEditInfo', 'OrderController@getEditInfo');
  123. $api->post('/order/lockOrder', 'OrderController@lockOrder');
  124. $api->get('/order/columnSearch', 'OrderController@columnSearch');
  125. $api->get('/order/index', 'OrderController@index'); //所有订单列表
  126. $api->get('/order/orderMonthList', 'OrderController@orderMonthList'); //月度消耗表
  127. $api->post('/order/lockMonthOrder', 'OrderController@lockMonthOrder'); //月度消耗表提交财务
  128. //订单修改审核
  129. $api->get('/order/getOrderEditing', 'OrderController@getOrderEditing'); //列表
  130. $api->post('/order/verifyOrderEdit', 'OrderController@verifyOrderEdit'); //审核
  131. $api->post('/order/delVerifyOrder', 'OrderController@delVerifyOrder'); //撤销审核
  132. $api->get('/order/getOrderVeifyRecords', 'OrderController@getOrderVeifyRecords'); //审核记录
  133. $api->get('/order/orderMonthVerifys', 'OrderController@orderMonthVerifys'); //月度审核
  134. //订单模板导出导入
  135. $api->get('/order/orderTemplateExport', 'OrderController@orderTemplateExport'); //模板导出
  136. $api->post('/order/orderImport', 'OrderController@orderImport'); //订单导入
  137. //开票逻辑
  138. $api->get('/order/invoiceList', 'OrderController@invoiceList');
  139. $api->get('/order/invoiceDetail', 'OrderController@invoiceDetail');
  140. $api->post('/order/setInvoice', 'OrderController@setInvoice');
  141. $api->post('/order/editInvoice', 'OrderController@editInvoice');
  142. $api->post('/order/verifyInvoice', 'OrderController@verifyInvoice');
  143. $api->post('/order/actualInvoiced', 'OrderController@actualInvoiced'); //标记已现实开票
  144. $api->post('/order/delActualInvoiced', 'OrderController@delActualInvoiced'); //标记已现实开票
  145. //项目文档管理
  146. $api->get('/document/documentList', 'DocumentController@documentList');
  147. $api->get('/document/documentDetail', 'DocumentController@documentDetail');
  148. $api->post('/document/documentStore', 'DocumentController@documentStore');
  149. $api->post('/document/documentAdd', 'DocumentController@documentAdd');
  150. $api->post('/document/documentMove', 'DocumentController@documentMove');
  151. $api->post('/document/documentRename', 'DocumentController@documentRename');
  152. $api->post('/document/documentDel', 'DocumentController@documentDestroy');
  153. //结算单
  154. $api->post('/statements/add', 'NewStatementsController@add');
  155. $api->get('/statements/detail', 'NewStatementsController@detail');
  156. $api->get('/statements/index', 'NewStatementsController@index');
  157. $api->post('/statements/update', 'NewStatementsController@update');
  158. $api->post('/statements/verify', 'NewStatementsController@verify');
  159. $api->post('/statements/preData', 'NewStatementsController@preData');
  160. $api->post('/statements/setVerify', 'NewStatementsController@setVerify');
  161. $api->post('/statements/delVerify', 'NewStatementsController@delVerify');
  162. $api->post('/statements/pddStatus', 'NewStatementsController@pddStatus');
  163. $api->get('/statements/export', 'NewStatementsController@export');
  164. //批量修改订单最终收入金额
  165. $api->post('/order/batchUpdate', 'OrderController@batchUpdate');
  166. $api->get('/order/getOrderEditingDetail', 'OrderController@getOrderEditingDetail');
  167. $api->get('/order/orderEditingExport', 'OrderController@orderEditingExport');
  168. #报表
  169. $api->get('/stastistics/orderMonthReport', 'StastisticsController@orderMonthReport');
  170. $api->get('/stastistics/profitTrend', 'StastisticsController@profitTrend');
  171. $api->get('/stastistics/salerPerformance', 'StastisticsController@salerPerformance');
  172. $api->get('/stastistics/changeMonthTotal', 'StastisticsController@changeMonthTotal');
  173. $api->post('/order/orderImportSecond', 'NewOrderController@orderImportSecond');#销售上传收入表
  174. $api->get('/order/orderIncomeList', 'NewOrderController@orderIncomeList');#收入表数据列表
  175. $api->post('/order/orderIcomeUpdate', 'NewOrderController@orderIncomeUpdate');#收入表单条数据修改
  176. $api->post('/order/orderIncomeBatchDel', 'NewOrderController@orderIncomeBatchDel');#收入表批量删除
  177. $api->get('/order/orderMcnList', 'NewOrderController@orderMcnList');#mcn表数据列表
  178. $api->post('/order/orderMcnUpdate', 'NewOrderController@orderMcnUpdate');#mcn表单条数据修改
  179. $api->post('/order/orderMcnBatchDel', 'NewOrderController@orderMcnBatchDel');#mcn表批量删除
  180. //成本税率
  181. $api->get('/config/costCompanys', 'OrderCostController@costCompanys'); //成本公司
  182. $api->get('/config/taxRate', 'OrderCostController@taxRate');
  183. $api->post('/config/setTaxRate', 'OrderCostController@setTaxRate');
  184. $api->post('/config/delTaxRate', 'OrderCostController@delTaxRate');
  185. #申请成本开票日期
  186. $api->post('/cost/setCostInvoice', 'OrderCostController@setCostInvoice'); //申请
  187. $api->get('/cost/costInvoiceApplyList', 'OrderCostController@costInvoiceApplyList'); //列表
  188. $api->post('/cost/costApplyVerify', 'OrderCostController@costApplyVerify'); //审核
  189. $api->post('/cost/delCostApply', 'OrderCostController@delCostApply'); //撤销
  190. $api->get('/cost/getOrderListByCondition', 'OrderCostController@getOrderListByCondition');//根据条件获取订单列表
  191. $api->get('/cost/costApplyDownload', 'OrderCostController@costApplyDownload');//下载单个成本开票申请对应的订单明细
  192. $api->post('/cost/getInvoiceTotalAmount', 'OrderCostController@getInvoiceTotalAmount');
  193. $api->get('/cost/getMediaList', 'OrderCostController@getMediaList');// 获取媒体名称列表
  194. //签约公司
  195. $api->get('/config/signCompanyList', 'OrderCostController@signCompanyList');
  196. $api->post('/config/setSignCompany', 'OrderCostController@setSignCompany');
  197. $api->post('/config/delSignCompany', 'OrderCostController@delSignCompany');
  198. #申请线下成本开票日期
  199. $api->post('/cost/setofflineCostInvoice', 'OrderCostController@setOfflineCostInvoice'); //申请
  200. $api->get('/cost/offlineCostInvoiceApplyList', 'OrderCostController@offlineCostInvoiceApplyList'); //列表
  201. $api->post('/cost/offlineCostApplyVerify', 'OrderCostController@offlineCostApplyVerify'); //审核
  202. $api->post('/cost/delOfflineCostApply', 'OrderCostController@delOfflineCostApply'); //撤销
  203. $api->get('/cost/offlineCostApplyDownload', 'OrderCostController@offlineCostApplyDownload');//下载单个成本开票申请对应的订单明细
  204. $api->post('/cost/batchSetRedInvoice', 'NewOrderController@batchSetRedInvoice');
  205. $api->post('/cost/orderImport', 'OrderCostController@orderImport');
  206. $api->get('/cost/costIndex', 'OrderCostController@costIndex');
  207. $api->post('/cost/costUpdate', 'OrderCostController@costUpdate');
  208. $api->post('/cost/costDel', 'OrderCostController@costDel');
  209. $api->get('/orderIndex', 'OrderCostController@orderIndex');
  210. $api->post('/orderUpdate', 'OrderCostController@orderUpdate');
  211. $api->get('/order/negativeIndex', 'OrderCostController@negativeIndex');
  212. $api->get('/cost/offlineIndex', 'OrderCostController@offlineIndex');
  213. $api->post('/cost/offlineUpdate', 'OrderCostController@offlineUpdate');
  214. $api->post('/cost/offlineDel', 'OrderCostController@offlineDel');
  215. $api->post('/order/batchSetNotes', 'OrderCostController@batchSetNotes');
  216. $api->get('/order/incompleteList', 'OrderCostController@incompleteList');
  217. $api->get('/order/allColumnSearch', 'OrderCostController@allColumnSearch');
  218. $api->get('/order/allColumnSearchSecond', 'OrderCostController@allColumnSearchSecond');
  219. $api->get('/orderIndexExport', 'OrderCostController@orderIndexExport');
  220. $api->post('/order/lockMonthOrderSecond', 'NewOrderController@lockMonthOrderSecond'); //月度消耗表提交财务
  221. $api->post('/order/unlockOrder', 'NewOrderController@unlockOrder'); // 解锁 财务退回
  222. $api->post('/order/verifyZeroOrder', 'NewOrderController@verifyZeroOrder'); // 验证是否有零订单
  223. $api->post('/order/deleteZeroOrder', 'NewOrderController@deleteZeroOrder'); // 删除零订单
  224. $api->get('/order/zeroOrderList', 'NewOrderController@zeroOrderList'); // 零订单列表
  225. $api->post('/order/batchVerifyDetail', 'NewOrderController@batchVerifyDetail'); // 批量审核修改记录详细
  226. $api->post('/order/batchVerify', 'NewOrderController@batchVerify'); // 批量审批修改记录
  227. $api->get('/order/getAllMontList', 'NewOrderController@getAllMonthList');
  228. $api->post('/order/importUpdate', 'NewOrderController@importUpdate');
  229. $api->get('/order/enableBatchUpdateField', 'NewOrderController@enableBatchUpdateField');
  230. //签约公司账户配置管理
  231. $api->get('/config/partyBAccountList', 'ConfigController@PartyBAccountList');
  232. $api->post('/config/partyBAccountStore', 'ConfigController@PartyBAccountStore');
  233. $api->post('/config/partyBAccountUpdate', 'ConfigController@PartyBAccountUpdate');
  234. $api->post('/config/partyBAccountDestroy', 'ConfigController@PartyBAccountDestroy');
  235. $api->post('/order/delVerifyOrderSecond', 'NewOrderController@delVerifyOrderSecond');
  236. $api->post('/statementsComplement/add', 'StatementsComplementController@add');
  237. $api->post('/statementsComplement/update', 'StatementsComplementController@update');
  238. $api->get('/statementsComplement/index', 'StatementsComplementController@index');
  239. $api->get('/statementsComplement/detail', 'StatementsComplementController@detail');
  240. $api->post('/statementsComplement/verify', 'StatementsComplementController@verify');
  241. $api->post('/statementsComplement/delVerify', 'StatementsComplementController@delVerify');
  242. $api->post('/customerInvoicesComplement/add', 'CustomerInvoicesComplementController@add');
  243. $api->post('/customerInvoicesComplement/update', 'CustomerInvoicesComplementController@update');
  244. $api->get('/customerInvoicesComplement/index', 'CustomerInvoicesComplementController@index');
  245. $api->get('/customerInvoicesComplement/detail', 'CustomerInvoicesComplementController@detail');
  246. $api->post('/customerInvoicesComplement/verify', 'CustomerInvoicesComplementController@verify');
  247. $api->post('/customerInvoicesComplement/actualInvoiced', 'CustomerInvoicesComplementController@actualInvoiced');
  248. $api->post('/customerInvoicesComplement/delActualInvoiced', 'CustomerInvoicesComplementController@delActualInvoiced');
  249. #3月份之前订单修改录入系统
  250. $api->post('/past/orderImport', 'PastOrderController@orderImport');
  251. $api->post('/past/add', 'PastOrderController@add');
  252. $api->post('/past/update', 'PastOrderController@update');
  253. $api->get('/past/index', 'PastOrderController@index');
  254. $api->post('/past/submitVerify', 'PastOrderController@submitVerify');
  255. $api->post('/past/orderVerify', 'PastOrderController@orderVerify');
  256. $api->post('/past/batchOrderVerify', 'PastOrderController@batchOrderVerify');
  257. $api->post('/past/batchDel', 'PastOrderController@batchDel');
  258. #记账备份信息列表
  259. $api->get('/backup/index', 'OrderBackUpController@index');
  260. $api->get('/backup/export', 'OrderBackUpController@export');
  261. # 导出文件列表
  262. $api->get('/export/index', 'ExportController@index');
  263. # 发票作废申请流程
  264. $api->post('/customerInvoices/voidedOrderAdd', 'CustomerInvoicesController@voidedOrderAdd');
  265. $api->post('/customerInvoices/verifyVoidedInvoice', 'CustomerInvoicesController@verifyVoidedInvoice');
  266. $api->post('/customerInvoices/voidedOrderUpdate', 'CustomerInvoicesController@voidedOrderUpdate');
  267. $api->post('/statements/reApply', 'NewStatementsController@reApply');
  268. # 新版发票驳回撤销
  269. $api->post('/customerInvoices/invoiceCancel', 'CustomerInvoicesController@invoiceCancel');
  270. $api->post('/customerInvoices/editInvoiceNew', 'CustomerInvoicesController@editInvoiceNew');
  271. $api->post('/customerInvoices/invoiceWithdraw', 'CustomerInvoicesController@invoiceWithdraw');
  272. # 申请红票
  273. $api->post('/customerInvoices/redApplyImport', 'CustomerInvoicesController@redApplyImport');
  274. $api->get('/customerInvoices/redApplyOrders', 'CustomerInvoicesController@redApplyOrders');
  275. $api->post('/customerInvoices/redApplyConfirm', 'CustomerInvoicesController@redApplyConfirm');
  276. # 商务助理编辑回款信息(旧版,已废弃)
  277. $api->post('/orderCost/extraUpdate', 'OrderCostController@extraUpdate');
  278. $api->post('/orderCost/orderCollectionDataSave', 'OrderCostController@orderCollectionDataSave');
  279. // 客户全称对应开票信息修改记录展示
  280. $api->get('/config/customerInvoiceInformationUpdateRecordsList', 'ConfigController@customerInvoiceInformationUpdateRecordsList');
  281. // 收入表导入(新版,验证投放数据)
  282. $api->post('/orderIncome/salerOrderImportValidate', 'NewOrderController@salerOrderImportValidate');
  283. $api->post('/orderIncome/salerOrderImportConfirm', 'NewOrderController@salerOrderImportConfirm');
  284. // 出纳提醒商务获取发票
  285. $api->post('/order/reminder', 'OrderController@reminder');
  286. // 红字发票申请列表
  287. $api->get('/customerInvoices/redInvoicesList', 'CustomerInvoicesController@redInvoicesList');
  288. // 红字发票详情
  289. $api->get('/customerInvoices/redInvoicesDetail', 'CustomerInvoicesController@redInvoicesDetail');
  290. // 红字发票审核
  291. $api->post('/customerInvoices/redInvoicesVerify', 'CustomerInvoicesController@redInvoicesVerify');
  292. // 红字发票编辑提交
  293. $api->post('/customerInvoices/redInvoicesEdit', 'CustomerInvoicesController@redInvoiceEdit');
  294. // 第一次批量修改最终返点金额之后的额外修改记录展示
  295. $api->get('/orderExtra/recordList', 'OrderCostController@recordList');
  296. // 批量删除修改记录
  297. $api->post('/orderExtra/batchDel', 'OrderCostController@batchDel');
  298. // 设置预审信息
  299. $api->post('/preAudit/preAuditRecordSave', 'ToolController@preAuditRecordSave');
  300. // 预审信息展示
  301. $api->get('/preAudit/getPreAuditRecord', 'ToolController@getPreAuditRecord');
  302. $api->post('/statementsSeal/apply', 'StatementsSealController@statementsSealApply'); // 结算单盖章申请
  303. $api->get('/statementsSeal/applyList', 'StatementsSealController@statementsSealApplyList'); // 结算单盖章申请列表
  304. $api->get('/statementsSeal/details', 'StatementsSealController@statementsSealDetails'); // 结算单盖章申请详情
  305. $api->get('/statementsSeal/verifyList', 'StatementsSealController@statementsSealVerifyList'); // 结算单盖章审核列表
  306. $api->post('/statementsSeal/verify', 'StatementsSealController@statementsSealVerifyAction'); // 结算单盖章审核
  307. $api->get('/statementsSeal/sealList', 'StatementsSealController@statementsSealList'); // 结算单标记盖章列表
  308. $api->post('/statementsSeal/sealAction', 'StatementsSealController@statementsSealAction'); // 结算单盖章标记或取消标记
  309. $api->post('/statementsSeal/remind', 'StatementsSealController@statementsSealRemind'); // 结算单盖章短信提醒
  310. $api->get('/statementsFile/fileList', 'StatementsSealController@statementsFileList'); // 结算单归档列表
  311. $api->post('/statementsFile/fileAction', 'StatementsSealController@statementsFileAction'); // 结算单归档
  312. $api->get('/statementsFile/detailList', 'StatementsSealController@statementsFileDetailList'); // 结算单归档导出列表
  313. $api->get('/statementsFile/detailExport', 'StatementsSealController@statementsFileDetailExport'); // 结算单归档导出
  314. $api->post('/statementsSeal/del', 'StatementsSealController@statementsSealDel');// 结算单盖章撤销
  315. });
  316. });