refactor: 添加图片上传默认为unknown模块

This commit is contained in:
2025-02-12 16:35:30 +08:00
parent 96127e90c6
commit feb0b92bd0

View File

@@ -12,7 +12,7 @@ class Images
// 上传
public function upload()
{
$param = request()->param(['module']);
$param = request()->param(['module' => 'unknown']);
if (is_null($param)) {
return error('请确定请求参数正确');
}