refactor(TradeStatisticLogic): 移除不必要的变量赋值

This commit is contained in:
mkm 2024-06-21 18:16:21 +08:00
parent 28a56119d4
commit f2c9bbdb7b

View File

@ -420,7 +420,7 @@ class TradeStatisticLogic extends BaseLogic
ksort($topData);
$data = [];
foreach ($topData as $k => $v) {
$data['x'] = $Chain['out']['x'];
// $data['x'] = $Chain['out']['x'];
$data['series'][$k]['name'] = $v['title'];
$data['series'][$k]['desc'] = $v['desc'];
$data['series'][$k]['money'] = $v['total_money'];