瀏覽代碼

会员升级

Kirin 1 年之前
父節點
當前提交
bf6ea3fb45
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/services/user/AwardIntegralServices.php

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

@@ -318,7 +318,7 @@ class AwardIntegralServices extends BaseServices
         }
         if ($to_integral < $num) {
             $left = bcsub((string)$num, (string)$to_integral, 2);
-            if ($reorder_set > $origin['reorder_count']) {
+            if ($reorder_set >= $origin['reorder_count']) {
                 $to_now_money = sys_config('re_now_money');
                 $to_now_money = bcdiv(bcmul((string)$left, (string)$to_now_money), '100', 2);
                 if ($to_now_money > 0) {