发布2.3测试版

This commit is contained in:
2021-05-02 05:55:42 +08:00
parent 8732c85312
commit ef8224d20e
83 changed files with 635 additions and 1361 deletions
+16
View File
@@ -2,6 +2,22 @@
use Illuminate\Support\Arr;
/**
* 公共文件目录
*/
function public_path($path = '')
{
return base_path('public').($path ? '/'.$path : $path);
}
/**
* 文件上传目录
*/
function upload_path($path = '')
{
return public_path('uploads').($path ? '/'.$path : $path);
}
// 序号规则生成
function make_sn($config, $update = false)
{