package com.bosshand.virgo.api.service; import com.alibaba.fastjson.JSONArray; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; @FeignClient("virgo-manager") public interface ManagerClient { @RequestMapping(value = "/message/reminder", method = RequestMethod.POST) public void pushReminderMessage(@RequestBody JSONArray data); @RequestMapping(value = "/client/listByDate/{projectId}/{start}/{end}", method = RequestMethod.GET) public String listByDate(@PathVariable String start, @PathVariable String end, @PathVariable long projectId); }