|
@@ -108,17 +108,17 @@ async function tryDaySign() {
|
|
|
magicJS.notification.appendNotifyInfo(`🎉今日已签到,无需再次签到!`);
|
|
magicJS.notification.appendNotifyInfo(`🎉今日已签到,无需再次签到!`);
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
- let result = await doDaySign();
|
|
|
|
|
- if (result) {
|
|
|
|
|
- // 0002已签到
|
|
|
|
|
- if (result.code === '0000') {
|
|
|
|
|
- magicJS.notification.appendNotifyInfo(`🎉签到成功!`);
|
|
|
|
|
- } else {
|
|
|
|
|
- magicJS.notification.appendNotifyInfo(`❌签到失败,错误:${result.desc}`);
|
|
|
|
|
- }
|
|
|
|
|
- } else {
|
|
|
|
|
- magicJS.notification.appendNotifyInfo(`🔴签到失败!`);
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // let result = await doDaySign();
|
|
|
|
|
+ // if (result) {
|
|
|
|
|
+ // // 0002已签到
|
|
|
|
|
+ // if (result.code === '0000') {
|
|
|
|
|
+ // magicJS.notification.appendNotifyInfo(`🎉签到成功!`);
|
|
|
|
|
+ // } else {
|
|
|
|
|
+ // magicJS.notification.appendNotifyInfo(`❌签到失败,错误:${result.desc}`);
|
|
|
|
|
+ // }
|
|
|
|
|
+ // } else {
|
|
|
|
|
+ // magicJS.notification.appendNotifyInfo(`🔴签到失败!`);
|
|
|
|
|
+ // }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
async function checkNotifyUsage(userInfo, onlineData) {
|
|
async function checkNotifyUsage(userInfo, onlineData) {
|