package com.xiang.xservice.application.script.glados.controller;

import com.xiang.xservice.application.script.glados.service.GLaDOSService;
import com.xiang.xservice.basic.common.resp.Result;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: xiang
 * @Date: 2025-05-08 14:57
 */
@RestController
@RequestMapping("/system/glados")
@RequiredArgsConstructor
public class GLaDOSController {


    private final GLaDOSService glaDOSService;

    @GetMapping("/checkIn")
    public Result<Void> checkIn() {
        glaDOSService.checkInV2();
        return Result.success();
    }

}
