ManagerClient.java 813 B

12345678910111213141516171819
  1. package com.bosshand.virgo.api.service;
  2. import com.alibaba.fastjson.JSONArray;
  3. import org.springframework.cloud.openfeign.FeignClient;
  4. import org.springframework.web.bind.annotation.PathVariable;
  5. import org.springframework.web.bind.annotation.RequestBody;
  6. import org.springframework.web.bind.annotation.RequestMapping;
  7. import org.springframework.web.bind.annotation.RequestMethod;
  8. @FeignClient("virgo-manager")
  9. public interface ManagerClient {
  10. @RequestMapping(value = "/message/reminder", method = RequestMethod.POST)
  11. public void pushReminderMessage(@RequestBody JSONArray data);
  12. @RequestMapping(value = "/client/listByDate/{projectId}/{start}/{end}", method = RequestMethod.GET)
  13. public String listByDate(@PathVariable String start, @PathVariable String end, @PathVariable long projectId);
  14. }