Skip to content

Commit

Permalink
更新[去哪儿]签到脚本: 调整通知样式
Browse files Browse the repository at this point in the history
  • Loading branch information
chavyleung committed Feb 6, 2020
1 parent 41d221b commit 4c05cd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qunar/qunar.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ function sign() {
if (result.errcode == 200) {
if (result.data.modalInfo.title) {
subTitle = '签到结果: 成功'
detail = `${result.data.unit}: ${result.data.total}, 连签: ${result.data.continuous}天, 说明: ${result.data.modalInfo.title}`
detail = `${result.data.unit}: ${result.data.preferential.counts}个, 共签: ${result.data.total}, 连签: ${result.data.continuous}天, 说明: ${result.data.modalInfo.title}`
} else {
subTitle = '签到结果: 成功 (重复签到)'
detail = `${result.data.unit}: ${result.data.total}, 连签: ${result.data.continuous}天`
detail = `${result.data.unit}: ${result.data.preferential.counts}个, 共签: ${result.data.total}, 连签: ${result.data.continuous}天`
}
} else {
subTitle = '签到结果: 失败'
Expand Down

0 comments on commit 4c05cd8

Please sign in to comment.