You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
342 B
18 lines
342 B
3 years ago
|
<?php
|
||
|
|
||
|
namespace App\Admin\Services;
|
||
|
|
||
|
use App\Models\AdminSetting;
|
||
|
use App\Models\Equip;
|
||
|
use GuzzleHttp\Client;
|
||
|
use Illuminate\Pagination\Paginator;
|
||
|
use Illuminate\Support\Facades\Http;
|
||
|
|
||
|
class AdminSettingService
|
||
|
{
|
||
|
public static function getConfig($key)
|
||
|
{
|
||
|
return AdminSetting::where(['slug' => $key])->value('value');
|
||
|
}
|
||
|
}
|