ReconciliationController.php 714 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. // 财务对帐
  3. namespace app\v1\controller\customer;
  4. use plugin\saiadmin\basic\BaseController;
  5. use app\v1\logic\customer\ReconciliationLogic;
  6. use support\Request;
  7. use support\Response;
  8. class ReconciliationController extends BaseController
  9. {
  10. public function __construct()
  11. {
  12. $this->logic = new ReconciliationLogic();
  13. parent::__construct();
  14. }
  15. // 充值渠道收入;
  16. public function getChannelIncome(Request $request)
  17. {
  18. $where = $request->more([
  19. ['pay_date', ''],
  20. ['game_id', ''],
  21. ['pay_channel_id', ''],
  22. ]);
  23. $result = $this->logic->getChannelIncome($where);
  24. return $this->success($result);
  25. }
  26. // 充值渠道支出
  27. }