|
@@ -106,7 +106,7 @@ class UploadUtil {
|
|
|
// "Authorization": this.token
|
|
|
'Authorization': this.uploadParams?.token ?? "",
|
|
|
},
|
|
|
- }).then((res: http.HttpResponse) => {
|
|
|
+ }).then(async (res: http.HttpResponse) => {
|
|
|
|
|
|
let result: ResultModel = JSON.parse(res.result as string)
|
|
|
console.log(TAG, "ddddddd success", JSON.stringify(result?.data ?? ""));
|
|
@@ -121,7 +121,7 @@ class UploadUtil {
|
|
|
seqNo: this.uploadParams?.seqNo ?? "",
|
|
|
}
|
|
|
|
|
|
- JGRequest.request({
|
|
|
+ await JGRequest.request({
|
|
|
method: this.uploadParams?.method ?? "post",
|
|
|
url: this.uploadParams?.apiUrlPath,
|
|
|
data: data
|