package com.quantgroup.asset.distribution.service.feature;

import com.quantgroup.asset.distribution.model.form.AssetForm;
import com.quantgroup.asset.distribution.service.feature.bo.IdCardInfo;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @author : Hyuk
 * @description : IFeatureService
 * @date : 2020/7/15 5:45 下午
 */
public interface IFeatureService {

    /**
     * 这个是调用量子魔方接口
     * @param keys
     * @param assetForm
     * @param type 0: 缓存拿特证，没有null 1: 必有特征，缓存没有就去特征平台请求
     * @return
     */
    Map<String, Object> getFeatureData(Set<String> keys, AssetForm assetForm, int type);

    IdCardInfo getIdCardInfo(String uuid);
}
