gorden 7 сар өмнө
parent
commit
019b08d5de

+ 0 - 12
app/command/WelfareAccountCommand.php

@@ -58,18 +58,6 @@ class WelfareAccountCommand extends Command
             echo "会员【" . $member['member_id'] . "】已处理完成\n";
         }
 
-
-
-        $payDetails = PayDetail::where('pay_category', 'RECHARGE')
-            ->get();
-        foreach ($payDetails as $payDetail){
-            $order = Order::where('order_groupby',$payDetail->join_pay_order_id)->first();
-            if($order){
-                $order->order_category = "RECHARGE";
-                $order->save();
-            }
-        }
-
         return self::SUCCESS;
     }