diff --git a/BuildProfile.ets b/BuildProfile.ets index ecd856f..25f5968 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.11'; -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.ets b/src/main/ets/http/HttpHelper.ets index 55e11a1..e58b775 100644 --- a/src/main/ets/http/HttpHelper.ets +++ b/src/main/ets/http/HttpHelper.ets @@ -88,8 +88,8 @@ export class HttpHelper { httpRequest.request(HttpHelperX.getUrl(params.url, params.query), { method: http.RequestMethod.POST, - connectTimeout: 20000, - readTimeout: 20000, + connectTimeout: 60000, + readTimeout: 60000, header: header, extraData: params.data, usingCache: false,