From 36d60ab81712f80b2d1397017ecb4a685bb1cd3f Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Sun, 31 Mar 2019 17:33:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=84=9A=E6=9C=AC=EF=BC=9A?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E9=BB=98=E8=AE=A4IP=E5=9C=B0=E5=9D=80?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E5=8A=9F=E8=83=BD=E7=8A=B6=E6=80=81=E4=B8=BA?= =?UTF-8?q?=E5=85=B3=E9=97=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #Comment BaiDuIPSvr为百度接口 JuheIPSvr为聚合接口 --- Bootstrap.Admin/BootstrapAdmin.db | Bin 90112 -> 90112 bytes DatabaseScripts/InitData.sql | 2 +- .../MongoDB/BootstrapAdmin.Dicts.json | 2 +- DatabaseScripts/MySQL/initData.sql | 2 +- DatabaseScripts/Postgresql/initData.sql | 2 +- DatabaseScripts/SQLite/InitData.sql | 2 +- 6 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Bootstrap.Admin/BootstrapAdmin.db b/Bootstrap.Admin/BootstrapAdmin.db index 578cfcf602adb6845d6472f255eaf184794af18c..415a47b1346cecc2428967f837b5bfd797b8b579 100644 GIT binary patch delta 363 zcmZoTz}j$tb%GQVEB8bhCm^{oAxmD)*igaH+{(zp%EZFRz|d0Hz*rYaX!8sC@DxV5 z$qp^nj3S$BS{5)f8cjafCAHbSgOQQZZL(#jF{91o+)filqs@yt z1L95TD{y31n(YvM7haIw-W0!W!V{26&qDK zo^Rg$eE0kp>-Ih0yUr;w)1}liAh@h3qokz3N?$**AX6_lu|O{=F*Bu9FF8L~KPNvq zu_QA;Pd~H3J~7+YET=3iz}F=w*C;*9ry$fIF|#nB*drp-$Un2(JuoOsEwjK@ONNa> o)l?M4CJE1gr*k$upV0PXZ!gf|XMIbb_AmC!&r97be&=N~0Hw%>Jpcdz delta 246 zcmZoTz}j$tb%GQV%k+sdPC#;FLYBOok&%L-nU#ULm5Hg5fuW_Yfw3-<(B>EN;VFz< zlO0;D8M!vsv@BqrEZQTz*}Q|1kx^r^Wv4Na%_c;2+rV6*t0m(2jPY+45Z diff --git a/DatabaseScripts/InitData.sql b/DatabaseScripts/InitData.sql index cf866f40..ac27591c 100644 --- a/DatabaseScripts/InitData.sql +++ b/DatabaseScripts/InitData.sql @@ -40,7 +40,7 @@ INSERT [dbo].[Dicts] ([Category], [Name], [Code], [Define]) VALUES (N'系统设 -- 时长单位 天 INSERT [dbo].[Dicts] ([Category], [Name], [Code], [Define]) VALUES (N'系统设置', N'Cookie保留时长', '7', 0) -INSERT [dbo].[Dicts] ([Category], [Name], [Code], [Define]) VALUES (N'系统设置', N'IP地理位置接口', 'JuheIPSvr', 0) +INSERT [dbo].[Dicts] ([Category], [Name], [Code], [Define]) VALUES (N'系统设置', N'IP地理位置接口', 'None', 0) INSERT [dbo].[Dicts] ([Category], [Name], [Code], [Define]) VALUES (N'系统设置', N'BaiDuIPSvr', 'http://api.map.baidu.com/location/ip?ak=6lvVPMDlm2gjLpU0aiqPsHXi2OiwGQRj&ip=', 0) INSERT [dbo].[Dicts] ([Category], [Name], [Code], [Define]) VALUES (N'系统设置', N'JuheIPSvr', 'http://apis.juhe.cn/ip/ipNew?key=f57102d1b9fadd3f4a1c29072d0c0206&ip=', 0) INSERT [dbo].[Dicts] ([Category], [Name], [Code], [Define]) VALUES (N'系统设置', N'演示系统', '0', 0) diff --git a/DatabaseScripts/MongoDB/BootstrapAdmin.Dicts.json b/DatabaseScripts/MongoDB/BootstrapAdmin.Dicts.json index 50d3b39a..83a3db13 100644 --- a/DatabaseScripts/MongoDB/BootstrapAdmin.Dicts.json +++ b/DatabaseScripts/MongoDB/BootstrapAdmin.Dicts.json @@ -311,7 +311,7 @@ "_id": ObjectId("5bd6c73d5fa31256f77e4a44"), "Category": "系统设置", "Name": "IP地理位置接口", - "Code": "JuheIPSvr", + "Code": "None", "Define": NumberInt(0) }, { diff --git a/DatabaseScripts/MySQL/initData.sql b/DatabaseScripts/MySQL/initData.sql index 7732ede9..fd7b41a6 100644 --- a/DatabaseScripts/MySQL/initData.sql +++ b/DatabaseScripts/MySQL/initData.sql @@ -37,7 +37,7 @@ INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('系统设置', '访问 -- 时长单位 天 INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('系统设置', 'Cookie保留时长', '7', 0); -INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('系统设置', 'IP地理位置接口', 'JuheIPSvr', 0); +INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('系统设置', 'IP地理位置接口', 'None', 0); INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('系统设置', 'BaiDuIPSvr', 'http://api.map.baidu.com/location/ip?ak=6lvVPMDlm2gjLpU0aiqPsHXi2OiwGQRj&ip=', 0); INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('系统设置', 'JuheIPSvr', 'http://apis.juhe.cn/ip/ipNew?key=f57102d1b9fadd3f4a1c29072d0c0206&ip=', 0); INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('系统设置', '演示系统', '0', 0); diff --git a/DatabaseScripts/Postgresql/initData.sql b/DatabaseScripts/Postgresql/initData.sql index 9086e3de..de69b56d 100644 --- a/DatabaseScripts/Postgresql/initData.sql +++ b/DatabaseScripts/Postgresql/initData.sql @@ -37,7 +37,7 @@ INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('系统设置', '访问 -- 时长单位 天 INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('系统设置', 'Cookie保留时长', '7', 0); -INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('系统设置', 'IP地理位置接口', 'JuheIPSvr', 0); +INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('系统设置', 'IP地理位置接口', 'None', 0); INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('系统设置', 'BaiDuIPSvr', 'http://api.map.baidu.com/location/ip?ak=6lvVPMDlm2gjLpU0aiqPsHXi2OiwGQRj&ip=', 0); INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('系统设置', 'JuheIPSvr', 'http://apis.juhe.cn/ip/ipNew?key=f57102d1b9fadd3f4a1c29072d0c0206&ip=', 0); INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('系统设置', '演示系统', '0', 0); diff --git a/DatabaseScripts/SQLite/InitData.sql b/DatabaseScripts/SQLite/InitData.sql index 72c9cf61..05b86073 100644 --- a/DatabaseScripts/SQLite/InitData.sql +++ b/DatabaseScripts/SQLite/InitData.sql @@ -35,7 +35,7 @@ INSERT INTO [Dicts] ([Category], [Name], [Code], [Define]) VALUES ('系统设置 -- 时长单位 天 INSERT INTO [Dicts] ([Category], [Name], [Code], [Define]) VALUES ('系统设置', 'Cookie保留时长', '7', 0); -INSERT INTO [Dicts] ([Category], [Name], [Code], [Define]) VALUES ('系统设置', 'IP地理位置接口', 'JuheIPSvr', 0); +INSERT INTO [Dicts] ([Category], [Name], [Code], [Define]) VALUES ('系统设置', 'IP地理位置接口', 'None', 0); INSERT INTO [Dicts] ([Category], [Name], [Code], [Define]) VALUES ('系统设置', 'BaiDuIPSvr', 'http://api.map.baidu.com/location/ip?ak=6lvVPMDlm2gjLpU0aiqPsHXi2OiwGQRj&ip=', 0); INSERT INTO [Dicts] ([Category], [Name], [Code], [Define]) VALUES ('系统设置', 'JuheIPSvr', 'http://apis.juhe.cn/ip/ipNew?key=f57102d1b9fadd3f4a1c29072d0c0206&ip=', 0); INSERT INTO [Dicts] ([Category], [Name], [Code], [Define]) VALUES ('系统设置', '演示系统', '0', 0);