Explorar o código

change team bonus let to 2 z

kevin_zhangl %!s(int64=2) %!d(string=hai) anos
pai
achega
c7f272c0db
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      frontendApi/modules/v1/controllers/BonusController.php

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

@@ -126,7 +126,7 @@ class BonusController extends BaseController {
         } else if ($preparePerfLimit !== true && (($w != '0' && $w != '1') || $isCalcMonth != 1)) {
             return static::notice(['user' => [],'team'=>[]]);
         } else if ($preparePerfLimit !== true && (($w == '0' || $w == '1') || $isCalcMonth != 1)) {
-            if ($newMonth && $w != '1'){
+            if ($newMonth && $w != '1' && $w != '2'){
                 return static::notice(['user' => [],'team'=>[]]);
             }
         }