ErrorPayment.php 559 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. * 支付方式相关.
  4. *
  5. * @author jim <jim458734573@gmail.com>
  6. * @date 2020-01-22 22:37:21
  7. */
  8. declare(strict_types=1);
  9. namespace App\Repositories\Service\Payment;
  10. class ErrorPayment extends PaymentInterface
  11. {
  12. protected $paymentId = 0;
  13. public function createPayLink($data = array())
  14. {
  15. $this->_lastError = '支付方式不存在';
  16. return '';
  17. }
  18. public function stopNotify()
  19. {
  20. return 'nook';
  21. }
  22. public function notify(&$orderSn, &$tradeNo, &$money)
  23. {
  24. return false;
  25. }
  26. }