From 31be20921d7707bfcb5f784694e26bf06c208dbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=80=9D=E8=BE=BE?= Date: Mon, 18 Feb 2019 16:45:13 +0800 Subject: [PATCH] Update Auth.php --- src/Auth.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Auth.php b/src/Auth.php index f71806b..73fc43c 100644 --- a/src/Auth.php +++ b/src/Auth.php @@ -97,6 +97,12 @@ 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; }