From 8eef54d67522f078266a54f0c0596b67c012e6d6 Mon Sep 17 00:00:00 2001 From: value <z1292839451@163.com> Date: 星期二, 29 八月 2023 14:34:05 +0800 Subject: [PATCH] bug --- src/api/util/requestUtil.js | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/api/util/requestUtil.js b/src/api/util/requestUtil.js index 3055a2f..df22c02 100644 --- a/src/api/util/requestUtil.js +++ b/src/api/util/requestUtil.js @@ -16,6 +16,14 @@ }) } +export function put(path, data) { + return request({ + url: path, + method: 'put', + data + }) +} + export function wpost(path, params) { return request({ url: path, -- Gitblit v1.9.3