From b2709cffd8ff6846be7a4d3931b2bce23c645073 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=B5=B7?= Date: Sat, 25 Apr 2020 21:53:57 +0800 Subject: [PATCH] . --- index/src/app/api/http/http.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index/src/app/api/http/http.service.ts b/index/src/app/api/http/http.service.ts index ecea0d2..f08f30d 100644 --- a/index/src/app/api/http/http.service.ts +++ b/index/src/app/api/http/http.service.ts @@ -24,7 +24,7 @@ export class HttpService { Service(request: RequestObj) { // 设置默认值 - request.contentType = request.contentType == null ? 'application/x-www-form-urlencoded' : 'application/json'; + request.contentType = request.contentType == null ? 'application/x-www-form-urlencoded' : request.contentType; request.header = { 'Content-Type': request.contentType };