Skip to content

Commit 15a94b1

Browse files
author
lowking
committed
update ToolKit
1 parent 1403895 commit 15a94b1

12 files changed

Lines changed: 13 additions & 12 deletions

File tree

QQPet/lkQQPet.js

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

QQVip/qqVipCheckIn.js

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

bilibili/bangumiMonitor.js

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

bilibili/privilegeReceive.js

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

douyu/yubaSign.js

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

pupu/pupuCheckIn.js

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

sony/sonyClub.js

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

util/ToolKit.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,11 +516,12 @@ function ToolKit(scriptName, scriptId, options) {
516516
}
517517

518518
done(value) {
519-
this.costTime()
520519
let key = `body`
521520
if (this.isRequest()) {
522521
if (this.isQuanX()) key = `content`
523522
if (this.isSurge()) key = `body`
523+
} else {
524+
this.costTime()
524525
}
525526
let obj = {}
526527
obj[key] = value

util/ToolKit.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

util/example/ToolKitDemo.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)