one_after 2 месяцев назад
Родитель
Сommit
9e69d2efaf
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      app/business/PayorderBusiness.php

+ 3 - 0
app/business/PayorderBusiness.php

@@ -618,6 +618,9 @@ class PayorderBusiness
                     ->get()->toArray();
                     ->get()->toArray();
                 foreach ($datawithdraw as $k => $v) {
                 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')]);
+                    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')
                 $protocol_money = Db::table('wa_withdraw')
                     ->whereIn('type', [17, 10])
                     ->whereIn('type', [17, 10])