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();
|
}
|