From a7fa4155451e6c4ec490a28ef28c8a1e899921ae Mon Sep 17 00:00:00 2001 From: mkg <1650473152@qq.com> Date: Sat, 2 Oct 2021 23:06:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9D=83=E9=99=90=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E4=B8=BApost?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- applications/view/admin/power.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/view/admin/power.py b/applications/view/admin/power.py index fb3b448..8eded70 100644 --- a/applications/view/admin/power.py +++ b/applications/view/admin/power.py @@ -17,7 +17,7 @@ def index(): return render_template('admin/power/main.html') -@admin_power.get('/data') +@admin_power.post('/data') @authorize("admin:power:main", log=True) def data(): power = Power.query.all()