|
|
@ -35,12 +35,10 @@ class UserInfo { |
|
|
|
let result = httpResult; |
|
|
|
if (!result) return |
|
|
|
//console.log(result)
|
|
|
|
if (result.code) { |
|
|
|
console.log(`签到失败:${result}`) |
|
|
|
if (result.status_code!=10000) { |
|
|
|
console.log(`签到失败:${result.msg }`) |
|
|
|
} else { |
|
|
|
if (result.credit) { |
|
|
|
console.log(`签到成功,获得${result.credit}积分,现有积分:${result.mission.my_credit}`) |
|
|
|
} |
|
|
|
console.log(`签到成功,连续签到${result.data.keepDay}天`) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|