Pu Zhibing
2025-02-17 cdd88cf499248f528168101d05418520043962a9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.ruoyi.other.api.feignClient;
 
import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.other.api.factory.SystemConfigurationClientFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
 
/**
 * @author zhibing.pu
 * @Date 2025/2/17 9:45
 */
@FeignClient(contextId = "SystemConfigurationClient", value = ServiceNameConstants.OTHER_SERVICE, fallbackFactory = SystemConfigurationClientFallbackFactory.class)
public interface SystemConfigurationClient {
    
    
    /**
     * 获取客服电话
     * @return
     */
    @PostMapping(value = "/t-system-configuration/getServerPhone")
    R<String> getServerPhone();
}