update: frontend

This commit is contained in:
tokumeikoi
2022-04-09 16:05:53 +08:00
parent 077c8ba0e8
commit 8fdd755107
5 changed files with 5 additions and 5 deletions

View File

@ -163,7 +163,7 @@ class OrderService
private function getSurplusValueByOneTime(User $user, Order $order)
{
$lastOneTimeOrder = Order::where('user_id', $user->id)
->where('period', 'onetime')
->where('period', 'onetime_price')
->where('status', 3)
->orderBy('id', 'DESC')
->first();