package com.dsh.course.feignClient.other; import com.dsh.course.dto.CreateHistoryDto; import com.dsh.course.dto.GetHistoryDto; import com.dsh.guns.modular.system.model.Store; import com.dsh.guns.modular.system.model.dto.GiftSearchDto; import com.dsh.guns.modular.system.model.dto.SelectDto; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import java.util.List; /** * 常见问题 */ @FeignClient(value = "mb-cloud-other") public interface HistoryClient { @RequestMapping("base/site/getStoreByStoreStaffId") List getStoreByStoreStaffId(@RequestBody Integer id); @PostMapping("/class/hisotory") void createHistory(CreateHistoryDto historyDto); @PostMapping("/class/gethisotory") List getHisory(@RequestBody Integer studentId); }