FinanceRoutes.php 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: tandunzhao
  5. * Date: 2017/11/20
  6. * Time: 上午11:37
  7. */
  8. Route::group(['domain' => env('MANAGE_DOMAIN'), 'namespace' => 'App\Http\Controllers\Manage\Finance', 'prefix' => 'api', 'middleware' => 'ManageApiAuth'], function () {
  9. Route::get('getWithdrawCashStatus', 'FinanceController@getWithdrawCashStatus');
  10. Route::get('getOutChannelOrderData', 'FinanceController@outPayMerchantData');
  11. //添加提现
  12. Route::post('addWithdrawCash', 'WithdrawCashController@add_withdrawCash');
  13. //修改提现状态信息
  14. Route::any('updateWithdrawCash', 'WithdrawCashController@update_withdrawCash');
  15. //获取提现信息列表
  16. Route::get('withdrawCashs', 'WithdrawCashController@get_list');
  17. //财务对账
  18. Route::get('WithdrawCash/financialCounting', 'WithdrawCashController@financial_counting');
  19. //财务对账导出
  20. Route::get('WithdrawCash/financialCountingExport', 'WithdrawCashController@financial_counting_export');
  21. //财务审核
  22. Route::get('WithdrawCash/financialAudit', 'WithdrawCashController@financial_audit');
  23. //财务审核导出
  24. Route::get('WithdrawCash/financialAuditExport', 'WithdrawCashController@financial_audit_export');
  25. //对账统计数据
  26. Route::get('WithdrawCash/dataStatistics', 'WithdrawCashController@data_statistics');
  27. Route::get('testPayment', 'PaymentController@test_add_payment');
  28. //创建打款信息
  29. Route::any('addPayment', 'PaymentController@add_payment');
  30. //创建人工打款信息
  31. Route::any('addPaymentPersonMade', 'PaymentController@add_paymentPersonMade');
  32. //打款列表
  33. Route::get('payments', 'PaymentController@get_list');
  34. //更新打款状态
  35. Route::post('updatePaymentStatus', 'WithdrawCashController@updatePaymentStatus');
  36. //打款列表详情
  37. Route::get('listPayments', 'PaymentController@get_listDetail');
  38. //每天对账统计
  39. Route::get('paymentStaticDay', 'PaymentStatisticController@get_list_day');
  40. //每天对账统计导出
  41. Route::get('paymentStaticDayExport', 'PaymentStatisticController@get_list_day_export');
  42. //获取提现汇总信息
  43. Route::get('getFinancialStat', 'FinancialStatController@get_FinancialStatInfo');
  44. //获取账号信息列表
  45. Route::get('financialStats', 'FinancialStatController@get_FinancialStatListDetail');
  46. //结算明细
  47. Route::get('financialStatSettlementPriceDetail', 'FinancialStatController@settlement_price_detail');
  48. //结算明细导出
  49. Route::get('financialStatSettlementPriceDetailExport', 'FinancialStatController@settlement_price_detail_export');
  50. //账号冻结,与解冻
  51. Route::get('getFinancialConfig', 'FinancialConfigController@get_frozen');
  52. //变更账号冻结,与解冻
  53. Route::post('changeFinancialConfig', 'FinancialConfigController@change_frozen');
  54. //佣金结算比例列表
  55. Route::get('commissionRates', 'CommissionRateController@get_list');
  56. //添加佣金结算比例
  57. Route::post('addCommissionRate', 'CommissionRateController@add_commissionRate');
  58. //修改佣金结算比例
  59. Route::post('changeCommissionRate', 'CommissionRateController@change_commissionRate');
  60. //获取当前渠道当前佣金比例
  61. Route::get('getCommissionRate', 'CommissionRateController@get_commissionRate');
  62. //更新银行账号可编辑
  63. Route::get('updateCashAccountEdit', 'CashAccountsController@update_cashAccountEdit');
  64. //获取结算列表
  65. Route::get('bills', 'BillsController@get_list');
  66. //获取结算列表导出
  67. Route::get('exportBills', 'BillsController@export');
  68. //获取清算汇总列表
  69. Route::get('LiquidatedStat/list', 'LiquidatedStatController@get_list');
  70. //获取清算明细表列表
  71. Route::get('Liquidated/list', 'LiquidationController@get_list');
  72. //获取清算明细表列表导出
  73. Route::get('Liquidated/listExport', 'LiquidationController@get_list_export');
  74. //添加清算支付渠道金额
  75. Route::post('Liquidated/add', 'LiquidationController@add_liquidated');
  76. //添加到账记录
  77. Route::post('addTransformAccountRecord', 'TransformAccountRecordController@add_record');
  78. //获取到账记录
  79. Route::get('getTransformAccountRecord', 'TransformAccountRecordController@get_record');
  80. //导出到账记录
  81. Route::get('exportTransformAccountRecord', 'TransformAccountRecordController@export_record');
  82. //修改到账记录
  83. Route::post('updateTransformAccountRecord', 'TransformAccountRecordController@update_record');
  84. //修改对公打款
  85. Route::post('WithdrawCash/updateWithdrawType', 'WithdrawCashController@updateWithdrawType');
  86. });