|
@@ -88,7 +88,8 @@ export class HttpHelper {
|
|
connectTimeout: 20000,
|
|
connectTimeout: 20000,
|
|
readTimeout: 20000,
|
|
readTimeout: 20000,
|
|
header: header,
|
|
header: header,
|
|
- extraData: params.data
|
|
|
|
|
|
+ extraData: params.data,
|
|
|
|
+ usingCache: false,
|
|
})
|
|
})
|
|
.then((data: http.HttpResponse) => {
|
|
.then((data: http.HttpResponse) => {
|
|
if (showLog) {
|
|
if (showLog) {
|
|
@@ -171,6 +172,7 @@ export class HttpHelper {
|
|
connectTimeout: 20000,
|
|
connectTimeout: 20000,
|
|
readTimeout: 20000,
|
|
readTimeout: 20000,
|
|
header: header,
|
|
header: header,
|
|
|
|
+ usingCache: false,
|
|
extraData: data ? encodeURI(data) : undefined
|
|
extraData: data ? encodeURI(data) : undefined
|
|
})
|
|
})
|
|
.then((data: http.HttpResponse) => {
|
|
.then((data: http.HttpResponse) => {
|
|
@@ -254,6 +256,7 @@ export class HttpHelper {
|
|
connectTimeout: 20000,
|
|
connectTimeout: 20000,
|
|
readTimeout: 20000,
|
|
readTimeout: 20000,
|
|
header: params.headers,
|
|
header: params.headers,
|
|
|
|
+ usingCache: false,
|
|
// extraData: params.data
|
|
// extraData: params.data
|
|
})
|
|
})
|
|
.then((data: http.HttpResponse) => {
|
|
.then((data: http.HttpResponse) => {
|