def run(self):
    if (int(self.now_date.replace('-', '')) > 20220228):
        return
    try:
        self.login()
        self.index()
        result = self.overTask()
        for task_name in ['loginmail', 'clubactivity', 'club']:
            if (task_name in result):
                continue
            self.doTask(task_name)
            self.flushTime(1)
        else:
            print('积分签到任务已完成')
        (lastDay, keepSign) = self.userInfo()
        if (keepSign == '21'):
            print('跳过21天之后的打卡')
            self.message = '每日签到: 跳过21天之后的打卡'
            self.recordLog(self.message)
            return
        else:
            if (self.now_date.replace('-', '') == lastDay):
                print('今日已打卡')
                return
            else:
                self.check()
                self.prizeDetail()
            (lastDay, _) = self.userInfo()
            if (self.now_date.replace('-', '') == lastDay):
                self.message = '每日签到: 已签到'
            else:
                self.message = '每日签到: 未签到'
            self.recordLog(self.message)
    except Exception as e:
        print(e)
def run(self):
    if (int(self.now_date.replace('-', )) > 20220228):
        return
    try:
        self.login()
        self.index()
        result = self.overTask()
        for task_name in ['loginmail', 'clubactivity', 'club']:
            if (task_name in result):
                continue
            self.doTask(task_name)
            self.flushTime(1)
        else:
            print('积分签到任务已完成')
        (lastDay, keepSign) = self.userInfo()
        if (keepSign == '21'):
            print('跳过21天之后的打卡')
            self.message = '每日签到: 跳过21天之后的打卡'
            self.recordLog(self.message)
            return
        else:
            if (self.now_date.replace('-', ) == lastDay):
                print('今日已打卡')
                return
            else:
                self.check()
                self.prizeDetail()
            (lastDay, _) = self.userInfo()
            if (self.now_date.replace('-', ) == lastDay):
                self.message = '每日签到: 已签到'
            else:
                self.message = '每日签到: 未签到'
            self.recordLog(self.message)
    except Exception as e:
        print(e)