Skip to content

Commit eebcd40

Browse files
committed
修正签到失效部分
1 parent 6d67a05 commit eebcd40

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

‎ximalaya/ximalaya.js‎

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -118,22 +118,14 @@ function showmsg() {
118118
if (signinfo.info.isTickedToday == false) {
119119
if (signinfo.signapp == 'true') {
120120
subTitle = '签到: 成功'
121-
if (signinfo.info.totalCheckedCounts == undefined || signinfo.info.totalCheckedCounts == null){
122-
detail = `积分: ${signinfo.acc.data.score}(+${signinfo.info.awardAmount})`
123-
} else{
124-
detail = `共签: ${signinfo.info.totalCheckedCounts + 1}天, 积分: ${signinfo.acc.data.score}(+${signinfo.info.awardAmount})`
125-
}
121+
detail = `当前连签: ${signinfo.info.continuousDays}天, 积分: ${signinfo.acc.data.score}(+${signinfo.info.awardAmount})`
126122
} else {
127123
subTitle = '签到: 失败'
128124
detail = `说明: ${signinfo.signapp}`
129125
}
130126
} else {
131127
subTitle = `签到: 重复`
132-
if (signinfo.info.totalCheckedCounts == undefined || signinfo.info.totalCheckedCounts == null){
133-
detail = `积分: ${signinfo.acc.data.score}(+${signinfo.info.awardAmount})`
134-
} else{
135-
detail = `共签: ${signinfo.info.totalCheckedCounts + 1}天, 积分: ${signinfo.acc.data.score}(+${signinfo.info.awardAmount})`
136-
}
128+
detail = `当前连签: ${signinfo.info.continuousDays}天, 积分: ${signinfo.acc.data.score}(+${signinfo.info.awardAmount})`
137129
}
138130

139131
if (signinfo.browseapp) {

0 commit comments

Comments
 (0)