📅  最后修改于: 2022-03-11 14:53:56.975000             🧑  作者: Mango
Customer::find($customer_id)->increment('loyalty_points');
// increment by 20
Customer::find($customer_id)->increment('loyalty_points',20);