|
|
@@ -740,7 +740,7 @@ const updateSolutions = (solutions, eventsLogsMap) => {
|
|
|
/**
|
|
|
* 获取中单方案
|
|
|
*/
|
|
|
-const getSolutions = async ({ win_min }) => {
|
|
|
+const getSolutions = async ({ win_min, no_events }) => {
|
|
|
// Logs.out('getSolutions', win_min);
|
|
|
const { minShowAmount } = getSetting();
|
|
|
const solutionsList = Object.values(GAMES.Solutions);
|
|
|
@@ -760,7 +760,10 @@ const getSolutions = async ({ win_min }) => {
|
|
|
}
|
|
|
});
|
|
|
const relIds = solutions.map(item => item.info.id);
|
|
|
- const gamesEvents = getGamesEvents({ relIds });
|
|
|
+ let gamesEvents = null;
|
|
|
+ if (!no_events) {
|
|
|
+ gamesEvents = getGamesEvents({ relIds });
|
|
|
+ }
|
|
|
return { solutions, gamesEvents };
|
|
|
}
|
|
|
|