rabin 1 年之前
父节点
当前提交
550c7b3f44
共有 1 个文件被更改,包括 3 次插入0 次删除
  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) {