package com.xueyi.system.api.holiday.feign;


import com.alibaba.fastjson2.JSONObject;
import com.xueyi.system.api.holiday.feign.factory.RemoteHolidayFallbackFactory;
import com.xueyi.system.api.sms.domain.vo.SmsReqEntity;
import com.xueyi.system.api.sms.feign.factory.RemoteSmsFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 短信发送服务
 *
 * @author yrx
 */
@FeignClient(url = "${notification.holiday.url}",name = "holiday", fallbackFactory = RemoteHolidayFallbackFactory.class)
public interface RemoteHolidayService {

    @GetMapping("/api/holiday/year")
    JSONObject getHolidays();

}