one_after 2 mesi fa
parent
commit
9e69d2efaf
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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])