From 5826fe26079513a005ea36887a2426c9ec42de83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BD=AD=E6=A1=83?= <1098598843@qq.com> Date: Wed, 15 Feb 2023 14:08:13 +0800 Subject: [PATCH] 12 --- app/api/controller/Statistics.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/controller/Statistics.php b/app/api/controller/Statistics.php index d88221a..9716fb2 100644 --- a/app/api/controller/Statistics.php +++ b/app/api/controller/Statistics.php @@ -921,7 +921,7 @@ class Statistics extends BaseController ->select() ->toarray(); foreach ($return as $k =>$v){ - $return[$k]['demand'] = ''; + $return[$k]['demand'] = $v['value']; $return[$k]['minnum'] = [ ['month'=>'1月','value'=>0], ['month'=>'2月','value'=>$v['price']],