This commit is contained in:
parent
6ff3b12767
commit
37a72de735
|
|
@ -0,0 +1,6 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
function sysConfig($key)
|
||||||
|
{
|
||||||
|
return \App\Model\SystemConfig::where('config_key', $key)->value('config_value') ?? null;
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue