增加拼接public的方法

This commit is contained in:
2024-02-22 13:48:13 +08:00
parent 586d53d585
commit f4c1fc9210
2 changed files with 7 additions and 2 deletions

View File

@@ -12,12 +12,12 @@ use think\console\Output;
class VersionBase extends Command
{
public const VERSION = 'v2.0.88';
public const VERSION = 'v2.0.89';
public const LAYUI_VERSION = '2.8.17';
public const COMMENT = [
'关闭日志测试',
'增加拼接public的方法',
'发布新版本',
];

View File

@@ -6,6 +6,11 @@ use think\facade\App;
class PathToolsBase
{
public static function publicPath($save_name)
{
return App::getRootPath() . 'public' . DS . $save_name;
}
/**
* 系统生成的文件,这些文件应当是可以任意删除的.
*