flyzto 2 周之前
父节点
当前提交
b63a76b8bc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      server/models/GamesPs.js

+ 1 - 1
server/models/GamesPs.js

@@ -960,7 +960,7 @@ const getGamesRelation = ({
     }
     Object.keys(tempRel).forEach(platform => {
       const { events, evtime, special, sptime, ...gameInfo } = tempRel[platform] ?? {};
-      if (!listEvents) {
+      if (!listEvents && !listOdds) {
         tempRel[platform] = gameInfo;
       }
       if (listOdds) {