Ver Fonte

团队查询功能修改

kevin há 1 ano atrás
pai
commit
09b675c005
1 ficheiros alterados com 3 adições e 3 exclusões
  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] = [