feat: 更新用户积分逻辑
This commit is contained in:
parent
6b0d5e3edb
commit
40cc604461
@ -67,7 +67,7 @@ class UserSignLogic extends BaseLogic
|
||||
$write = self::write($order, $total_vip, 0, 1, 9);
|
||||
self::write_log($write, $total_vip, 0, 7);
|
||||
self::write_log($write, $total_vip, 0, 9, 0);
|
||||
User::where('id', $order->uid)->inc('integral', $total_vip)->update();
|
||||
User::where('id', $order->uid)->update(['integral'=>$total_vip,'first_purchase_funds'=>$order['price']]);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user