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.domain.TIntegralRule;
|
import com.ruoyi.other.api.factory.IntegralRuleFallbackFactory;
|
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
/**
|
* @author zhibing.pu
|
* @Date 2024/8/16 10:54
|
*/
|
@FeignClient(contextId = "IntegralRuleClient", value = ServiceNameConstants.OTHER_SERVICE, fallbackFactory = IntegralRuleFallbackFactory.class)
|
public interface IntegralRuleClient {
|
|
/**
|
* 获取积分设置
|
* @return
|
*/
|
@PostMapping("/integral/getSet2")
|
R<TIntegralRule> getSet();
|
}
|