package com.njcn.user.api;

import com.njcn.common.pojo.constant.ServerInfo;
import com.njcn.common.pojo.response.HttpResult;
import com.njcn.user.api.fallback.PassWordRuleClientFallbackFactory;
import com.njcn.user.pojo.po.UserStrategy;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * Description:
 * Date: 2024/7/12  15:59【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@FeignClient(value = ServerInfo.USER,
//        url = "http://127.0.0.1:10201",
        path = "/password", fallbackFactory = PassWordRuleClientFallbackFactory.class,
        contextId = "password"
)
public interface PassWordRuleFeugnClient {
    @PostMapping(value = "/getUserStrategy")
    public HttpResult<UserStrategy> getUserStrategy() ;
}
