update:更新部分组件

This commit is contained in:
JaguarJack
2020-09-08 14:10:27 +08:00
parent 3fb55deaaf
commit 3a2689db18
6 changed files with 87 additions and 30 deletions

View File

@@ -142,4 +142,16 @@ class Utils
{
return Config::where('key', $key)->value('value');
}
/**
* public path
*
* @param string $path
* @time 2020年09月08日
* @return string
*/
public static function publicPath($path = '')
{
return root_path($path ? 'public/'. $path : 'public');
}
}