增加脚本:增加MongoDB数据库脚本
This commit is contained in:
parent
af1af907a8
commit
e1c14e167c
|
@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
|
|||
# Visual Studio 15
|
||||
VisualStudioVersion = 15.0.27703.2047
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "sql", "sql", "{87319AF5-7C40-4362-B67C-35F9DD737DB4}"
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Sql", "Sql", "{87319AF5-7C40-4362-B67C-35F9DD737DB4}"
|
||||
ProjectSection(SolutionItems) = preProject
|
||||
DatabaseScripts\InitData.sql = DatabaseScripts\InitData.sql
|
||||
DatabaseScripts\Install.sql = DatabaseScripts\Install.sql
|
||||
|
@ -11,7 +11,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "sql", "sql", "{87319AF5-7C4
|
|||
DatabaseScripts\Readme.txt = DatabaseScripts\Readme.txt
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Bootstrap.Admin", "Bootstrap.Admin\Bootstrap.Admin.csproj", "{7B2B7043-3CB2-4C5A-BDF2-8C47F1A5471A}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bootstrap.Admin", "Bootstrap.Admin\Bootstrap.Admin.csproj", "{7B2B7043-3CB2-4C5A-BDF2-8C47F1A5471A}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{792A0B12-3F41-4BC4-A768-7D8D91C213B2}"
|
||||
ProjectSection(SolutionItems) = preProject
|
||||
|
@ -25,15 +25,15 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Scripts", "Scripts", "{5864
|
|||
Scripts\Publish.vbs = Scripts\Publish.vbs
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Bootstrap.Client", "Bootstrap.Client\Bootstrap.Client.csproj", "{C82A6E45-AB90-43D1-8429-5CBE953D8151}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bootstrap.Client", "Bootstrap.Client\Bootstrap.Client.csproj", "{C82A6E45-AB90-43D1-8429-5CBE953D8151}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Client", "Client", "{C7F51A14-2D89-4D1F-AD78-C42B79AB0BF0}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Bootstrap.Client.DataAccess", "Bootstrap.Client.DataAccess\Bootstrap.Client.DataAccess.csproj", "{B6B29DE5-D7B0-4A4D-9E7A-AADC68E9C43F}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bootstrap.Client.DataAccess", "Bootstrap.Client.DataAccess\Bootstrap.Client.DataAccess.csproj", "{B6B29DE5-D7B0-4A4D-9E7A-AADC68E9C43F}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Bootstrap.DataAccess", "Bootstrap.DataAccess\Bootstrap.DataAccess.csproj", "{8D62BE79-BE13-43C8-969B-C9B00B3C84B7}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bootstrap.DataAccess", "Bootstrap.DataAccess\Bootstrap.DataAccess.csproj", "{8D62BE79-BE13-43C8-969B-C9B00B3C84B7}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Bootstrap.DataAccess.SQLite", "Bootstrap.DataAccess.SQLite\Bootstrap.DataAccess.SQLite.csproj", "{BC18A24F-5C99-4DF5-803D-72A912BCBD57}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bootstrap.DataAccess.SQLite", "Bootstrap.DataAccess.SQLite\Bootstrap.DataAccess.SQLite.csproj", "{BC18A24F-5C99-4DF5-803D-72A912BCBD57}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SQLite", "SQLite", "{523515EC-2AD7-4282-9AF4-9D20371183B0}"
|
||||
ProjectSection(SolutionItems) = preProject
|
||||
|
@ -43,6 +43,15 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SQLite", "SQLite", "{523515
|
|||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bootstrap.DataAccess.MongoDB", "Bootstrap.DataAccess.MongoDB\Bootstrap.DataAccess.MongoDB.csproj", "{8336F096-4B4A-4710-A1FA-0F5E44CD8D26}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "MongoDB", "MongoDB", "{A06A0AD8-A246-4329-B024-7174AE4A3EDE}"
|
||||
ProjectSection(SolutionItems) = preProject
|
||||
DatabaseScripts\MongoDB\BootstrapAdmin.Users.json = DatabaseScripts\MongoDB\BootstrapAdmin.Users.json
|
||||
DatabaseScripts\MongoDB\BootstrapAdmin.Roles.json = DatabaseScripts\MongoDB\BootstrapAdmin.Roles.json
|
||||
DatabaseScripts\MongoDB\BootstrapAdmin.Navigations.json = DatabaseScripts\MongoDB\BootstrapAdmin.Navigations.json
|
||||
DatabaseScripts\MongoDB\BootstrapAdmin.Groups.json = DatabaseScripts\MongoDB\BootstrapAdmin.Groups.json
|
||||
DatabaseScripts\MongoDB\BootstrapAdmin.Dicts.json = DatabaseScripts\MongoDB\BootstrapAdmin.Dicts.json
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
|
|
|
@ -0,0 +1,268 @@
|
|||
[
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a13"),
|
||||
"Category": "菜单",
|
||||
"Name": "系统菜单",
|
||||
"Code": "0",
|
||||
"Define": NumberInt(0)
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a14"),
|
||||
"Category": "菜单",
|
||||
"Name": "外部菜单",
|
||||
"Code": "1",
|
||||
"Define": NumberInt(0)
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a15"),
|
||||
"Category": "应用程序",
|
||||
"Name": "未设置",
|
||||
"Code": "0",
|
||||
"Define": NumberInt(0)
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a16"),
|
||||
"Category": "网站设置",
|
||||
"Name": "网站标题",
|
||||
"Code": "后台管理系统",
|
||||
"Define": NumberInt(0)
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a17"),
|
||||
"Category": "网站设置",
|
||||
"Name": "网站页脚",
|
||||
"Code": "2016 © 通用后台管理系统",
|
||||
"Define": NumberInt(0)
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a18"),
|
||||
"Category": "系统通知",
|
||||
"Name": "用户注册",
|
||||
"Code": "0",
|
||||
"Define": NumberInt(0)
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a19"),
|
||||
"Category": "系统通知",
|
||||
"Name": "程序异常",
|
||||
"Code": "1",
|
||||
"Define": NumberInt(0)
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a1a"),
|
||||
"Category": "系统通知",
|
||||
"Name": "数据库连接",
|
||||
"Code": "2",
|
||||
"Define": NumberInt(0)
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a1b"),
|
||||
"Category": "通知状态",
|
||||
"Name": "未处理",
|
||||
"Code": "0",
|
||||
"Define": NumberInt(0)
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a1c"),
|
||||
"Category": "通知状态",
|
||||
"Name": "已处理",
|
||||
"Code": "1",
|
||||
"Define": NumberInt(0)
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a1d"),
|
||||
"Category": "处理结果",
|
||||
"Name": "同意",
|
||||
"Code": "0",
|
||||
"Define": NumberInt(0)
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a1e"),
|
||||
"Category": "处理结果",
|
||||
"Name": "拒绝",
|
||||
"Code": "1",
|
||||
"Define": NumberInt(0)
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a1f"),
|
||||
"Category": "消息状态",
|
||||
"Name": "未读",
|
||||
"Code": "0",
|
||||
"Define": NumberInt(0)
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a20"),
|
||||
"Category": "消息状态",
|
||||
"Name": "已读",
|
||||
"Code": "1",
|
||||
"Define": NumberInt(0)
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a21"),
|
||||
"Category": "消息标签",
|
||||
"Name": "一般",
|
||||
"Code": "0",
|
||||
"Define": NumberInt(0)
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a22"),
|
||||
"Category": "消息标签",
|
||||
"Name": "紧要",
|
||||
"Code": "1",
|
||||
"Define": NumberInt(0)
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a23"),
|
||||
"Category": "头像地址",
|
||||
"Name": "头像路径",
|
||||
"Code": "~/images/uploader/",
|
||||
"Define": NumberInt(0)
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a24"),
|
||||
"Category": "当前样式",
|
||||
"Name": "使用样式",
|
||||
"Code": "blue.css",
|
||||
"Define": NumberInt(0)
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a25"),
|
||||
"Category": "网站设置",
|
||||
"Name": "前台首页",
|
||||
"Code": "~/Home/Index",
|
||||
"Define": NumberInt(0)
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a26"),
|
||||
"Category": "应用程序",
|
||||
"Name": "组垛平台",
|
||||
"Code": "4",
|
||||
"Define": NumberInt(0)
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a27"),
|
||||
"Category": "组垛平台",
|
||||
"Name": "网站标题",
|
||||
"Code": "托盘组垛程序",
|
||||
"Define": NumberInt(1)
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a28"),
|
||||
"Category": "组垛平台",
|
||||
"Name": "网站页脚",
|
||||
"Code": "版权所有:中烟信息",
|
||||
"Define": NumberInt(1)
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a29"),
|
||||
"Category": "组垛平台",
|
||||
"Name": "个人中心地址",
|
||||
"Code": "http://localhost:50852/Admin/Profiles",
|
||||
"Define": NumberInt(1)
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a2a"),
|
||||
"Category": "组垛平台",
|
||||
"Name": "系统设置地址",
|
||||
"Code": "http://localhost:50852/Admin/Index",
|
||||
"Define": NumberInt(1)
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a2b"),
|
||||
"Category": "设备厂商",
|
||||
"Name": "远望谷",
|
||||
"Code": "Invengo",
|
||||
"Define": NumberInt(1)
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a2c"),
|
||||
"Category": "设备厂商",
|
||||
"Name": "测试",
|
||||
"Code": "Test",
|
||||
"Define": NumberInt(1)
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a2d"),
|
||||
"Category": "远程数据库",
|
||||
"Name": "组垛数据库",
|
||||
"Code": "Corp_Scan",
|
||||
"Define": NumberInt(1)
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a2e"),
|
||||
"Category": "网站样式",
|
||||
"Name": "黑色样式",
|
||||
"Code": "black.css",
|
||||
"Define": NumberInt(0)
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a2f"),
|
||||
"Category": "网站样式",
|
||||
"Name": "蓝色样式",
|
||||
"Code": "blue.css",
|
||||
"Define": NumberInt(0)
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a30"),
|
||||
"Category": "设备天线",
|
||||
"Name": "天线1",
|
||||
"Code": "1",
|
||||
"Define": NumberInt(1)
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a31"),
|
||||
"Category": "设备天线",
|
||||
"Name": "天线2",
|
||||
"Code": "2",
|
||||
"Define": NumberInt(1)
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a32"),
|
||||
"Category": "应用程序",
|
||||
"Name": "测试平台",
|
||||
"Code": "2",
|
||||
"Define": NumberInt(0)
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a33"),
|
||||
"Category": "测试平台",
|
||||
"Name": "网站标题",
|
||||
"Code": "托盘组垛程序",
|
||||
"Define": NumberInt(1)
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a34"),
|
||||
"Category": "测试平台",
|
||||
"Name": "网站页脚",
|
||||
"Code": "通用后台管理测试平台",
|
||||
"Define": NumberInt(1)
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a35"),
|
||||
"Category": "测试平台",
|
||||
"Name": "个人中心地址",
|
||||
"Code": "http://localhost:50852/Admin/Profiles",
|
||||
"Define": NumberInt(1)
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a36"),
|
||||
"Category": "测试平台",
|
||||
"Name": "系统设置地址",
|
||||
"Code": "http://localhost:50852/Admin/Settings",
|
||||
"Define": NumberInt(1)
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a37"),
|
||||
"Category": "设备驱动",
|
||||
"Name": "Invengo",
|
||||
"Code": "Longbow.Invengo.Device, Longbow.Invengo",
|
||||
"Define": NumberInt(1)
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd6c73d5fa31256f77e4a38"),
|
||||
"Category": "设备驱动",
|
||||
"Name": "Test",
|
||||
"Code": "Pallet.DeviceInterface.Device, Pallet.DeviceHub",
|
||||
"Define": NumberInt(1)
|
||||
}
|
||||
]
|
|
@ -0,0 +1,10 @@
|
|||
[
|
||||
{
|
||||
"_id": ObjectId("5bd7cb835fa31256f77e4eae"),
|
||||
"GroupName": "Admin",
|
||||
"Description": "系统默认组",
|
||||
"Roles": [
|
||||
"5bd7cc105fa31256f77e4eb7"
|
||||
]
|
||||
}
|
||||
]
|
|
@ -0,0 +1,257 @@
|
|||
[
|
||||
{
|
||||
"_id": ObjectId("5bd7b8445fa31256f77e4b90"),
|
||||
"ParentId": "0",
|
||||
"Name": "后台管理",
|
||||
"Order": NumberInt(10),
|
||||
"Icon": "fa fa-gear",
|
||||
"Url": "~/Admin/Index",
|
||||
"Category": "0",
|
||||
"Target": "_self",
|
||||
"IsResource": NumberInt(0),
|
||||
"ApplicationCode": "0"
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd7b8445fa31256f77e4b91"),
|
||||
"ParentId": "0",
|
||||
"Name": "个人中心",
|
||||
"Order": NumberInt(20),
|
||||
"Icon": "fa fa-suitcase",
|
||||
"Url": "~/Admin/Profiles",
|
||||
"Category": "0",
|
||||
"Target": "_self",
|
||||
"IsResource": NumberInt(0),
|
||||
"ApplicationCode": "0"
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd7b8445fa31256f77e4b92"),
|
||||
"ParentId": "0",
|
||||
"Name": "返回前台",
|
||||
"Order": NumberInt(30),
|
||||
"Icon": "fa fa-hand-o-left",
|
||||
"Url": "~/Home/Index",
|
||||
"Category": "0",
|
||||
"Target": "_self",
|
||||
"IsResource": NumberInt(0),
|
||||
"ApplicationCode": "0"
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd7b8445fa31256f77e4b93"),
|
||||
"ParentId": "0",
|
||||
"Name": "网站设置",
|
||||
"Order": NumberInt(40),
|
||||
"Icon": "fa fa-fa",
|
||||
"Url": "~/Admin/Settings",
|
||||
"Category": "0",
|
||||
"Target": "_self",
|
||||
"IsResource": NumberInt(0),
|
||||
"ApplicationCode": "0"
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd7b8445fa31256f77e4b94"),
|
||||
"ParentId": "0",
|
||||
"Name": "菜单管理",
|
||||
"Order": NumberInt(50),
|
||||
"Icon": "fa fa-dashboard",
|
||||
"Url": "~/Admin/Menus",
|
||||
"Category": "0",
|
||||
"Target": "_self",
|
||||
"IsResource": NumberInt(0),
|
||||
"ApplicationCode": "0"
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd7b8445fa31256f77e4b95"),
|
||||
"ParentId": "0",
|
||||
"Name": "用户管理",
|
||||
"Order": NumberInt(60),
|
||||
"Icon": "fa fa-user",
|
||||
"Url": "~/Admin/Users",
|
||||
"Category": "0",
|
||||
"Target": "_self",
|
||||
"IsResource": NumberInt(0),
|
||||
"ApplicationCode": "0"
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd7b8445fa31256f77e4b96"),
|
||||
"ParentId": "0",
|
||||
"Name": "角色管理",
|
||||
"Order": NumberInt(70),
|
||||
"Icon": "fa fa-sitemap",
|
||||
"Url": "~/Admin/Roles",
|
||||
"Category": "0",
|
||||
"Target": "_self",
|
||||
"IsResource": NumberInt(0),
|
||||
"ApplicationCode": "0"
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd7b8445fa31256f77e4b97"),
|
||||
"ParentId": "0",
|
||||
"Name": "部门管理",
|
||||
"Order": NumberInt(80),
|
||||
"Icon": "fa fa-bank",
|
||||
"Url": "~/Admin/Groups",
|
||||
"Category": "0",
|
||||
"Target": "_self",
|
||||
"IsResource": NumberInt(0),
|
||||
"ApplicationCode": "0"
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd7b8445fa31256f77e4b98"),
|
||||
"ParentId": "0",
|
||||
"Name": "字典表维护",
|
||||
"Order": NumberInt(90),
|
||||
"Icon": "fa fa-book",
|
||||
"Url": "~/Admin/Dicts",
|
||||
"Category": "0",
|
||||
"Target": "_self",
|
||||
"IsResource": NumberInt(0),
|
||||
"ApplicationCode": "0"
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd7b8445fa31256f77e4b99"),
|
||||
"ParentId": "0",
|
||||
"Name": "站内消息",
|
||||
"Order": NumberInt(100),
|
||||
"Icon": "fa fa-envelope",
|
||||
"Url": "~/Admin/Messages",
|
||||
"Category": "0",
|
||||
"Target": "_self",
|
||||
"IsResource": NumberInt(0),
|
||||
"ApplicationCode": "0"
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd7b8445fa31256f77e4b9a"),
|
||||
"ParentId": "0",
|
||||
"Name": "任务管理",
|
||||
"Order": NumberInt(110),
|
||||
"Icon": "fa fa fa-tasks",
|
||||
"Url": "~/Admin/Tasks",
|
||||
"Category": "0",
|
||||
"Target": "_self",
|
||||
"IsResource": NumberInt(0),
|
||||
"ApplicationCode": "0"
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd7b8445fa31256f77e4b9b"),
|
||||
"ParentId": "0",
|
||||
"Name": "通知管理",
|
||||
"Order": NumberInt(120),
|
||||
"Icon": "fa fa-bell",
|
||||
"Url": "~/Admin/Notifications",
|
||||
"Category": "0",
|
||||
"Target": "_self",
|
||||
"IsResource": NumberInt(0),
|
||||
"ApplicationCode": "0"
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd7b8445fa31256f77e4b9c"),
|
||||
"ParentId": "0",
|
||||
"Name": "系统日志",
|
||||
"Order": NumberInt(130),
|
||||
"Icon": "fa fa-gears",
|
||||
"Url": "~/Admin/Logs",
|
||||
"Category": "0",
|
||||
"Target": "_self",
|
||||
"IsResource": NumberInt(0),
|
||||
"ApplicationCode": "0"
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd7b8445fa31256f77e4b9d"),
|
||||
"ParentId": "0",
|
||||
"Name": "程序异常",
|
||||
"Order": NumberInt(140),
|
||||
"Icon": "fa fa-cubes",
|
||||
"Url": "~/Admin/Exceptions",
|
||||
"Category": "0",
|
||||
"Target": "_self",
|
||||
"IsResource": NumberInt(0),
|
||||
"ApplicationCode": "0"
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd7b8445fa31256f77e4b9e"),
|
||||
"ParentId": "0",
|
||||
"Name": "工具集合",
|
||||
"Order": NumberInt(160),
|
||||
"Icon": "fa fa-gavel",
|
||||
"Url": "#",
|
||||
"Category": "0",
|
||||
"Target": "_self",
|
||||
"IsResource": NumberInt(0),
|
||||
"ApplicationCode": "0"
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd7b8445fa31256f77e4b9f"),
|
||||
"ParentId": "5bd7b8445fa31256f77e4b9e",
|
||||
"Name": "客户端测试",
|
||||
"Order": NumberInt(10),
|
||||
"Icon": "fa fa-wrench",
|
||||
"Url": "~/Admin/Mobile",
|
||||
"Category": "0",
|
||||
"Target": "_self",
|
||||
"IsResource": NumberInt(0),
|
||||
"ApplicationCode": "0"
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd7b8445fa31256f77e4ba0"),
|
||||
"ParentId": "5bd7b8445fa31256f77e4b9e",
|
||||
"Name": "API文档",
|
||||
"Order": NumberInt(10),
|
||||
"Icon": "fa fa-wrench",
|
||||
"Url": "~/swagger",
|
||||
"Category": "0",
|
||||
"Target": "_self",
|
||||
"IsResource": NumberInt(0),
|
||||
"ApplicationCode": "0"
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd7b8445fa31256f77e4ba1"),
|
||||
"ParentId": "5bd7b8445fa31256f77e4b9e",
|
||||
"Name": "图标集",
|
||||
"Order": NumberInt(10),
|
||||
"Icon": "fa fa-dashboard",
|
||||
"Url": "~/Admin/FAIcon",
|
||||
"Category": "0",
|
||||
"Target": "_self",
|
||||
"IsResource": NumberInt(0),
|
||||
"ApplicationCode": "0"
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd7b8445fa31256f77e4ba2"),
|
||||
"ParentId": "0",
|
||||
"Name": "首页",
|
||||
"Order": NumberInt(10),
|
||||
"Icon": "fa fa-fa",
|
||||
"Url": "~/Home/Index",
|
||||
"Category": "1",
|
||||
"Target": "_self",
|
||||
"IsResource": NumberInt(0),
|
||||
"ApplicationCode": "2"
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd7b8445fa31256f77e4ba4"),
|
||||
"ParentId": "5bd9b3d868aa001661776f56",
|
||||
"Name": "关于",
|
||||
"Order": NumberInt(10),
|
||||
"Icon": "fa fa-fa",
|
||||
"Url": "~/Home/About",
|
||||
"Category": "1",
|
||||
"Target": "_self",
|
||||
"IsResource": NumberInt(0),
|
||||
"ApplicationCode": "2"
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd9b3d868aa001661776f56"),
|
||||
"ParentId": "0",
|
||||
"ParentName": "",
|
||||
"Name": "帮助",
|
||||
"Order": NumberInt(10),
|
||||
"Icon": "fa fa-fa",
|
||||
"Url": "#",
|
||||
"Category": "1",
|
||||
"CategoryName": null,
|
||||
"Active": null,
|
||||
"Target": "_self",
|
||||
"IsResource": NumberInt(0),
|
||||
"ApplicationCode": "2"
|
||||
}
|
||||
]
|
|
@ -0,0 +1,50 @@
|
|||
[
|
||||
{
|
||||
"_id": ObjectId("5bd7cc105fa31256f77e4eb7"),
|
||||
"RoleName": "Administrators",
|
||||
"Description": "系统管理员",
|
||||
"Menus": [
|
||||
"5bd7b8445fa31256f77e4b90",
|
||||
"5bd7b8445fa31256f77e4b91",
|
||||
"5bd7b8445fa31256f77e4b92",
|
||||
"5bd7b8445fa31256f77e4b93",
|
||||
"5bd7b8445fa31256f77e4b94",
|
||||
"5bd7b8445fa31256f77e4b95",
|
||||
"5bd7b8445fa31256f77e4b96",
|
||||
"5bd7b8445fa31256f77e4b97",
|
||||
"5bd7b8445fa31256f77e4b98",
|
||||
"5bd7b8445fa31256f77e4b99",
|
||||
"5bd7b8445fa31256f77e4b9a",
|
||||
"5bd7b8445fa31256f77e4b9b",
|
||||
"5bd7b8445fa31256f77e4b9c",
|
||||
"5bd7b8445fa31256f77e4b9d",
|
||||
"5bd7b8445fa31256f77e4b9e",
|
||||
"5bd7b8445fa31256f77e4b9f",
|
||||
"5bd7b8445fa31256f77e4ba0",
|
||||
"5bd7b8445fa31256f77e4ba1",
|
||||
"5bd7b8445fa31256f77e4ba2",
|
||||
"5bd9b3d868aa001661776f56",
|
||||
"5bd7b8445fa31256f77e4ba4"
|
||||
]
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd7cc105fa31256f77e4eb8"),
|
||||
"RoleName": "Default",
|
||||
"Description": "默认用户,可访问前台页面",
|
||||
"Menus": [
|
||||
"5bd7b8445fa31256f77e4b90",
|
||||
"5bd7b8445fa31256f77e4b91",
|
||||
"5bd7b8445fa31256f77e4b92",
|
||||
"5bd7b8445fa31256f77e4b99",
|
||||
"5bd7b8445fa31256f77e4b9a",
|
||||
"5bd7b8445fa31256f77e4b9b",
|
||||
"5bd7b8445fa31256f77e4b9e",
|
||||
"5bd7b8445fa31256f77e4b9f",
|
||||
"5bd7b8445fa31256f77e4ba0",
|
||||
"5bd7b8445fa31256f77e4ba1",
|
||||
"5bd7b8445fa31256f77e4ba2",
|
||||
"5bd9b3d868aa001661776f56",
|
||||
"5bd7b8445fa31256f77e4ba4"
|
||||
]
|
||||
}
|
||||
]
|
|
@ -0,0 +1,40 @@
|
|||
[
|
||||
{
|
||||
"_id": ObjectId("5bd714195fa31256f77e4b64"),
|
||||
"UserName": "Admin",
|
||||
"Password": "yvWGJ6JqABFIxCZJy1czv5xR9CPI3KWMmevWn3CfGcc=",
|
||||
"PassSalt": "Zs6VGITmaveCFGBPKmNH+YM8DTyMi6D8cGKaNEyfDuaaMvTe",
|
||||
"DisplayName": "Administrator",
|
||||
"RegisterTime": ISODate("2018-09-09T06:06:20.130+0000"),
|
||||
"ApprovedTime": ISODate("2018-09-09T06:06:20.130+0000"),
|
||||
"ApprovedBy": "system",
|
||||
"Description": "系统默认创建",
|
||||
"Icon": "~/images/uploader/default.jpg",
|
||||
"Css": null,
|
||||
"Roles": [
|
||||
"5bd7cc105fa31256f77e4eb7"
|
||||
],
|
||||
"Groups": [
|
||||
|
||||
]
|
||||
},
|
||||
{
|
||||
"_id": ObjectId("5bd714195fa31256f77e4b67"),
|
||||
"UserName": "user",
|
||||
"Password": "2v9os69yRQ2j3y3/J+CCd4bG3mlu/fn+wGpZBzFlhOg=",
|
||||
"PassSalt": "djT5LiGxwS1l8aDGP0f92v06fbA5BhOcwRGkv5ENIHFtzc1b",
|
||||
"DisplayName": "测试用户",
|
||||
"RegisterTime": ISODate("2018-09-13T13:27:12.957+0000"),
|
||||
"ApprovedTime": ISODate("2018-09-13T13:27:12.957+0000"),
|
||||
"ApprovedBy": "Admin",
|
||||
"Description": "管理员Admin创建用户",
|
||||
"Icon": "~/images/uploader/default.jpg",
|
||||
"Css": null,
|
||||
"Groups": [
|
||||
|
||||
],
|
||||
"Roles": [
|
||||
"5bd7cc105fa31256f77e4eb8"
|
||||
]
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue