rabin 1 rok pred
rodič
commit
550c7b3f44
1 zmenil súbory, kde vykonal 3 pridanie a 0 odobranie
  1. 3 0
      lib/Profit.php

+ 3 - 0
lib/Profit.php

@@ -247,6 +247,9 @@ class Profit
             $id = $data['where_id'] = $log['id'];
             Dever::db('account/profit_log')->update($data);
         } else {
+            if ($status >= 4) {
+                return;
+            }
             # 入账
             $data['cash'] = $cash;
             if ($status == 2) {