Skip to content

Commit f6c3f99

Browse files
mazhimazhi
authored andcommitted
1 parent 2b038c4 commit f6c3f99

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.vs/slnx.sqlite

0 Bytes
Binary file not shown.

jd/jd_jbczy.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,11 @@ async function doTask() {
8888
var sku = goldCreatorDetail.result.skuList[0];
8989
var taskbody = { "stageId": stageId, "subTitleId": item.subTitleId, "skuId": sku.skuId, "taskId": Number(item.taskId), "itemId": "3", "rankId": sku.rankId, "type": 1, "batchId": item.batchId }
9090
var goldCreatorDoTask = await doGet("https://api.m.jd.com/client.action?functionId=goldCreatorDoTask&body=" + encodeURIComponent(JSON.stringify(taskbody)) + "&appid=content_ecology&clientVersion=10.0.0&client=wh5");
91+
await $.wait(1000);
9192
if (goldCreatorDoTask.isSuccess == true) {
9293
console.log(goldCreatorDoTask.msg + "\n");
93-
console.log('result:' + goldCreatorDoTask.result);
94-
message += item.shortTitle + "---" + sku.name + "---" + goldCreatorDoTask.result + "\n"
94+
console.log('result:' + JSON.stringify(goldCreatorDoTask.result));
95+
message += item.shortTitle + "---" + sku.name + "---" + JSON.stringify(goldCreatorDoTask.result) + "\n"
9596
}
9697
else {
9798
console.log('获取goldCreatorDoTask失败');

0 commit comments

Comments
 (0)