feat:glados和ddns脚本

This commit is contained in:
xiang
2026-05-03 23:11:50 +08:00
parent f36766112f
commit 72db541e22
25 changed files with 603 additions and 7 deletions

View File

@@ -0,0 +1,27 @@
package com.xiang.service.module.glados.server;
import com.xiang.service.module.glados.service.IGLaDOSService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
@Slf4j
@RestController
@RequestMapping("/script/glados")
@RequiredArgsConstructor
public class GladosServer {
private final IGLaDOSService gladosService;
@GetMapping("/checkIn")
public void checkIn(@RequestParam("username") String username) {
try {
gladosService.checkIn(username);
} catch (Exception e) {
log.error(e.getMessage());
}
}
}