Skip to content

Commit

Permalink
Merge pull request #3 from icowan/master
Browse files Browse the repository at this point in the history
fix 默认host始终不变的问题
  • Loading branch information
forecho authored Apr 13, 2020
2 parents bc79dfa + be67645 commit 3b897f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platforms/HuaLeiPlatform.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function getClient()
'timeout' => method_exists($this, 'getTimeout') ? $this->getTimeout() : 5.0,
]);

$this->host = $this->host ? $this->config->get("host") : self::HOST;
$this->host = $this->config->get("host") ? $this->config->get("host") : self::HOST;
$this->customerId = $this->config->get("customer_id");
$this->customerUserId = $this->config->get("customer_user_id");
if ($this->customerUserId == "" || $this->customerId == "") {
Expand Down

0 comments on commit 3b897f6

Please sign in to comment.