master
wangxinglong 2022-06-06 14:00:40 +08:00
parent 7a316e843c
commit 07f3c1afa7
1 changed files with 1 additions and 1 deletions

View File

@ -695,7 +695,7 @@ class Order extends Base
//保存的路径可自行设置 //保存的路径可自行设置
$path = public_path()."storage/order_excel/" ; $path = public_path()."storage/order_excel/" ;
if(!is_writable($path)){ if(!is_writable($path)){
return $this->json("上传文件夹需要写入权限"); return $this->json(4001,"上传文件夹需要写入权限");
} }
$path.=date("Ymd")."/"; $path.=date("Ymd")."/";
if(!is_dir($path)){ if(!is_dir($path)){