flyzto преди 1 месец
родител
ревизия
dbde1f19e2
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      server/routes/pstery.js

+ 2 - 2
server/routes/pstery.js

@@ -96,7 +96,7 @@ router.get('/get_games_relation', (req, res) => {
 
 // 获取中单方案
 router.get('/get_solutions', (req, res) => {
-  const { win_min, with_events, mk } = req.query;
+  const { win_min, with_events, show_lower, mk } = req.query;
   Games.getSolutions({
     win_min: win_min ? +win_min : undefined,
     with_events: with_events === 'true',
@@ -113,7 +113,7 @@ router.get('/get_solutions', (req, res) => {
 
 // 获取中单方案并按照比赛分组
 router.get('/get_games_solutions', (req, res) => {
-  const { win_min, with_events, mk, tp, sk } = req.query;
+  const { win_min, with_events, show_lower, mk, tp, sk } = req.query;
   Games.getGamesSolutions({
     win_min: win_min ? +win_min : undefined,
     with_events: with_events === 'true',