zhangnaiwen пре 2 година
родитељ
комит
7833a4c50f
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/app/api/data.py

+ 1 - 1
src/app/api/data.py

@@ -524,7 +524,7 @@ underlying_system.add_argument(name='picture', type=FileStorage, location='files
 
 @ns.route('/underlying_system')
 class UnderlyingSystemMessageApi(Resource):
-    # method_decorators = [login_required]
+    method_decorators = [login_required]
 
     @ns.doc(id='underlying_system_list', description='获取底层系统')
     @ns.expect()