From aa72adf22cf78a1f86a17462bd2c49296e0a79ae Mon Sep 17 00:00:00 2001 From: zou_luxian Date: Tue, 10 Dec 2019 22:48:42 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=20?= =?UTF-8?q?=E8=9B=87=E5=BD=A2=20=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- composer.json | 2 +- src/BJCloud.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 732560d..b73b378 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "description": "百家云直播", "type": "library", "license": "MIT", - "version": "0.3", + "version": "0.4", "authors": [ { "name": "Jake zou", diff --git a/src/BJCloud.php b/src/BJCloud.php index 10ee632..871aa9a 100644 --- a/src/BJCloud.php +++ b/src/BJCloud.php @@ -22,12 +22,12 @@ class BJCloud */ public function __construct($config) { - if ($config['partnerId'] ?? null) { - $this->partnerId = $config['partnerId']; + if ($config['partner_id'] ?? null) { + $this->partnerId = $config['partner_id']; } - if ($config['partnerKey'] ?? null) { - $this->partnerKey = $config['partnerKey']; + if ($config['partner_key'] ?? null) { + $this->partnerKey = $config['partner_key']; } if ($config['domain'] ?? null) {