From 52dc3e1788510474322deb86c350c17ed98cb904 Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: Thu, 6 Feb 2025 15:35:33 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E5=8A=A0=E5=AF=86=E5=90=8E=E4=BF=AE?= =?UTF-8?q?=E6=94=B9content-type?= 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 insertion(+) diff --git a/apps/web-antd/src/api/request.ts b/apps/web-antd/src/api/request.ts index 515cb70d..f7b5cecf 100644 --- a/apps/web-antd/src/api/request.ts +++ b/apps/web-antd/src/api/request.ts @@ -129,6 +129,7 @@ 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; },