diff --git a/src/main/ets/http/HttpHelper.ets b/src/main/ets/http/HttpHelper.ets index 9a2c366..eb11a5e 100644 --- a/src/main/ets/http/HttpHelper.ets +++ b/src/main/ets/http/HttpHelper.ets @@ -88,7 +88,8 @@ export class HttpHelper { connectTimeout: 20000, readTimeout: 20000, header: header, - extraData: params.data + extraData: params.data, + usingCache: false, }) .then((data: http.HttpResponse) => { if (showLog) { @@ -171,6 +172,7 @@ export class HttpHelper { connectTimeout: 20000, readTimeout: 20000, header: header, + usingCache: false, extraData: data ? encodeURI(data) : undefined }) .then((data: http.HttpResponse) => { @@ -254,6 +256,7 @@ export class HttpHelper { connectTimeout: 20000, readTimeout: 20000, header: params.headers, + usingCache: false, // extraData: params.data }) .then((data: http.HttpResponse) => {