From cd77063f68389641c8722e6c15c438a6b318cd4c Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: Fri, 7 Feb 2025 11:45:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8A=A0=E5=AF=86=E5=90=8E=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E8=AF=B7=E6=B1=82=E5=A4=B4=E4=BC=9A=E9=80=A0=E6=88=90?= =?UTF-8?q?=E6=8A=A5=E9=94=99HttpMediaTypeNotSupportedException?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-antd/src/api/request.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/web-antd/src/api/request.ts b/apps/web-antd/src/api/request.ts index f7b5cecf..515cb70d 100644 --- a/apps/web-antd/src/api/request.ts +++ b/apps/web-antd/src/api/request.ts @@ -129,7 +129,6 @@ function createRequestClient(baseURL: string) { typeof config.data === 'object' ? encryptWithAes(JSON.stringify(config.data), aesKey) : encryptWithAes(config.data, aesKey); - config.headers['Content-Type'] = 'text/plain;charset=utf-8'; } return config; },