Commit cdde6ddc authored by rlgy's avatar rlgy

首页接口v2

parent b804c441
......@@ -114,6 +114,13 @@ class ExchangeBusiness
$rows[$key]['high'] = $coinServer->getHigh();
$coinServer->__destruct();
}
if (!isset($row[$key]['rmb'])) {
$rows[$key]['rmb'] = 6.6 * $rows[$key]['last'];
}
//转化价格为数字
$rows[$key]['low'] = (double)$rows[$key]['low'];
$rows[$key]['high'] = (double)$rows[$key]['high'];
$rows[$key]['last'] = (double)$rows[$key]['last'];
}
return $rows;
}
......
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