From 15b7f7b552f2dafc477cfe0966395df96d0589a9 Mon Sep 17 00:00:00 2001 From: chentaisen <14615430+chentaisen@user.noreply.gitee.com> Date: Sun, 25 Aug 2024 18:44:34 +0800 Subject: [PATCH] Changes --- src/api/rule/rule.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/rule/rule.js b/src/api/rule/rule.js index 07a7b02..043cccc 100644 --- a/src/api/rule/rule.js +++ b/src/api/rule/rule.js @@ -30,7 +30,7 @@ export function addRule(data) { export function updateRule(data) { return request({ url: '/rule/rule/update', - method: 'post', + method: 'put', data: data }) }