package com.dsh.course.feignClient.other; import com.dsh.course.feignClient.other.model.FrequentlyAskedQuestions; import com.dsh.course.feignClient.other.model.TSiteDTO; import com.dsh.guns.modular.system.model.QuestionChangeStateVO; import com.dsh.guns.modular.system.model.SiteSearchVO; import com.dsh.guns.modular.system.model.Store; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import java.util.List; /** * 常见问题 */ @FeignClient(value = "mb-cloud-other") public interface StoreClient { /** * 选择市区 展示全部门店 */ @RequestMapping("base/store/getStore") List getStore(@RequestBody String city); /** * 根据所选门店 查询经营时间 * @param oneId * @return */ @RequestMapping("base/store/getTime") Store getTime(@RequestBody String oneId); /** * 根据门店id获取门店信息 */ @RequestMapping("base/site/getStoreById") Store getStoreById(@RequestBody Integer id); /** * 根据城市管理员id获取门店 */ @RequestMapping("base/site/getStoreByCityManagerId") List getStoreByCityManagerId(@RequestBody Integer id); /** * 根据员工id获取门店 */ @RequestMapping("base/site/getStoreByStoreStaffId") List getStoreByStoreStaffId(@RequestBody Integer id); }