From 8f811ea013404f700eb30a9ab8e81d2f46b990fe Mon Sep 17 00:00:00 2001 From: "zhangf@suq.cn" Date: Mon, 7 Sep 2026 15:01:18 +0800 Subject: [PATCH] =?UTF-8?q?fix(data):=20=E4=BF=AE=E6=AD=A3=E8=82=A1?= =?UTF-8?q?=E7=A5=A8=E6=95=B0=E6=8D=AE=E4=B8=AD=E6=88=90=E4=BA=A4=E9=87=8F?= =?UTF-8?q?=E8=AE=A1=E7=AE=97=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将成交量单位从万调整为百万,修正了除数从1000改为10000 --- app/common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common.php b/app/common.php index a7d6507..6f788bd 100644 --- a/app/common.php +++ b/app/common.php @@ -1838,7 +1838,7 @@ if (!function_exists('fetchStockFromSina')) { 'changePercent' => $price > 0 ? (($changePercent >= 0 ? '+' : '') . number_format($changePercent, 2) . '%') : '--', 'high' => floatval($fields[4]) > 0 ? number_format(floatval($fields[4]), 2) : '--', 'low' => floatval($fields[5]) > 0 ? number_format(floatval($fields[5]), 2) : '--', - 'volume' => floatval($fields[8]) > 0 ? round(floatval($fields[8]) / 10000, 2) : '--', + 'volume' => floatval($fields[8]) > 0 ? round(floatval($fields[8]) / 1000000, 2) : '--', 'amount' => floatval($fields[9]) > 0 ? round(floatval($fields[9]) / 10000, 2) : '--', 'updateTime' => $fields[30] . ' ' . $fields[31] ];