浏览代码

会员升级

Kirin 1 年之前
父节点
当前提交
c659e8c617
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/services/user/AwardIntegralServices.php

+ 1 - 1
app/services/user/AwardIntegralServices.php

@@ -244,7 +244,7 @@ class AwardIntegralServices extends BaseServices
             $day_send = $v['day_send'];
             $day_send = $v['day_send'];
             $send_day = $v['send_day'];
             $send_day = $v['send_day'];
             $up_speed = $v['up_speed'] - $v['up_speed_used'];
             $up_speed = $v['up_speed'] - $v['up_speed_used'];
-            if ($sum < $system_check) {
+            if ($sum < $system_check && !$test) {
                 $send_day = $v['send_day'] + sys_config('fail_inc_send_day', 1);
                 $send_day = $v['send_day'] + sys_config('fail_inc_send_day', 1);
                 $day_send = bcdiv((string)(($v['num'] - $v['sent_num'])), (string)$send_day, 2);
                 $day_send = bcdiv((string)(($v['num'] - $v['sent_num'])), (string)$send_day, 2);
             }
             }