Skip to content

Commit

Permalink
Update data sql script
Browse files Browse the repository at this point in the history
  • Loading branch information
lampo1024 committed May 5, 2019
1 parent f1f52cf commit cc06fbf
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 14 deletions.
4 changes: 2 additions & 2 deletions DncZeus.App/src/config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ export default {
*/
baseUrl: {
dev: 'http://localhost:54321/',
pro: 'http://localhost:54321/',
pro: 'https://api.dnczeus.codedefault.com/',
defaultPrefix:"api/v1/"
},
authUrl: {
dev: 'http://localhost:54321/api/oauth/auth',
pro: 'http://localhost:54321/api/oauth/auth'
pro: 'https://api.dnczeus.codedefault.com/api/oauth/auth'
},
/**
* @description 默认打开的首页的路由name值,默认为home
Expand Down
28 changes: 16 additions & 12 deletions Scripts/v2.0.0/02.data(示例数据脚本).sql
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ INSERT [dbo].[DncMenu] ([Guid], [Name], [Url], [Alias], [Icon], [ParentGuid], [P
GO
INSERT [dbo].[DncMenu] ([Guid], [Name], [Url], [Alias], [Icon], [ParentGuid], [ParentName], [Level], [Description], [Sort], [Status], [IsDeleted], [IsDefaultRouter], [CreatedOn], [CreatedByUserGuid], [CreatedByUserName], [ModifiedOn], [ModifiedByUserGuid], [ModifiedByUserName], [Component], [HideInMenu], [NotCache], [BeforeCloseFun]) VALUES (N'fb49cf5f-6161-4f41-9f3c-2e9bc4c7b1bb', N'图标管理', N'rbac/icon', N'rbac_icon_page', N'logo-codepen', N'71a53fa6-c271-4834-9b92-6ba4e187c03a', N'用户权限管理', 1, N'', 0, 1, 0, 0, CAST(N'2018-12-13T11:55:14.0321126' AS DateTime2), N'00000000-0000-0000-0000-000000000000', N'超级管理员', CAST(N'2019-05-04T16:54:44.7198525' AS DateTime2), N'684eca5e-2aeb-4478-ba70-8a6b29f78696', N'管理员', N'/rbac/icon.vue', 0, 0, NULL)
GO
INSERT [dbo].[DncMenu] ([Guid], [Name], [Url], [Alias], [Icon], [ParentGuid], [ParentName], [Level], [Description], [Sort], [Status], [IsDeleted], [IsDefaultRouter], [CreatedOn], [CreatedByUserGuid], [CreatedByUserName], [ModifiedOn], [ModifiedByUserGuid], [ModifiedByUserName], [Component], [HideInMenu], [NotCache], [BeforeCloseFun]) VALUES (N'1517f46b-7cdd-47b4-9d22-36a65d0e3e70', N'QQ群', N'/join_page', N'join_page', N'md-grid', N'79c4a1e6-5e04-494e-bc68-8666582ef1ea', N'QQ群', 1, N'', 0, 1, 0, 1, CAST(N'2019-05-05T23:01:54.5939875' AS DateTime2), N'20263da4-aed4-4aba-a6cc-b985c016858e', N'系统管理员', NULL, NULL, NULL, N'/join-page.vue', 0, 0, NULL)
GO
INSERT [dbo].[DncMenu] ([Guid], [Name], [Url], [Alias], [Icon], [ParentGuid], [ParentName], [Level], [Description], [Sort], [Status], [IsDeleted], [IsDefaultRouter], [CreatedOn], [CreatedByUserGuid], [CreatedByUserName], [ModifiedOn], [ModifiedByUserGuid], [ModifiedByUserName], [Component], [HideInMenu], [NotCache], [BeforeCloseFun]) VALUES (N'335df74f-1944-47c0-af45-421e2108aa71', N'角色权限分配', N'rbac/role-permission', N'rbac_role_permission_page', N'md-aperture', N'71a53fa6-c271-4834-9b92-6ba4e187c03a', N'用户权限管理', 1, N'', 0, 1, 0, 0, CAST(N'2018-12-11T15:23:35.3297552' AS DateTime2), N'00000000-0000-0000-0000-000000000000', N'超级管理员', CAST(N'2019-05-04T16:54:55.6121480' AS DateTime2), N'684eca5e-2aeb-4478-ba70-8a6b29f78696', N'管理员', N'/rbac/role-permission.vue', 0, 0, NULL)
GO
INSERT [dbo].[DncMenu] ([Guid], [Name], [Url], [Alias], [Icon], [ParentGuid], [ParentName], [Level], [Description], [Sort], [Status], [IsDeleted], [IsDefaultRouter], [CreatedOn], [CreatedByUserGuid], [CreatedByUserName], [ModifiedOn], [ModifiedByUserGuid], [ModifiedByUserName], [Component], [HideInMenu], [NotCache], [BeforeCloseFun]) VALUES (N'54705ab2-7cfa-48a6-bb84-4e8462e1bae6', N'错误页面(500)', N'error_500', N'error_500', N'md-settings', N'11cd774b-42d9-4386-af84-c9d86e9bfd3a', N'默认路由管理', 1, N'', 0, 0, 0, 1, CAST(N'2018-12-13T15:34:26.3676747' AS DateTime2), N'00000000-0000-0000-0000-000000000000', N'超级管理员', CAST(N'2018-12-22T16:52:07.4335183' AS DateTime2), N'684eca5e-2aeb-4478-ba70-8a6b29f78696', N'管理员', NULL, 0, 0, NULL)
Expand All @@ -20,6 +22,8 @@ INSERT [dbo].[DncMenu] ([Guid], [Name], [Url], [Alias], [Icon], [ParentGuid], [P
GO
INSERT [dbo].[DncMenu] ([Guid], [Name], [Url], [Alias], [Icon], [ParentGuid], [ParentName], [Level], [Description], [Sort], [Status], [IsDeleted], [IsDefaultRouter], [CreatedOn], [CreatedByUserGuid], [CreatedByUserName], [ModifiedOn], [ModifiedByUserGuid], [ModifiedByUserName], [Component], [HideInMenu], [NotCache], [BeforeCloseFun]) VALUES (N'aebda189-0bf8-4f4e-8a7b-7324e9f76bed', N'工具方法', N'tools_methods/tools_methods_page', N'tools_methods_page', N'md-menu', N'fa78493c-0aa8-46a3-b373-8d66fdca115c', N'工具函数', 1, N'', 0, 1, 0, 1, CAST(N'2018-12-13T15:42:22.2023266' AS DateTime2), N'00000000-0000-0000-0000-000000000000', N'超级管理员', CAST(N'2019-05-04T16:56:17.2328361' AS DateTime2), N'684eca5e-2aeb-4478-ba70-8a6b29f78696', N'管理员', N'/tools-methods/tools-methods.vue', 0, 0, NULL)
GO
INSERT [dbo].[DncMenu] ([Guid], [Name], [Url], [Alias], [Icon], [ParentGuid], [ParentName], [Level], [Description], [Sort], [Status], [IsDeleted], [IsDefaultRouter], [CreatedOn], [CreatedByUserGuid], [CreatedByUserName], [ModifiedOn], [ModifiedByUserGuid], [ModifiedByUserName], [Component], [HideInMenu], [NotCache], [BeforeCloseFun]) VALUES (N'79c4a1e6-5e04-494e-bc68-8666582ef1ea', N'QQ群', N'/join', N'join', N'md-grid', N'00000000-0000-0000-0000-000000000000', N'顶级菜单', 1, N'', 0, 1, 0, 1, CAST(N'2019-05-05T23:01:18.5140915' AS DateTime2), N'20263da4-aed4-4aba-a6cc-b985c016858e', N'系统管理员', NULL, NULL, NULL, N'', 0, 0, NULL)
GO
INSERT [dbo].[DncMenu] ([Guid], [Name], [Url], [Alias], [Icon], [ParentGuid], [ParentName], [Level], [Description], [Sort], [Status], [IsDeleted], [IsDefaultRouter], [CreatedOn], [CreatedByUserGuid], [CreatedByUserName], [ModifiedOn], [ModifiedByUserGuid], [ModifiedByUserName], [Component], [HideInMenu], [NotCache], [BeforeCloseFun]) VALUES (N'fa78493c-0aa8-46a3-b373-8d66fdca115c', N'工具函数', N'tools_methods', N'tools_methods', N'md-menu', N'00000000-0000-0000-0000-000000000000', N'顶级菜单', 1, N'', 0, 1, 0, 0, CAST(N'2018-12-13T15:41:20.4552200' AS DateTime2), N'00000000-0000-0000-0000-000000000000', N'超级管理员', CAST(N'2018-12-22T16:51:31.7503150' AS DateTime2), N'684eca5e-2aeb-4478-ba70-8a6b29f78696', N'管理员', NULL, 0, 0, NULL)
GO
INSERT [dbo].[DncMenu] ([Guid], [Name], [Url], [Alias], [Icon], [ParentGuid], [ParentName], [Level], [Description], [Sort], [Status], [IsDeleted], [IsDefaultRouter], [CreatedOn], [CreatedByUserGuid], [CreatedByUserName], [ModifiedOn], [ModifiedByUserGuid], [ModifiedByUserName], [Component], [HideInMenu], [NotCache], [BeforeCloseFun]) VALUES (N'a99f7de6-94bc-4df1-87d9-a1a6d117b653', N'系统管理', N'system', N'system', N'md-cog', N'00000000-0000-0000-0000-000000000000', N'顶级菜单', 1, N'', 0, 0, 0, 0, CAST(N'2018-11-20T17:20:39.8179612' AS DateTime2), N'00000000-0000-0000-0000-000000000000', N'超级管理员', CAST(N'2018-11-29T16:18:56.3683069' AS DateTime2), NULL, N'', NULL, 0, 0, NULL)
Expand Down Expand Up @@ -68,18 +72,6 @@ INSERT [dbo].[DncRole] ([Code], [Name], [Description], [Status], [IsDeleted], [C
GO
INSERT [dbo].[DncRole] ([Code], [Name], [Description], [Status], [IsDeleted], [CreatedOn], [CreatedByUserGuid], [CreatedByUserName], [ModifiedOn], [ModifiedByUserGuid], [ModifiedByUserName], [IsSuperAdministrator], [IsBuiltin]) VALUES (N'WPbv96HC', N'管理员', N'', 1, 0, CAST(N'2018-11-16T15:54:28.0778391' AS DateTime2), N'00000000-0000-0000-0000-000000000000', N'超级管理员', CAST(N'2018-12-17T14:55:03.3745017' AS DateTime2), NULL, N'管理员', 0, 1)
GO
INSERT [dbo].[DncUser] ([Guid], [LoginName], [DisplayName], [Password], [Avatar], [UserType], [IsLocked], [Status], [IsDeleted], [CreatedOn], [CreatedByUserGuid], [CreatedByUserName], [ModifiedOn], [ModifiedByUserGuid], [ModifiedByUserName], [Description]) VALUES (N'd7f32600-64c3-484d-a933-2d4a62bda0bc', N'user001', N'普通用户001', N'111111', N'', 2, 0, 1, 0, CAST(N'2018-11-20T16:57:04.5842643' AS DateTime2), N'00000000-0000-0000-0000-000000000000', NULL, NULL, NULL, NULL, NULL)
GO
INSERT [dbo].[DncUser] ([Guid], [LoginName], [DisplayName], [Password], [Avatar], [UserType], [IsLocked], [Status], [IsDeleted], [CreatedOn], [CreatedByUserGuid], [CreatedByUserName], [ModifiedOn], [ModifiedByUserGuid], [ModifiedByUserName], [Description]) VALUES (N'684eca5e-2aeb-4478-ba70-8a6b29f78696', N'admin', N'管理员', N'111111', NULL, 1, 0, 1, 0, CAST(N'2018-11-16T00:00:00.0000000' AS DateTime2), N'00000000-0000-0000-0000-000000000000', NULL, CAST(N'2018-12-11T15:26:17.2444832' AS DateTime2), NULL, N'', NULL)
GO
INSERT [dbo].[DncUser] ([Guid], [LoginName], [DisplayName], [Password], [Avatar], [UserType], [IsLocked], [Status], [IsDeleted], [CreatedOn], [CreatedByUserGuid], [CreatedByUserName], [ModifiedOn], [ModifiedByUserGuid], [ModifiedByUserName], [Description]) VALUES (N'20263da4-aed4-4aba-a6cc-b985c016858e', N'administrator', N'系统管理员', N'111111', N'https://file.iviewui.com/dist/a0e88e83800f138b94d2414621bd9704.png', 0, 0, 1, 0, CAST(N'2018-11-16T15:15:42.7519863' AS DateTime2), N'00000000-0000-0000-0000-000000000000', N'系统管理员', CAST(N'2018-12-14T15:20:36.8322511' AS DateTime2), NULL, N'', NULL)
GO
INSERT [dbo].[DncUserRoleMapping] ([UserGuid], [RoleCode], [CreatedOn]) VALUES (N'd7f32600-64c3-484d-a933-2d4a62bda0bc', N'C7kPHIwu', CAST(N'2018-12-17T14:36:24.7380762' AS DateTime2))
GO
INSERT [dbo].[DncUserRoleMapping] ([UserGuid], [RoleCode], [CreatedOn]) VALUES (N'684eca5e-2aeb-4478-ba70-8a6b29f78696', N'WPbv96HC', CAST(N'2018-11-20T17:10:40.4957633' AS DateTime2))
GO
INSERT [dbo].[DncUserRoleMapping] ([UserGuid], [RoleCode], [CreatedOn]) VALUES (N'20263da4-aed4-4aba-a6cc-b985c016858e', N'9PeVLUMU', CAST(N'2018-11-20T17:12:42.0709162' AS DateTime2))
GO
INSERT [dbo].[DncRolePermissionMapping] ([RoleCode], [PermissionCode], [CreatedOn]) VALUES (N'C7kPHIwu', N'I2U5lW40', CAST(N'2018-12-14T15:22:11.7399118' AS DateTime2))
GO
INSERT [dbo].[DncRolePermissionMapping] ([RoleCode], [PermissionCode], [CreatedOn]) VALUES (N'C7kPHIwu', N'N76RWAiv', CAST(N'2018-12-14T15:22:11.7400624' AS DateTime2))
Expand All @@ -106,6 +98,18 @@ INSERT [dbo].[DncRolePermissionMapping] ([RoleCode], [PermissionCode], [CreatedO
GO
INSERT [dbo].[DncRolePermissionMapping] ([RoleCode], [PermissionCode], [CreatedOn]) VALUES (N'WPbv96HC', N'y9o5fJVD', CAST(N'2019-05-04T21:14:41.8054386' AS DateTime2))
GO
INSERT [dbo].[DncUser] ([Guid], [LoginName], [DisplayName], [Password], [Avatar], [UserType], [IsLocked], [Status], [IsDeleted], [CreatedOn], [CreatedByUserGuid], [CreatedByUserName], [ModifiedOn], [ModifiedByUserGuid], [ModifiedByUserName], [Description]) VALUES (N'd7f32600-64c3-484d-a933-2d4a62bda0bc', N'user001', N'普通用户001', N'111111', N'', 2, 0, 1, 0, CAST(N'2018-11-20T16:57:04.5842643' AS DateTime2), N'00000000-0000-0000-0000-000000000000', NULL, NULL, NULL, NULL, NULL)
GO
INSERT [dbo].[DncUser] ([Guid], [LoginName], [DisplayName], [Password], [Avatar], [UserType], [IsLocked], [Status], [IsDeleted], [CreatedOn], [CreatedByUserGuid], [CreatedByUserName], [ModifiedOn], [ModifiedByUserGuid], [ModifiedByUserName], [Description]) VALUES (N'684eca5e-2aeb-4478-ba70-8a6b29f78696', N'admin', N'管理员', N'111111', NULL, 1, 0, 1, 0, CAST(N'2018-11-16T00:00:00.0000000' AS DateTime2), N'00000000-0000-0000-0000-000000000000', NULL, CAST(N'2018-12-11T15:26:17.2444832' AS DateTime2), NULL, N'', NULL)
GO
INSERT [dbo].[DncUser] ([Guid], [LoginName], [DisplayName], [Password], [Avatar], [UserType], [IsLocked], [Status], [IsDeleted], [CreatedOn], [CreatedByUserGuid], [CreatedByUserName], [ModifiedOn], [ModifiedByUserGuid], [ModifiedByUserName], [Description]) VALUES (N'20263da4-aed4-4aba-a6cc-b985c016858e', N'administrator', N'系统管理员', N'111111', N'https://file.iviewui.com/dist/a0e88e83800f138b94d2414621bd9704.png', 0, 0, 1, 0, CAST(N'2018-11-16T15:15:42.7519863' AS DateTime2), N'00000000-0000-0000-0000-000000000000', N'系统管理员', CAST(N'2018-12-14T15:20:36.8322511' AS DateTime2), NULL, N'', NULL)
GO
INSERT [dbo].[DncUserRoleMapping] ([UserGuid], [RoleCode], [CreatedOn]) VALUES (N'd7f32600-64c3-484d-a933-2d4a62bda0bc', N'C7kPHIwu', CAST(N'2018-12-17T14:36:24.7380762' AS DateTime2))
GO
INSERT [dbo].[DncUserRoleMapping] ([UserGuid], [RoleCode], [CreatedOn]) VALUES (N'684eca5e-2aeb-4478-ba70-8a6b29f78696', N'WPbv96HC', CAST(N'2018-11-20T17:10:40.4957633' AS DateTime2))
GO
INSERT [dbo].[DncUserRoleMapping] ([UserGuid], [RoleCode], [CreatedOn]) VALUES (N'20263da4-aed4-4aba-a6cc-b985c016858e', N'9PeVLUMU', CAST(N'2018-11-20T17:12:42.0709162' AS DateTime2))
GO
SET IDENTITY_INSERT [dbo].[DncIcon] ON
GO
INSERT [dbo].[DncIcon] ([Id], [Code], [Size], [Color], [Custom], [Description], [Status], [IsDeleted], [CreatedOn], [CreatedByUserGuid], [CreatedByUserName], [ModifiedOn], [ModifiedByUserGuid], [ModifiedByUserName]) VALUES (1, N'ios-add', NULL, NULL, NULL, NULL, 1, 0, CAST(N'2018-11-20T14:57:54.0159312' AS DateTime2), N'00000000-0000-0000-0000-000000000000', N'超级管理员', NULL, NULL, NULL)
Expand Down

0 comments on commit cc06fbf

Please sign in to comment.