mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-05 17:42:49 +08:00
增加拼接public的方法
This commit is contained in:
@@ -6,6 +6,11 @@ use think\facade\App;
|
||||
|
||||
class PathToolsBase
|
||||
{
|
||||
public static function publicPath($save_name)
|
||||
{
|
||||
return App::getRootPath() . 'public' . DS . $save_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* 系统生成的文件,这些文件应当是可以任意删除的.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user