From a78b9e2d728b69f4b8b7f82cf36a3fd400bf53f4 Mon Sep 17 00:00:00 2001 From: wesley88 <9519127+wesley88@user.noreply.gitee.com> Date: Tue, 6 May 2025 11:09:12 +0800 Subject: [PATCH] 1 --- lvdao-miniapp/utils/request.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lvdao-miniapp/utils/request.js b/lvdao-miniapp/utils/request.js index 7215b99..9d0f4a7 100644 --- a/lvdao-miniapp/utils/request.js +++ b/lvdao-miniapp/utils/request.js @@ -10,7 +10,7 @@ const sendRequest = (url, method = 'GET', data = {}, baseUrl,contentType) => { if (method == 'POST' && !contentType) { types = 'application/x-www-form-urlencoded' } else if (method == 'POST' && contentType) { - types = contentType + types = contentType } else { types = 'application/json'; } -- libgit2 0.21.4