1、修复几处bug

2、上传配置修改
This commit is contained in:
2018-04-03 19:26:06 +08:00
parent b97da3e1ac
commit 1f0dd54ab8
5 changed files with 13 additions and 12 deletions

View File

@@ -61,19 +61,19 @@ return [
'picture_upload' => [
'rootPath' => ROOT_PATH . DS .'/web/uploads/',
'size' => '204800',
'size' => '2',
'ext' => 'jpg,jpeg,png,gif'
],
'attachment_upload' => [
'rootPath' => ROOT_PATH . DS .'/web/uploads/',
'size' => '204800',
'size' => '2',
'ext' => 'doc,docx,xls,xlsx,ppt,pptx,zip,rar'
],
'picture_upload' => [
'rootPath' => ROOT_PATH . DS .'/web/uploads/',
'size' => '204800',
'size' => '2',
'ext' => 'jpg,jpeg,png,gif'
],
];