瀏覽代碼

过滤不合格的策略

flyzto 1 月之前
父節點
當前提交
1f9d9f6e5f
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      server/models/GamesPs.js

+ 2 - 2
server/models/GamesPs.js

@@ -1094,8 +1094,8 @@ const getSolutionsByIds = async (ids) => {
     result[id].sols = [];
   });
   Object.values(GAMES.Solutions).forEach(item => {
-    const { info: { id } } = item;
-    if (result[id]) {
+    const { info: { id }, lower } = item;
+    if (result[id] && !lower) {
       result[id].sols.push(item);
     }
   });