瀏覽代碼

数据库初始化脚本

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()