1、修复后台参数获取的bug
2、上传图片类型增加jpeg
This commit is contained in:
@@ -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'
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user