From b7b07f5b929dc5baac55bf66cd07f6e4fb6f1c0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=80=86=E6=B5=81=E8=80=8C=E4=B8=8A?= <1666888816@qq.com> Date: Fri, 26 Jul 2024 13:51:46 +0800 Subject: [PATCH] feat: support config oss MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 逆流而上 <1666888816@qq.com> --- console/views/logos.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/console/views/logos.py b/console/views/logos.py index d1932321a..9f2d80419 100644 --- a/console/views/logos.py +++ b/console/views/logos.py @@ -24,6 +24,7 @@ logger = logging.getLogger("default") class ConfigOSSView(JWTTokenView): + def get(self, request, *args, **kwargs): oss_config = ConsoleSysConfig.objects.filter(key='OSS_CONFIG').first() if oss_config: @@ -54,8 +55,6 @@ def put(self, request, *args, **kwargs): return Response(data=data, status=200) - - class ConfigRUDView(AlowAnyApiView): """ 获取配置信息