Browse Source

文件上传目录directory加年月

master
李可松 4 years ago
parent
commit
f6376e3546
  1. 4
      config/admin-agent.php
  2. 4
      config/admin-guide.php
  3. 4
      config/admin-settled.php
  4. 4
      config/admin-supplier.php
  5. 4
      config/admin.php

4
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'),
],
],

4
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'),
],
],

4
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'),
],
],

4
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'),
],
],

4
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'),
],
],

Loading…
Cancel
Save