diff --git a/config/admin-agent.php b/config/admin-agent.php index d9759c4..9e3aa99 100644 --- a/config/admin-agent.php +++ b/config/admin-agent.php @@ -256,8 +256,8 @@ return [ // Image and file upload path under the disk above. 'directory' => [ - 'image' => 'agent/images', - 'file' => 'agent/files', + 'image' => 'agent/images/' . date('Y-m'), + 'file' => 'agent/files/' . date('Y-m'), ], ], diff --git a/config/admin-guide.php b/config/admin-guide.php index 34561aa..0fbc487 100644 --- a/config/admin-guide.php +++ b/config/admin-guide.php @@ -256,8 +256,8 @@ return [ // Image and file upload path under the disk above. 'directory' => [ - 'image' => 'guide/images', - 'file' => 'guide/files', + 'image' => 'guide/images/' . date('Y-m'), + 'file' => 'guide/files/' . date('Y-m'), ], ], diff --git a/config/admin-settled.php b/config/admin-settled.php index 6ca6d8b..ffa66c8 100644 --- a/config/admin-settled.php +++ b/config/admin-settled.php @@ -263,8 +263,8 @@ return [ // Image and file upload path under the disk above. 'directory' => [ - 'image' => 'settled/images', - 'file' => 'settled/files', + 'image' => 'settled/images/' . date('Y-m'), + 'file' => 'settled/files/' . date('Y-m'), ], ], diff --git a/config/admin-supplier.php b/config/admin-supplier.php index da5398b..ff4511a 100644 --- a/config/admin-supplier.php +++ b/config/admin-supplier.php @@ -256,8 +256,8 @@ return [ // Image and file upload path under the disk above. 'directory' => [ - 'image' => 'supplier/images', - 'file' => 'supplier/files', + 'image' => 'supplier/images/' . date('Y-m'), + 'file' => 'supplier/files/' . date('Y-m'), ], ], diff --git a/config/admin.php b/config/admin.php index 9d2c37f..e699c57 100644 --- a/config/admin.php +++ b/config/admin.php @@ -265,8 +265,8 @@ return [ // Image and file upload path under the disk above. 'directory' => [ - 'image' => 'yytx/images', - 'file' => 'yytx/files', + 'image' => 'yytx/images/' . date('Y-m'), + 'file' => 'yytx/files/' . date('Y-m'), ], ],