6
0
Fork 0
base
Jing Li 2023-11-07 14:07:27 +08:00
parent e42f4e0052
commit c5c4032fc7
1 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,8 @@ class OrderProfitCheck extends Command
*/
public function handle()
{
OrderProfit::where('status', 0)->where('money', 0)->update(['status' => 2]);
$service = new WxpayService();
$service1 = new DistributeService();
$list = OrderProfit::where('status', 1)->get()->groupBy('order_id');