[优化]移除/api/game/lotteryPool接口中不虚言显示的键值
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user