()
| 16 | @Slf4j |
| 17 | public class MangaSign implements Task { |
| 18 | @Override |
| 19 | public void run() { |
| 20 | |
| 21 | String platform = ConfigLoader.helperConfig.getTaskConfig().getDevicePlatform(); |
| 22 | String requestBody = "platform=" + platform; |
| 23 | JsonObject result = HttpUtils.doPost(ApiList.MANGA, requestBody); |
| 24 | |
| 25 | if (result == null) { |
| 26 | log.info("哔哩哔哩漫画已经签到过了"); |
| 27 | } else { |
| 28 | log.info("完成漫画签到"); |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | @Override |
| 33 | public String getName() { |