1、修复后台参数获取的bug

2、上传图片类型增加jpeg
This commit is contained in:
2018-03-30 11:32:35 +08:00
parent 9651fe14c4
commit 37f4436298
5 changed files with 11 additions and 11 deletions

View File

@@ -62,7 +62,7 @@ return [
'picture_upload' => [
'rootPath' => ROOT_PATH . DS .'/web/uploads/',
'size' => '204800',
'ext' => 'jpg,png,gif'
'ext' => 'jpg,jpeg,png,gif'
],
'attachment_upload' => [
@@ -74,6 +74,6 @@ return [
'picture_upload' => [
'rootPath' => ROOT_PATH . DS .'/web/uploads/',
'size' => '204800',
'ext' => 'jpg,png,gif'
'ext' => 'jpg,jpeg,png,gif'
],
];