update: payment service

This commit is contained in:
tokumeikoi
2022-02-24 14:47:00 +08:00
parent 980f1e3093
commit 40d757dda3
3 changed files with 2 additions and 4 deletions

View File

@ -8,7 +8,6 @@ use App\Models\Payment;
class PaymentService
{
public $method;
public $customResult;
protected $class;
protected $config;
protected $payment;
@ -29,7 +28,6 @@ class PaymentService
$this->config['notify_domain'] = $payment['notify_domain'];
};
$this->payment = new $this->class($this->config);
if (isset($this->payment->customResult)) $this->customResult = $this->payment->customResult;
}
public function notify($params)