package com.cool.store.service;

import com.cool.store.dto.partner.DescribePhoneNumberDTO;
import com.cool.store.enums.IDCardSideEnum;
import com.cool.store.exception.ApiException;
import com.cool.store.vo.cuser.IdentityCardInfoVO;

/**
 * @author zhangchenbiao
 * @FileName: AliyunService
 * @Description:阿里云相关服务
 * @date 2023-06-15 20:04
 */
public interface AliyunService {

    /**
     * 获取手机号归属信息
     * @param phoneNumber
     * @return
     */
    DescribePhoneNumberDTO getPhoneNumberAttribute(String phoneNumber);

    /**
     * 根据身份证正面获取信息
     * @param faceImageUrl
     * @return
     */
    IdentityCardInfoVO getIdentityCardInfo(String faceImageUrl, IDCardSideEnum sideEnum) throws ApiException;

}
