日常开发

This commit is contained in:
admin
2019-03-11 10:45:10 +08:00
parent 5a2f9be951
commit fcacb67930
8 changed files with 8 additions and 8 deletions

View File

@@ -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');

View File

@@ -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);
}

0
storage/ipip.ipdb → public/ipip.ipdb Executable file → Normal file
View File

0
storage/qqwry.dat → public/qqwry.dat Executable file → Normal file
View File

View File

@@ -15,9 +15,9 @@
</div>
</div>
<div class="portlet-body">
<div class="search-container bordered">
<div class="search-container">
@if($articleList->isEmpty())
<p style="text-align:center;">{{trans('home.invoice_table_none')}} </p>
<div style="text-align: center;"><h3>{{trans('home.invoice_table_none')}}</h3></div>
@else
<ul>
@foreach($articleList as $key => $article)

View File

@@ -33,7 +33,7 @@
<tbody>
@if($orderList->isEmpty())
<tr>
<td colspan="8">{{trans('home.invoice_table_none')}}</td>
<td colspan="8"><h3>{{trans('home.invoice_table_none')}}</h3></td>
</tr>
@else
@foreach($orderList as $key => $order)

View File

@@ -47,7 +47,7 @@
</div>
@if(Auth::user()->subscribe->status)
@if($nodeList->isEmpty())
<h2>请先<a href="{{url('services')}}">购买服务</a></h2>
<div style="text-align: center;"><h2>请先<a href="{{url('services')}}">购买服务</a></h2></div>
@else
<div class="portlet-body">
<div class="mt-clipboard-container">
@@ -158,7 +158,7 @@
</div>
@endif
@else
<h3>{{trans('home.subscribe_baned')}}</h3>
<div style="text-align: center;"><h3>{{trans('home.subscribe_baned')}}</h3></div>
@endif
</div>
</div>

View File

@@ -34,7 +34,7 @@
<tbody>
@if($ticketList->isEmpty())
<tr>
<td colspan="4" style="text-align: center;"> {{trans('home.ticket_table_none')}} </td>
<td colspan="4" style="text-align: center;"> <h3>{{trans('home.ticket_table_none')}}</h3> </td>
</tr>
@else
@foreach($ticketList as $key => $ticket)