setter
parent
7a316e843c
commit
07f3c1afa7
|
@ -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)){
|
||||||
|
|
Loading…
Reference in New Issue