无关风月
2024-07-11 eb6b6dbb35a9f029e0b7d269773685c19fd40976
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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<Phone> list();
 
    /**
     * 修改客服电话
     */
    @RequestMapping("/update")
    @ResponseBody
    Object update(@RequestBody Phone phone);
}