From 6d3e87a5edf7cb7b8ed6c4ab7b7b28d138b2b795 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E5=8B=A4=E6=B0=91?= Date: Tue, 15 Oct 2024 15:58:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E7=9B=B8=E5=85=B3=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BuildProfile.ets | 4 ++-- src/main/ets/http/HttpHelper.ts | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/BuildProfile.ets b/BuildProfile.ets index 3b7bc46..b64c9ce 100644 --- a/BuildProfile.ets +++ b/BuildProfile.ets @@ -2,8 +2,8 @@ * Use these variables when you tailor your ArkTS code. They must be of the const type. */ export const HAR_VERSION = '1.0.3'; -export const BUILD_MODE_NAME = 'release'; -export const DEBUG = false; +export const BUILD_MODE_NAME = 'debug'; +export const DEBUG = true; export const TARGET_NAME = 'default'; /** diff --git a/src/main/ets/http/HttpHelper.ts b/src/main/ets/http/HttpHelper.ts index 80b548c..bea5f8d 100644 --- a/src/main/ets/http/HttpHelper.ts +++ b/src/main/ets/http/HttpHelper.ts @@ -221,6 +221,7 @@ export class HttpHelper { ...params.headers } console.log('=====>', 'GET:', this.getUrl(params.url, params.query)) + console.log('=====>', 'header:', JSON.stringify(header)) httpRequest.request(this.getUrl(params.url, params.query), { method: http.RequestMethod.GET,