From 28d4dfdec75443451d28f73400be8c1216d29dce Mon Sep 17 00:00:00 2001
From: Sky Chen <icksky4@gmail.com>
Date: Tue, 26 Jan 2021 10:19:09 +0800
Subject: [PATCH] =?UTF-8?q?=E5=B0=86=E6=BA=90=E7=9B=B8=E5=BA=94=E6=95=B0?=
 =?UTF-8?q?=E6=8D=AE=E5=8E=9F=E5=B0=81=E8=BF=94=E5=9B=9E=E4=BA=8E=20fix=20?=
 =?UTF-8?q?#28?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

将源相应数据原封返回于 `response.originResponse`, 以便于获取一些平台特殊数据, 如小游戏的 `res.profile`
---
 src/utils/platForm.ts | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/utils/platForm.ts b/src/utils/platForm.ts
index 88406fa..9716648 100644
--- a/src/utils/platForm.ts
+++ b/src/utils/platForm.ts
@@ -53,7 +53,8 @@ export function transformResponse (mpResponse: MpResponse, config: AxiosRequestC
     statusText,
     headers,
     config,
-    request: mpRequestOption
+    request: mpRequestOption,
+    originResponse: mpResponse
   }
   return response
 }