one_after před 2 měsíci
rodič
revize
9e69d2efaf
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  1. 3 0
      app/business/PayorderBusiness.php

+ 3 - 0
app/business/PayorderBusiness.php

@@ -618,6 +618,9 @@ class PayorderBusiness
                     ->get()->toArray();
                 foreach ($datawithdraw as $k => $v) {
                     Db::table('wa_withdraw')->where('id', $v->id)->update(['status' => 3, 'updated_at' => date('Y-m-d H:i:s')]);
+                    Db::table('wa_withdraw')->where('id', $v->id)->update(['status' => 3, 'updated_at' => date('Y-m-d H:i:s')]);
+                    StreamBusiness::addStream($v->user_id, $v->money, streamType4, moldType3, moldTypefild3, $v->id);
+
                 }
                 $protocol_money = Db::table('wa_withdraw')
                     ->whereIn('type', [17, 10])