From dbc77d07e7265de81ef6457f913da682b3e1abaa Mon Sep 17 00:00:00 2001 From: chenzhi Date: Wed, 4 Dec 2019 10:55:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=81=9A=E5=90=88=E6=8E=92?= =?UTF-8?q?=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Controller/StatisticsController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Admin/Controller/StatisticsController.class.php b/Application/Admin/Controller/StatisticsController.class.php index f8e2d852f..fe7c11cf0 100644 --- a/Application/Admin/Controller/StatisticsController.class.php +++ b/Application/Admin/Controller/StatisticsController.class.php @@ -532,7 +532,7 @@ class StatisticsController extends ThinkController { if(empty($oldrand[$randdata[$i][$field]])){ $randdata[$i]['change'] = 0; }else{ - $randdata[$i]['change'] = $oldrand[$randdata[$i][$field]] - $rand; + $randdata[$i]['change'] = $rand - $oldrand[$randdata[$i][$field]]; } }else{