Update Auth.php

This commit is contained in:
候学杰 2019-04-09 14:31:35 +08:00
parent e840500c8a
commit 3756ab2851

View File

@ -102,6 +102,11 @@ class Auth
$this->id = $this->config['apps']['payment']['id'];
$this->secret = $this->config['apps']['payment']['secret'];
break;
case 'xiaoke':
case 'xiaoke_api':
$this->id = $this->config['apps']['xiaoke']['id'];
$this->secret = $this->config['apps']['xiaoke']['secret'];
break;
}
return $this;