Commit 1689a706 authored by rlgy's avatar rlgy

update

parent b47d1836
......@@ -21,10 +21,10 @@ class EthBrower extends Brower
$content = $ch->get($uri, false);
if ($content && is_array($content)) {
if (1 == $content['status']) {
$status = $content['result']['status'];
if (0 == $status) {
$status = (string)$content['result']['status'];
if ("0" === $status) {
return $this->StatusReturn(self::TRANS_FAIL);
} elseif (1 == $status) {
} elseif ("1" === $status) {
return $this->StatusReturn(self::TRANS_OK);
} else {
return $this->StatusReturn(self::TRANS_PADDING);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment