(self)
| 213 | return False |
| 214 | |
| 215 | def runBattleTask(self): |
| 216 | for each in self.taskData: |
| 217 | if each['title'] == '每日签到': |
| 218 | if each['t_status'] == 0: |
| 219 | self.runViewTask(dic=each) |
| 220 | elif each['t_status'] == 1: |
| 221 | self.receiveAward(each) |
| 222 | elif each['t_status'] == 2: |
| 223 | notify(f"[{each['title']}]\t领取成功") |
| 224 | elif each['title'] == '浏览11.11主会场': |
| 225 | if each['t_status'] == 0: |
| 226 | self.runViewTask(dic=each) |
| 227 | elif each['t_status'] == 1: |
| 228 | self.receiveAward(each) |
| 229 | elif each['t_status'] == 2: |
| 230 | notify(f"[{each['title']}]\t任务完成") |
| 231 | elif each['title'] == '浏览天天抢5折会场': |
| 232 | if each['t_status'] == 0: |
| 233 | self.runViewTask(dic=each) |
| 234 | elif each['t_status'] == 1: |
| 235 | self.receiveAward(each) |
| 236 | elif each['t_status'] == 2: |
| 237 | notify(f"[{each['title']}]\t任务完成") |
| 238 | elif each['title'] == '浏览会员中心': |
| 239 | if each['t_status'] == 0: |
| 240 | self.runViewTask(dic=each) |
| 241 | elif each['t_status'] == 1: |
| 242 | self.receiveAward(each) |
| 243 | elif each['t_status'] == 2: |
| 244 | notify(f"[{each['title']}]\t任务完成") |
| 245 | elif each['title'] == '浏览OPPO 11.11会场': |
| 246 | if each['t_status'] == 0: |
| 247 | self.runViewTask(dic=each) |
| 248 | elif each['t_status'] == 1: |
| 249 | self.receiveAward(each) |
| 250 | elif each['t_status'] == 2: |
| 251 | notify(f"[{each['title']}]\t任务完成") |
| 252 | elif each['title'] == '浏览一加 11.11会场': |
| 253 | if each['t_status'] == 0: |
| 254 | self.runViewTask(dic=each) |
| 255 | elif each['t_status'] == 1: |
| 256 | self.receiveAward(each) |
| 257 | elif each['t_status'] == 2: |
| 258 | notify(f"[{each['title']}]\t任务完成") |
| 259 | elif each['title'] == '浏览realme 11.11会场': |
| 260 | if each['t_status'] == 0: |
| 261 | self.runViewTask(dic=each) |
| 262 | elif each['t_status'] == 1: |
| 263 | self.receiveAward(each) |
| 264 | elif each['t_status'] == 2: |
| 265 | notify(f"[{each['title']}]\t任务完成") |
| 266 | elif each['title'] == '浏览智能硬件 11.11会场': |
| 267 | if each['t_status'] == 0: |
| 268 | self.runViewTask(dic=each) |
| 269 | elif each['t_status'] == 1: |
| 270 | self.receiveAward(each) |
| 271 | elif each['t_status'] == 2: |
| 272 | notify(f"[{each['title']}]\t任务完成") |
no test coverage detected