From e8cd9d293705d2aecf9c5646c321c62b0ee5eaf3 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Sun, 8 Sep 2019 17:52:20 +0800 Subject: [PATCH] =?UTF-8?q?db:=20=E6=9B=B4=E6=94=B9=E5=9B=BE=E5=BA=8A?= =?UTF-8?q?=E8=BF=9E=E6=8E=A5=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/MongoDB/Dicts.js | 2 +- scripts/MySQL/initData.sql | 2 +- scripts/Postgresql/initData.sql | 2 +- scripts/SQLite/InitData.sql | 2 +- scripts/SqlServer/InitData.sql | 2 +- src/admin/Bootstrap.Admin/BootstrapAdmin.db | Bin 98304 -> 98304 bytes 6 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/MongoDB/Dicts.js b/scripts/MongoDB/Dicts.js index 85cf3e31..94d2d0e8 100644 --- a/scripts/MongoDB/Dicts.js +++ b/scripts/MongoDB/Dicts.js @@ -243,7 +243,7 @@ { "Category": "系统设置", "Name": "验证码图床", - "Code": "http://images.sdgxgz.com/", + "Code": "http://imgs.sdgxgz.com/images/", "Define": NumberInt(0) }, { diff --git a/scripts/MySQL/initData.sql b/scripts/MySQL/initData.sql index 532fe616..a07a0cb1 100644 --- a/scripts/MySQL/initData.sql +++ b/scripts/MySQL/initData.sql @@ -48,7 +48,7 @@ INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('系统设置', 'JuheIP -- 时长单位 分钟 INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('系统设置', 'IP请求缓存时长', '10', 0); INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('系统设置', '演示系统', '0', 0); -INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('系统设置', '验证码图床', 'http://images.sdgxgz.com/', 0); +INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('系统设置', '验证码图床', 'http://imgs.sdgxgz.com/images/', 0); DELETE FROM Navigations Where Category = '0'; INSERT INTO Navigations (ParentId, Name, `Order`, Icon, Url, Category) VALUES (0, '后台管理', 10, 'fa fa-gear', '~/Admin/Index', '0'); diff --git a/scripts/Postgresql/initData.sql b/scripts/Postgresql/initData.sql index f2807fb5..c1de7f20 100644 --- a/scripts/Postgresql/initData.sql +++ b/scripts/Postgresql/initData.sql @@ -48,7 +48,7 @@ INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('系统设置', 'JuheIP INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('系统设置', '演示系统', '0', 0); -- 时长单位 分钟 INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('系统设置', 'IP请求缓存时长', '10', 0); -INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('系统设置', '验证码图床', 'http://images.sdgxgz.com/', 0); +INSERT INTO Dicts (Category, Name, Code, Define) VALUES ('系统设置', '验证码图床', 'http://imgs.sdgxgz.com/images/', 0); DELETE FROM Navigations Where Category = '0'; INSERT INTO Navigations (ParentId, Name, "order", Icon, Url, Category) VALUES (0, '后台管理', 10, 'fa fa-gear', '~/Admin/Index', '0'); diff --git a/scripts/SQLite/InitData.sql b/scripts/SQLite/InitData.sql index dc1b1f50..d88c59f3 100644 --- a/scripts/SQLite/InitData.sql +++ b/scripts/SQLite/InitData.sql @@ -48,7 +48,7 @@ INSERT INTO [Dicts] ([Category], [Name], [Code], [Define]) VALUES ('系统设置 -- 时长单位 分钟 INSERT INTO [Dicts] ([Category], [Name], [Code], [Define]) VALUES ('系统设置', 'IP请求缓存时长', '10', 0); INSERT INTO [Dicts] ([Category], [Name], [Code], [Define]) VALUES ('系统设置', '演示系统', '0', 0); -INSERT INTO [Dicts] ([Category], [Name], [Code], [Define]) VALUES ('系统设置', '验证码图床', 'http://images.sdgxgz.com/', 0); +INSERT INTO [Dicts] ([Category], [Name], [Code], [Define]) VALUES ('系统设置', '验证码图床', 'http://imgs.sdgxgz.com/images/', 0); DELETE FROM Navigations Where Category = '0'; INSERT INTO [Navigations] ([ParentId], [Name], [Order], [Icon], [Url], [Category]) VALUES (0, '后台管理', 10, 'fa fa-gear', '~/Admin/Index', '0'); diff --git a/scripts/SqlServer/InitData.sql b/scripts/SqlServer/InitData.sql index a3f2f8ff..21a87c1f 100644 --- a/scripts/SqlServer/InitData.sql +++ b/scripts/SqlServer/InitData.sql @@ -51,7 +51,7 @@ INSERT [dbo].[Dicts] ([Category], [Name], [Code], [Define]) VALUES (N'系统设 -- 时长单位 分钟 INSERT [dbo].[Dicts] ([Category], [Name], [Code], [Define]) VALUES (N'系统设置', N'IP请求缓存时长', '10', 0) INSERT [dbo].[Dicts] ([Category], [Name], [Code], [Define]) VALUES (N'系统设置', N'演示系统', '0', 0) -INSERT [dbo].[Dicts] ([Category], [Name], [Code], [Define]) VALUES (N'系统设置', N'验证码图床', 'http://images.sdgxgz.com/', 0) +INSERT [dbo].[Dicts] ([Category], [Name], [Code], [Define]) VALUES (N'系统设置', N'验证码图床', 'http://imgs.sdgxgz.com/images/', 0) DELETE FROM Navigations Where Category = N'0' INSERT [Navigations] ([ParentId], [Name], [Order], [Icon], [Url], [Category]) VALUES (0, N'后台管理', 10, N'fa fa-gear', N'~/Admin/Index', N'0') diff --git a/src/admin/Bootstrap.Admin/BootstrapAdmin.db b/src/admin/Bootstrap.Admin/BootstrapAdmin.db index dcb4bafbb306c2f110f9c3c09fe1add45477be08..51aadda7a73887a91f45e44e61589ccee56a240a 100644 GIT binary patch delta 97 zcmZo@U~6b#n;^}2bE1qh>rDndnGG9L=ALKcI>4aK;WnB5f;|(5+h&go|Jd0b6xbM4 zwY?`Fzoj5uY^ATCnVVj$SDcbwkzS>joSzHiC#I(s>u>J3VZp@0z`$U$`N%Dsr2tlO BA>;r6 delta 68 zcmV-K0K5NyfChko29O&8*pVDV1=s*CEKspzozDgU001iph?57D?gJ>*dVj#+8L!3D;MDa