第二次更新
This commit is contained in:
@@ -26,7 +26,7 @@ class Qyt
|
||||
|
||||
public function __construct(array $conf = null)
|
||||
{
|
||||
$this->conf = $conf ?: (array) config('qyt');
|
||||
$this->conf = $conf ?: \app\common\service\QytConfig::get();
|
||||
$this->privateKey = $this->loadPrivateKey($this->conf['private_key'] ?? '');
|
||||
$this->platformPublicKey = $this->loadPublicKey($this->conf['platform_public_key'] ?? '');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user