正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -38,8 +38,8 @@ class AdminStatisticsController extends AdminBaseController{ | @@ -38,8 +38,8 @@ class AdminStatisticsController extends AdminBaseController{ | ||
38 | $hospital=array(); | 38 | $hospital=array(); |
39 | $num=array(); | 39 | $num=array(); |
40 | foreach ($data as $k=>$v){ | 40 | foreach ($data as $k=>$v){ |
41 | - $hospital[]=$v['hospital']; | ||
42 | - $num[]=$v['num']; | 41 | + $hospital[$k]=$v['hospital']; |
42 | + $num[$k]=$v['num']; | ||
43 | } | 43 | } |
44 | dump($hospital); | 44 | dump($hospital); |
45 | dump($num); | 45 | dump($num); |
-
请 注册 或 登录 后发表评论