diff --git a/app/Components/IPIP.php b/app/Components/IPIP.php index e84037e1..8e15fe41 100644 --- a/app/Components/IPIP.php +++ b/app/Components/IPIP.php @@ -15,7 +15,7 @@ class IPIP */ public static function ip($ip) { - $filePath = storage_path('ipip.ipdb'); + $filePath = public_path('ipip.ipdb'); $loc = new City($filePath); $result = $loc->findMap($ip, 'CN'); diff --git a/app/Components/QQWry.php b/app/Components/QQWry.php index e3fd433a..0b004e67 100644 --- a/app/Components/QQWry.php +++ b/app/Components/QQWry.php @@ -15,7 +15,7 @@ class QQWry */ public static function ip($ip) { - $filePath = storage_path('qqwry.dat'); + $filePath = public_path('qqwry.dat'); return IpLocation::getLocation($ip, $filePath); } diff --git a/storage/ipip.ipdb b/public/ipip.ipdb old mode 100755 new mode 100644 similarity index 100% rename from storage/ipip.ipdb rename to public/ipip.ipdb diff --git a/storage/qqwry.dat b/public/qqwry.dat old mode 100755 new mode 100644 similarity index 100% rename from storage/qqwry.dat rename to public/qqwry.dat diff --git a/resources/views/user/help.blade.php b/resources/views/user/help.blade.php index 41c1d1b1..0828cdd7 100644 --- a/resources/views/user/help.blade.php +++ b/resources/views/user/help.blade.php @@ -15,9 +15,9 @@
-
+
@if($articleList->isEmpty()) -

{{trans('home.invoice_table_none')}}

+

{{trans('home.invoice_table_none')}}

@else
    @foreach($articleList as $key => $article) diff --git a/resources/views/user/invoices.blade.php b/resources/views/user/invoices.blade.php index b5b30cd1..d5b29112 100644 --- a/resources/views/user/invoices.blade.php +++ b/resources/views/user/invoices.blade.php @@ -33,7 +33,7 @@ @if($orderList->isEmpty()) - {{trans('home.invoice_table_none')}} +

    {{trans('home.invoice_table_none')}}

    @else @foreach($orderList as $key => $order) diff --git a/resources/views/user/nodeList.blade.php b/resources/views/user/nodeList.blade.php index 97c5c812..89c70be7 100644 --- a/resources/views/user/nodeList.blade.php +++ b/resources/views/user/nodeList.blade.php @@ -47,7 +47,7 @@
@if(Auth::user()->subscribe->status) @if($nodeList->isEmpty()) -

请先购买服务

+

请先购买服务

@else
@@ -158,7 +158,7 @@
@endif @else -

{{trans('home.subscribe_baned')}}

+

{{trans('home.subscribe_baned')}}

@endif
diff --git a/resources/views/user/ticketList.blade.php b/resources/views/user/ticketList.blade.php index 5879a6f3..4e09c524 100644 --- a/resources/views/user/ticketList.blade.php +++ b/resources/views/user/ticketList.blade.php @@ -34,7 +34,7 @@ @if($ticketList->isEmpty()) - {{trans('home.ticket_table_none')}} +

{{trans('home.ticket_table_none')}}

@else @foreach($ticketList as $key => $ticket)