Sfoglia il codice sorgente

团队查询功能修改

kevin 1 anno fa
parent
commit
09b675c005
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      frontendApi/modules/v1/controllers/BonusController.php

+ 3 - 3
frontendApi/modules/v1/controllers/BonusController.php

@@ -142,9 +142,9 @@ class BonusController extends BaseController {
         }
         // 判断当前时间,是否临近封期,否则隐藏
         LoggerTool::debug(['calc-2']);
-//        if ($periodNum % 2!=0) {
-//            return static::notice(['user' => [],'team'=>[]]);
-//        }
+        if ($periodNum % 2!=0) {
+            return static::notice(['user' => [],'team'=>[]]);
+        }
         $userInfo = User::getEnCodeInfo($userId);
         $data = PerfMonth::fetchMonthPerf($month, $userId);
         $user[0] = [