Commit 02c2186
authored
feat(JuHeIpLocatorProvider): add JuHeIpLocatorProvider package (#5404)
* feat: 增加 enableIpLocator 参数控制
* feat: 增加禁止调用 ip.axd 逻辑
* refactor: 增加 EnableIpLocator 参数
* chore: bump version 9.3.1-beta23
* refactor: 代码重构
* refactor: 移除不使用的命名空间
* feat: 增加离线 IP 地理位置定位包
* chore: 增加 IP2Region 包引用
* doc: 更新文档
* refactor: 增加 JuHeIpLocatorOptions 配置类
* refactor: 重构逻辑
* chore: 移除 JuHeIpLocatorProvider
* test: 更新单元测试
* refactor: 移除注入服务代码
* chore: bump version 9.3.1-beta24
* chore: 增加 BootstrapBlazor.JuHeIpLocatorProvider 包依赖
* doc: 更新文档
* test: 更新单元测试
* feat: 增加 Keyed 服务
* test: 增加单元测试1 parent 75897ad commit 02c2186
File tree
8 files changed
+15
-301
lines changed- src
- BootstrapBlazor.Server
- Extensions
- Locales
- BootstrapBlazor
- Extensions
- Services/IPLocator
- test/UnitTest/Services
8 files changed
+15
-301
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
85 | 88 | | |
86 | 89 | | |
87 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4142 | 4142 | | |
4143 | 4143 | | |
4144 | 4144 | | |
4145 | | - | |
| 4145 | + | |
4146 | 4146 | | |
4147 | 4147 | | |
4148 | 4148 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4142 | 4142 | | |
4143 | 4143 | | |
4144 | 4144 | | |
4145 | | - | |
| 4145 | + | |
4146 | 4146 | | |
4147 | 4147 | | |
4148 | 4148 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
54 | 58 | | |
55 | 59 | | |
56 | 60 | | |
| |||
Lines changed: 0 additions & 203 deletions
This file was deleted.
0 commit comments