From c71562a12f78fd9e0407e84174effbbd9a11769f Mon Sep 17 00:00:00 2001 From: VincentFu Date: Sun, 3 Oct 2021 17:31:39 +0000 Subject: [PATCH] =?UTF-8?q?update=20applications/view/department/=5F=5Fini?= =?UTF-8?q?t=5F=5F.py.=20=E8=BF=99=E4=B8=AA=E5=9C=B0=E6=96=B9=E4=B9=9F?= =?UTF-8?q?=E9=9C=80=E8=A6=81=E7=9B=B8=E5=BA=94=E7=9A=84=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=EF=BC=8C=E5=92=8Cpower.py=E4=B8=80=E6=A0=B7=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- applications/view/department/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/view/department/__init__.py b/applications/view/department/__init__.py index 71e7b46..cd8e7af 100644 --- a/applications/view/department/__init__.py +++ b/applications/view/department/__init__.py @@ -22,7 +22,7 @@ def main(): return render_template('admin/dept/main.html') -@dept_bp.get('/data') +@dept_bp.post('/data') @authorize("admin:dept:main", log=True) def data(): dept = Dept.query.order_by(Dept.sort).all() -- Gitee