Skip to content

Commit 23213a6

Browse files
committed
fix: demo 优化
1 parent 099d58c commit 23213a6

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

demo/demo.js

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4403,7 +4403,7 @@ function createDataset() {
44034403
console.log(err);
44044404
} else {
44054405
// 处理请求成功
4406-
console.log(data.Body && JSON.parse(data.Body));
4406+
console.log(data);
44074407
}
44084408
}
44094409
);
@@ -4442,7 +4442,7 @@ function updateDataset() {
44424442
console.log(err);
44434443
} else {
44444444
// 处理请求成功
4445-
console.log(data.Body && JSON.parse(data.Body));
4445+
console.log(data);
44464446
}
44474447
}
44484448
);
@@ -4477,7 +4477,7 @@ function deleteDataset() {
44774477
console.log(err);
44784478
} else {
44794479
// 处理请求成功
4480-
console.log(data.Body && JSON.parse(data.Body));
4480+
console.log(data);
44814481
}
44824482
}
44834483
);
@@ -4512,7 +4512,7 @@ function describeDatasets() {
45124512
console.log(err);
45134513
} else {
45144514
// 处理请求成功
4515-
console.log(data.Body && JSON.parse(data.Body));
4515+
console.log(data);
45164516
}
45174517
}
45184518
);
@@ -4548,7 +4548,7 @@ function describeDataset() {
45484548
console.log(err);
45494549
} else {
45504550
// 处理请求成功
4551-
console.log(data.Body && JSON.parse(data.Body));
4551+
console.log(data);
45524552
}
45534553
}
45544554
);
@@ -4585,7 +4585,7 @@ function createDatasetBinding() {
45854585
console.log(err);
45864586
} else {
45874587
// 处理请求成功
4588-
console.log(data.Body && JSON.parse(data.Body));
4588+
console.log(data);
45894589
}
45904590
}
45914591
);
@@ -4622,7 +4622,7 @@ function deleteDatasetBinding() {
46224622
console.log(err);
46234623
} else {
46244624
// 处理请求成功
4625-
console.log(data.Body && JSON.parse(data.Body));
4625+
console.log(data);
46264626
}
46274627
}
46284628
);
@@ -4656,7 +4656,7 @@ function describeDatasetBinding() {
46564656
console.log(err);
46574657
} else {
46584658
// 处理请求成功
4659-
console.log(data.Body && JSON.parse(data.Body));
4659+
console.log(data);
46604660
}
46614661
}
46624662
);
@@ -4692,7 +4692,7 @@ function describeDatasetBindings() {
46924692
console.log(err);
46934693
} else {
46944694
// 处理请求成功
4695-
console.log(data.Body && JSON.parse(data.Body));
4695+
console.log(data);
46964696
}
46974697
}
46984698
);
@@ -4747,7 +4747,7 @@ function createFileMetaIndex() {
47474747
console.log(err);
47484748
} else {
47494749
// 处理请求成功
4750-
console.log(data.Body && JSON.parse(data.Body));
4750+
console.log(data);
47514751
}
47524752
}
47534753
);
@@ -4784,7 +4784,7 @@ function deleteFileMetaIndex() {
47844784
console.log(err);
47854785
} else {
47864786
// 处理请求成功
4787-
console.log(data.Body && JSON.parse(data.Body));
4787+
console.log(data);
47884788
}
47894789
}
47904790
);
@@ -4818,7 +4818,7 @@ function describeFileMetaIndex() {
48184818
console.log(err.message);
48194819
} else {
48204820
// 处理请求成功
4821-
console.log(data.Body && JSON.parse(data.Body));
4821+
console.log(data);
48224822
}
48234823
}
48244824
);
@@ -4870,7 +4870,7 @@ function updateFileMetaIndex() {
48704870
console.log(err);
48714871
} else {
48724872
// 处理请求成功
4873-
console.log(data.Body && JSON.parse(data.Body));
4873+
console.log(data);
48744874
}
48754875
}
48764876
);
@@ -4928,7 +4928,7 @@ function datasetSimpleQuery() {
49284928
console.log(err);
49294929
} else {
49304930
// 处理请求成功
4931-
console.log(data.Body && JSON.parse(data.Body));
4931+
console.log(data);
49324932
}
49334933
}
49344934
);
@@ -4972,7 +4972,7 @@ function datasetFaceSearch() {
49724972
console.log(err);
49734973
} else {
49744974
// 处理请求成功
4975-
console.log(data.Body && JSON.parse(data.Body));
4975+
console.log(data);
49764976
}
49774977
}
49784978
);
@@ -5016,7 +5016,7 @@ function searchImage() {
50165016
console.log(err);
50175017
} else {
50185018
// 处理请求成功
5019-
console.log(data.Body && JSON.parse(data.Body));
5019+
console.log(data);
50205020
}
50215021
}
50225022
);

0 commit comments

Comments
 (0)