Example #1
0
 public static function getValue($key)
 {
     $collection = Sysparam::where('key', '=', $key)->get();
     foreach ($collection as $object) {
         return $object->value->content;
     }
 }