From 9fed8b8f9d3855d55f68238084843d06acea0ea2 Mon Sep 17 00:00:00 2001 From: Tokumeikoi Date: Mon, 4 May 2020 23:01:22 +0800 Subject: [PATCH] fix commission balance 0 show --- app/Http/Controllers/User/InviteController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Controllers/User/InviteController.php b/app/Http/Controllers/User/InviteController.php index 54bf0098..96292c02 100644 --- a/app/Http/Controllers/User/InviteController.php +++ b/app/Http/Controllers/User/InviteController.php @@ -28,6 +28,7 @@ class InviteController extends Controller { return response([ 'data' => Order::where('invite_user_id', $request->session()->get('id')) + ->where('commission_balance', '>', 0) ->where('status', 3) ->select([ 'id',