PayLog.php 638 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * Author: 芸众商城 www.yunzshop.com
  5. * Date: 2017/3/28
  6. * Time: 下午8:40
  7. */
  8. namespace app\common\events;
  9. use app\common\services\Pay;
  10. class PayLog extends Event
  11. {
  12. protected $pay_request_params;
  13. protected $pay;
  14. public function __construct($params, Pay $pay)
  15. {
  16. $this->pay_request_params = $params;
  17. $this->pay = $pay;
  18. }
  19. /**
  20. * 支付请求参数
  21. * @return mixed
  22. */
  23. public function getPayRequestParams()
  24. {
  25. return $this->pay_request_params;
  26. }
  27. public function getPayObject()
  28. {
  29. return $this->pay;
  30. }
  31. }