added liman service

This commit is contained in:
2026-05-24 13:56:33 +03:30
parent 041e7307b7
commit 0a4d1219fa
9 changed files with 56 additions and 29 deletions
+18
View File
@@ -0,0 +1,18 @@
<?php
namespace App\Services;
use Illuminate\Support\Facades\Http;
use League\Flysystem\Config;
class ConfigService
{
public static function Config($name)
{
return Setting::where('key',$name)->first()->value ?? false;
}
public static function UpdateConfig($name,$value)
{
return Setting::where('key',$name)->update(['value'=>$value]);
}
}