package cn.quantgroup.xyqb.service.api;

import cn.quantgroup.xyqb.model.UserFullInfo;

import java.util.Optional;

/**
 * Created by FrankChow on 15/12/16.
 */
public interface IUserApiService {

    /**
     * 根据uuid查询用户完整信息
     *
     * @param uuid
     * @return
     */
    Optional<UserFullInfo> getUserFullInfoByUuid(String uuid);

    /**
     * 根据phone查询完整信息
     *
     * @param phoneNo
     * @return
     */
    Optional<UserFullInfo> getUserFullInfoByPhone(String phoneNo);
}
