mirror of
https://gitee.com/LongbowEnterprise/BootstrapBlazor.git
synced 2024-12-05 05:29:47 +08:00
!2336 feat(#I4RG4D): provider BaiduLocator by default
* feat: 公开内置地理位置定位服务
This commit is contained in:
parent
9bd5fc506f
commit
b49bfb2695
@ -11,8 +11,11 @@ namespace BootstrapBlazor.Components;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
class BaiDuIPLocator : DefaultIPLocator
|
||||
public class BaiDuIPLocator : DefaultIPLocator
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public BaiDuIPLocator()
|
||||
{
|
||||
Url = "https://sp0.baidu.com/8aQDcjqpAAV3otqbppnN2DJv/api.php?resource_id=6006&query={0}";
|
||||
|
@ -13,7 +13,7 @@ namespace BootstrapBlazor.Components;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
class DefaultIPLocator : IIPLocator
|
||||
public class DefaultIPLocator : IIPLocator
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user