Update Auth.php

This commit is contained in:
李思达 2019-02-18 16:45:13 +08:00
parent f9e674591a
commit 31be20921d

View File

@ -97,6 +97,12 @@ class Auth
$this->id = $this->config['apps']['op']['id']; $this->id = $this->config['apps']['op']['id'];
$this->secret = $this->config['apps']['op']['secret']; $this->secret = $this->config['apps']['op']['secret'];
break; break;
case 'payment':
case 'paymeny_api':
$this->id = $this->config['apps']['payment']['id'];
$this->secret = $this->config['apps']['payment']['secret'];
break;
} }
return $this; return $this;
} }