ReportInterface.php 486 B

123456789101112131415161718192021
  1. <?php
  2. namespace General\Services\Report;
  3. use General\Models\Report\ReportUserBindRecord;
  4. interface ReportInterface
  5. {
  6. /**
  7. * 上报数据
  8. */
  9. public function report(array $query_params);
  10. /**
  11. * 获取充值数据上报参数
  12. */
  13. public function getChargeQueryParams(ReportUserBindRecord $user, float $amount): array;
  14. /**
  15. * 获取注册数据上报参数
  16. */
  17. public function getRegisterQueryParams(ReportUserBindRecord $user): array;
  18. }