package com.dsh.course.feignClient.other; import com.dsh.course.feignClient.other.model.HonorRules; import com.dsh.course.feignClient.other.model.Phone; import com.dsh.guns.modular.system.model.UpdatePhoneVO; 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.ResponseBody; import java.util.List; import java.util.Map; @FeignClient(value = "mb-cloud-other") public interface PhoneClient { @RequestMapping(value = "/base/phone/list") List list(); /** * 修改客服电话 */ @RequestMapping("/update") @ResponseBody Object update(@RequestBody Phone phone); }