This commit is contained in:
root
2020-01-01 23:50:50 +08:00
parent 7639f07b83
commit 20be5c3182
2 changed files with 3 additions and 3 deletions

View File

@ -138,7 +138,7 @@ class OrderController extends Controller
if (!CouponLog::create([
'coupon_id' => $coupon->id,
'user_id' => $order->user_id,
'order_id' => $order->id,
'order_trade_no' => $order->trade_no,
'total_amount' => $order->total_amount,
'discount_amount' => $order->discount_amount
])) {