初始化
缺陷:主题配色需要优化整体的同风格
This commit is contained in:
@@ -44,4 +44,19 @@ class UploadController extends BaseController
|
||||
'上传成功'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* 文档上传(PDF 等)
|
||||
* @Method POST
|
||||
* @return JsonResponse
|
||||
* @throws \Exception
|
||||
*/
|
||||
public function file()
|
||||
{
|
||||
$file = request()->file('file');
|
||||
return jok(
|
||||
$this->service->uploadDocument($file),
|
||||
'上传成功'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user