vali 6 年之前
父節點
當前提交
a089a8288b
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. 2 3
      datainf/logic/HttpServerOnlySet.php

+ 2 - 3
datainf/logic/HttpServerOnlySet.php

@@ -241,11 +241,10 @@ class HttpServerOnlySet
         //先前赢过钱的得先扣回来,写流水,再重新计算,
         $money_time = date("Y-m-d H:i:s");
 
-
-        $moneys_this = $this->CountDetailsTounSet($ids);
+        $moneys_this = $this->CountDetailsTounSet($order_ids);
         foreach ($moneys_this as $tmp_orderid => $ttttobj) {
             $now_order = $this->PDatas['Money_buy_Orders_Array'][$tmp_orderid];
-            if (abs($ttttobj['cha']) > 0) {
+            if ($ttttobj['cha'] !== 0) {
                 $order_id = $now_order->order_id;
                 $account_identity = $now_order->account_identity;
                 $account = $this->PDatas['account_map_array'][$account_identity]->account;