6
0
Fork 0

添加后台支付订单的操作日志

release
vine_liutk 2021-12-20 21:13:59 +08:00
parent c6052f7aa7
commit 0a5eb23a4c
1 changed files with 6 additions and 0 deletions

View File

@ -47,6 +47,12 @@ class OrderService
'pay_way' => Order::PAY_WAY_OFFLINE,
'pay_at' => now(),
]);
//记录操作日志
OrderLog::create([
'order_id'=> $order->id,
'content'=> '修改订单状态为【已支付】',
]);
}
}