فهرست منبع

change team bonus let to 2 z

kevin_zhangl 2 سال پیش
والد
کامیت
c7f272c0db
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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'=>[]]);
             }
         }