From 4b9b69b9b0183a4bf6392d831f40e3f52ebe727e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=80=99=E5=AD=A6=E6=9D=B0?= Date: Mon, 18 Feb 2019 13:32:49 +0800 Subject: [PATCH] Update Auth.php --- src/Auth.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Auth.php b/src/Auth.php index 7eee4c5..38e432c 100644 --- a/src/Auth.php +++ b/src/Auth.php @@ -97,6 +97,11 @@ class Auth $this->id = $this->config['apps']['op']['id']; $this->secret = $this->config['apps']['op']['secret']; break; + case 'payment': + case 'paymeny_api': + $this->id = $this->config['apps']['payment']['id']; + $this->secret = $this->config['apps']['payment']['secret']; + break; } return $this; }