From b3fe66f78106cbf891e89d69dc7edc0fcd783c02 Mon Sep 17 00:00:00 2001 From: lilei Date: Thu, 10 Jul 2025 02:24:55 +0000 Subject: [PATCH] =?UTF-8?q?update=20serve/app/controller/Main.php.=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20"bcdiv():=20Division=20by=20zero"=20?= =?UTF-8?q?=E6=8A=A5=E9=94=99=E7=9A=84=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lilei --- serve/app/controller/Main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serve/app/controller/Main.php b/serve/app/controller/Main.php index 3c892da..b32b154 100644 --- a/serve/app/controller/Main.php +++ b/serve/app/controller/Main.php @@ -24,7 +24,7 @@ class Main extends Acl{ $lattice['sve']=[ 'today'=>empty($group['today']['sell']['actual'])?0:floatval($group['today']['sell']['actual']), - 'yesterday'=>empty($group['yesterday']['sell']['actual'])?0:$group['yesterday']['sell']['actual'], + 'yesterday'=>empty($group['yesterday']['sell']['actual'])?0:floatval($group['yesterday']['sell']['actual']), ]; $lattice['nos']=[ 'today'=>[ -- Gitee