[优化]移除/api/game/lotteryPool接口中不虚言显示的键值

This commit is contained in:
2026-04-01 10:22:18 +08:00
parent edd870457f
commit 9f42cffd18

View File

@@ -128,6 +128,8 @@ class GameController extends BaseController
if ($uiEn !== '') {
$row['ui_text'] = $uiEn;
}
//移除掉其中的s_start_index和n_start_index
$row = array_diff_key($row, ['s_start_index'=>'', 's_end_index'=>'', 'weight'=>'', 'ui_text_en'=>'', 'create_time'=>'', 'update_time'=>'', 'type'=>'']);
$list[$index] = $row;
}
}