Skip to content

Commit

Permalink
feat: support config oss
Browse files Browse the repository at this point in the history
Signed-off-by: 逆流而上 <[email protected]>
  • Loading branch information
DokiDoki1103 committed Jul 26, 2024
1 parent 24f64cf commit b7b07f5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions console/views/logos.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -54,8 +55,6 @@ def put(self, request, *args, **kwargs):

return Response(data=data, status=200)



class ConfigRUDView(AlowAnyApiView):
"""
获取配置信息
Expand Down

0 comments on commit b7b07f5

Please sign in to comment.