Update Auth.php

This commit is contained in:
候学杰 2019-02-18 13:32:49 +08:00
parent 4ce7602b1a
commit 4b9b69b9b0

View File

@ -97,6 +97,11 @@ 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;
} }