vali 6 years ago
parent
commit
bc93a14bcb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      datainf/logic/HttpServerOnlySet.php

+ 1 - 1
datainf/logic/HttpServerOnlySet.php

@@ -615,7 +615,7 @@ class HttpServerOnlySet
             }
         }
 
-        $ret = DB::table('money_details')->whereIn('account_identity', $userindentys)->where([['money_time', '>=', date("Y-m-d", time() - 86400 * 60) . ' 00:00:00'], ['money_type', '=', 4]])->whereIn('trade_id', $order_ids)->get();
+        $ret = DB::table('money_details')->whereIn('account_identity', $userindentys)->where([['money_time', '>=', date("Y-m-d", time() - 86400 * 60) . ' 00:00:00'], ['trade_type', '=', 4]])->whereIn('trade_id', $order_ids)->get();
         if ($ret) {
             foreach ($ret as $val) {
                 $this->PDatas['money_detail_array'][$val->trade_id] = $val;