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.
17 lines
342 B
17 lines
342 B
<?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');
|
|
}
|
|
}
|
|
|