MCPcopy Index your code
hub / github.com/OreosLab/bili / doServerPush

Method doServerPush

src/main/java/top/misec/task/ServerPush.java:19–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17public class ServerPush {
18
19 public static void doServerPush() {
20 PushConfig.PushInfo pushInfo = ConfigLoader.helperConfig.getPushConfig().getPushInfo();
21
22 if (null != pushInfo) {
23 pushInfo.getTarget().doPush(pushInfo.getMetaInfo(), ReadFileUtils.readFile(Constant.LOG_FILE_PATH));
24 } else {
25 log.info("未配置正确的ftKey和chatId,本次执行将不推送日志");
26 }
27 }
28}

Callers 4

testMainHandlerMethod · 0.95
mainMethod · 0.95
mainHandlerMethod · 0.95
doDailyTaskMethod · 0.95

Calls 3

readFileMethod · 0.95
getPushInfoMethod · 0.80
doPushMethod · 0.65

Tested by 1

testMainHandlerMethod · 0.76