 package org.sky.desk.feign;

 import org.sky.core.launch.constant.AppConstant;
 import org.sky.core.mp.support.KdPage;
 import org.sky.desk.pojo.entity.Notice;
 import org.springframework.cloud.openfeign.FeignClient;
 import org.springframework.web.bind.annotation.GetMapping;
 import org.springframework.web.bind.annotation.RequestParam;

/**
 * Notice Feign接口类
 *
  */
@FeignClient(
	value = AppConstant.APPLICATION_DESK_NAME
)
public interface INoticeClient {

	String API_PREFIX = "/feign/client/notice";
	String TOP = API_PREFIX + "/top";

	/**
	 * 获取notice列表
	 *
	 * @param current
	 * @param size
	 * @return
	 */
	@GetMapping(TOP)
	KdPage<Notice> top(@RequestParam("current") Integer current, @RequestParam("size") Integer size);

}
