notify
parent
83e8e29de3
commit
f6be64b274
|
|
@ -27,6 +27,7 @@ class UserController extends Controller
|
|||
'phone' => $user->phone,
|
||||
'user_info' => UserInfoResource::make($user->userInfo),
|
||||
'is_vip' => $user->isVip(),
|
||||
'vip_expired' => $user->vip_expired?->timestamp,
|
||||
'wallet' => UserWalletResource::make($user->wallet),
|
||||
'balance' => UserBalanceResource::make($user->balance),
|
||||
]);
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ class PayService
|
|||
'status' => Order::STATUS_PAID,
|
||||
]);
|
||||
} else if ($payable instanceof \App\Models\UserVip) {
|
||||
(new App\Services\VipService())->success($payable, ['pay_at' => $payLog->pay_at]);
|
||||
(new \App\Services\VipService())->success($payable, ['pay_at' => $payLog->pay_at]);
|
||||
}
|
||||
|
||||
return $payLog;
|
||||
|
|
|
|||
Loading…
Reference in New Issue