Merge remote-tracking branch 'origin/master' into akun
正在显示
2 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -431,7 +431,7 @@ class WebTraffic extends Command | @@ -431,7 +431,7 @@ class WebTraffic extends Command | ||
| 431 | $query->whereIn('ip_area', $main_countries); | 431 | $query->whereIn('ip_area', $main_countries); |
| 432 | } | 432 | } |
| 433 | if($filter_countries){ | 433 | if($filter_countries){ |
| 434 | - $query->whereNotIn('ip_area', $main_countries); | 434 | + $query->whereNotIn('ip_area', $filter_countries); |
| 435 | } | 435 | } |
| 436 | })->inRandomOrder()->first(); | 436 | })->inRandomOrder()->first(); |
| 437 | if(!$ipdata){ | 437 | if(!$ipdata){ |
| @@ -398,7 +398,7 @@ class ImageController extends Controller | @@ -398,7 +398,7 @@ class ImageController extends Controller | ||
| 398 | foreach ($str_data as $k => $v){ | 398 | foreach ($str_data as $k => $v){ |
| 399 | $arr = explode('/',$v); | 399 | $arr = explode('/',$v); |
| 400 | if ($arr[0] == 'text') { | 400 | if ($arr[0] == 'text') { |
| 401 | - $arr[1] = urlSafeBase64Encode($arr[1]); | 401 | + $arr[1] = urlSafeBase64Encode($arr[1] ?? 'shuiying'); |
| 402 | $v = implode('/',$arr); | 402 | $v = implode('/',$arr); |
| 403 | } | 403 | } |
| 404 | if ($arr[0] == 'font') { | 404 | if ($arr[0] == 'font') { |
-
请 注册 或 登录 后发表评论