FinanceRoutes.php 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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('CHANNEL_DOMAIN'), 'namespace'=>'App\Http\Controllers\Channel\Finance','prefix'=>'api','middleware'=>'ChannelApiAuth'],function () {
  9. Route::group(['middleware'=>'ChannelOperateRecord'],function (){
  10. Route::get('getWithdrawCashStatus','FinanceController@getWithdrawCashStatus');
  11. //添加提现
  12. Route::post('addWithdrawCash','WithdrawCashController@add_withdrawCash');
  13. //获取提现信息列表
  14. Route::get('withdrawCashs','WithdrawCashController@get_list');
  15. //财务对账
  16. Route::get('WithdrawCash/financialCounting','WithdrawCashController@financial_counting');
  17. //财务审核
  18. Route::get('WithdrawCash/financialAudit','WithdrawCashController@financial_audit');
  19. //对账统计数据
  20. Route::get('WithdrawCash/dataStatistics','WithdrawCashController@data_statistics');
  21. //创建打款信息
  22. Route::post('addPayment','PaymentController@add_payment');
  23. //打款列表
  24. Route::get('payments','PaymentController@get_list');
  25. //打款列表详情
  26. Route::get('listPayments','PaymentController@get_listDetail');
  27. //获取提现汇总信息
  28. Route::get('getFinancialStat','FinancialStatController@get_FinancialStatInfo');
  29. //获取账号信息列表
  30. Route::get('financialStats','FinancialStatController@get_FinancialStatListDetail');
  31. //结算明细
  32. Route::get('financialStatSettlementPriceDetail','FinancialStatController@settlement_price_detail');
  33. //账号冻结,与解冻
  34. Route::get('getFinancialConfig','FinancialConfigController@get_frozen');
  35. //变更账号冻结,与解冻
  36. Route::post('changeFinancialConfig','FinancialConfigController@change_frozen');
  37. //佣金结算比例列表
  38. Route::get('commissionRates','CommissionRateController@get_list');
  39. //获取当前渠道当前佣金比例
  40. Route::get('getCommissionRate','CommissionRateController@get_commissionRate');
  41. //添加更新银行账号
  42. Route::post('addCashAccount','CashAccountsController@add_cashAccount');
  43. //获取银行账号
  44. Route::get('getCashAccount','CashAccountsController@get_cashAccount');
  45. //获取修改验证码
  46. Route::get('getCashAccountSms','CashAccountsController@getCashAccountSms');
  47. //获取结算列表
  48. Route::get('bills','BillsController@get_list');
  49. //获取结算列表导出
  50. Route::get('exportBills','BillsController@export');
  51. //获取银行列表
  52. Route::get('banks','BankController@getBankList');
  53. //获取提现账号城市列表
  54. Route::get('cities','WithdrawCashController@cities');
  55. Route::get('OfficialAccountBills/getList','OfficialAccountBills@getList');
  56. });
  57. });