@inject('callApiService', 'App\Services\CallApiService') @php $headerPart = $callApiService->callApi([ 'url' => 'list-type1-book', 'data' => [ 'Book' => [ [ 'QueryVars' => [ 'QueryName' => 'pro:shop/wish', 'SubSimpleFilter' => "image_type = 'thumb'", 'IsntPagination' => true, ], 'PageVars' => [ 'Limit' => 100000 ] ], [ 'QueryVars' => [ 'QueryName' => 'point2u::pro:shop/cart', 'SubSimpleFilter' => "image_type = 'thumb'", 'IsntPagination' => true, ], 'PageVars' => [ 'Limit' => 100000 ] ] ] ], ]); $wishCount = collect($headerPart['Book'][0]['Page'])->count(); $cartCount = collect($headerPart['Book'][1]['Page'])->count(); @endphp
logo
@if (session()->missing('member.is_member')) Login Join @else Logout @endif
{{ $wishCount }}