package com.sptg.permissions.api.feigns;

import com.sptg.common.core.beans.ResultBean;
import com.sptg.permissions.api.entity.CustInfoVerify;
import com.sptg.permissions.api.feigns.fallback.CusInfoVerifyFeignFallbackFactory;
import com.sptg.permissions.api.feigns.fallback.FaceVerifyFeignFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

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

    /**
     * 功能描述: 获取文件服务器地址
     * @return String
     *
     *
     */
    @GetMapping(value = "/faceVerify/verify")
    ResultBean verify(@RequestParam(value = "faceUrl") String faceUrl);
}
