using HoneyBox.Model.Models.Auth;

namespace HoneyBox.Core.Interfaces;

/// <summary>
/// IP地理位置服务接口
/// </summary>
public interface IIpLocationService
{
    /// <summary>
    /// 根据IP地址获取地理位置信息
    /// </summary>
    /// <param name="ip">IP地址</param>
    /// <returns>IP地理位置结果</returns>
    Task<IpLocationResult> GetLocationAsync(string ip);
}
