package com.seer.teach.teacher.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * <p>
 *
 * </p >
 *
 * @author Captain
 * @since 2025-07-26 16:11
 */
@FeignClient(name = ApiConstants.SERVER_NAME,contextId = "sseStatusServiceApi",path = "/seer/teacher")
public interface SseServiceApi {

    @GetMapping("/closeSse")
    void closeSse(@RequestParam("userId") Integer userId,
                                @RequestParam("type") Integer type);

    @GetMapping("/closeReadSse")
    void closeReadSse(@RequestParam("userId") Integer userId);

    @GetMapping("/startReadCountDown")
    void startReadCountDown(@RequestParam("userId") Integer userId);

    @GetMapping("/dailyWelcome")
    void dailyWelcome(@RequestParam("device") String device);
}