|
|
@@ -73,6 +73,7 @@ class StatKhCgController extends BaseController
|
|
|
foreach ($customData as $custom) {
|
|
|
$customId = $custom['id'] ?? 0;
|
|
|
$customName = $custom['name'] ?? '';
|
|
|
+ $customPy = $custom['py'] ?? '';
|
|
|
$num = $arr[$customId]['num'] ?? 0;
|
|
|
$refundNum = $arr[$customId]['refundNum'] ?? 0;
|
|
|
$amount = $arr[$customId]['amount'] ?? 0;
|
|
|
@@ -84,13 +85,14 @@ class StatKhCgController extends BaseController
|
|
|
$cg[] = [
|
|
|
'customId' => $customId,
|
|
|
'customName' => $customName,
|
|
|
+ 'py' => $customPy,
|
|
|
'num' => $lastNum,
|
|
|
'amount' => $lastAmount,
|
|
|
'levelName' => $levelName,
|
|
|
];
|
|
|
}
|
|
|
- $cg = arrayUtil::arraySort($cg,'num');
|
|
|
- util::success(['list'=>$cg]);
|
|
|
+ $cg = arrayUtil::arraySort($cg, 'num');
|
|
|
+ util::success(['list' => $cg]);
|
|
|
}
|
|
|
|
|
|
}
|