package com.sptg.permissions.api.feigns;

import com.sptg.permissions.api.entity.CustInfoVerify;
import com.sptg.permissions.api.feigns.fallback.CusInfoVerifyFeignFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * title: CustInfoVerifyFeign
 * package: com.sptg.permissions.api.feigns
 * description: 身份证验证接口
 *
 *
 *
 */
@FeignClient(value = "smart-house-permissions",fallbackFactory = CusInfoVerifyFeignFallbackFactory.class)
public interface CustInfoVerifyFeign {

    /**
     * 功能描述: 获取文件服务器地址
     * @return String
     *
     *
     */
    @PostMapping(value = "/custInfoVerify/verify")
    boolean verify(@RequestBody CustInfoVerify custInfoVerify);
}
