refactor: 添加图片上传默认为unknown模块
This commit is contained in:
@@ -12,7 +12,7 @@ class Images
|
|||||||
// 上传
|
// 上传
|
||||||
public function upload()
|
public function upload()
|
||||||
{
|
{
|
||||||
$param = request()->param(['module']);
|
$param = request()->param(['module' => 'unknown']);
|
||||||
if (is_null($param)) {
|
if (is_null($param)) {
|
||||||
return error('请确定请求参数正确');
|
return error('请确定请求参数正确');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user