Skip to content

Commit 50d7932

Browse files
committed
area 改造完成 2.0
1 parent e160124 commit 50d7932

File tree

6 files changed

+15
-17
lines changed

6 files changed

+15
-17
lines changed

ant.mgr/DBModels/DBModels/mysql初始化表.sql

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,19 +72,22 @@ insert into `system_menu` (`Tid`,`DataChangeLastTime`, `IsActive`, `ParentTid`,
7272

7373
insert into `system_menu` (`DataChangeLastTime`, `IsActive`, `ParentTid`, `Name`, `Ico`, `Url`, `OrderRule`, `Level`, `Class`)
7474
values
75-
(now(),'1','1','菜单管理',NULL,'~/Admin/Home/MenuList','1','2',NULL);
75+
(now(),'1','1','菜单管理',NULL,'~/Admin/Home/MenuList','1','2','fa fa-reorder');
7676

7777
insert into `system_menu` (`DataChangeLastTime`, `IsActive`, `ParentTid`, `Name`, `Ico`, `Url`, `OrderRule`, `Level`, `Class`)
78-
values(now(),'1','1','权限配置',NULL,'~/Admin/Role/RoleAction','2','2',NULL);
78+
values(now(),'1','1','权限配置',NULL,'~/Admin/Role/RoleAction','2','2','fa fa-shield');
7979

8080
insert into `system_menu` (`DataChangeLastTime`, `IsActive`, `ParentTid`, `Name`, `Ico`, `Url`, `OrderRule`, `Level`, `Class`)
81-
values(now(),'1','1','角色管理',NULL,'~/Admin/Role/RoleList','3','2',NULL);
81+
values(now(),'1','1','角色管理',NULL,'~/Admin/Role/RoleList','3','2','fa fa-th-large');
8282

8383
insert into `system_menu` (`DataChangeLastTime`, `IsActive`, `ParentTid`, `Name`, `Ico`, `Url`, `OrderRule`, `Level`, `Class`)
84-
values(now(),'1','1','系统用户',NULL,'~/Admin/Account/UserList','4','2',NULL);
84+
values(now(),'1','1','系统用户',NULL,'~/Admin/Account/UserList','4','2','fa fa-users');
8585

86+
insert into `system_menu` (`DataChangeLastTime`, `IsActive`, `ParentTid`, `Name`, `Ico`, `Url`, `OrderRule`, `Level`, `Class`)
87+
values(now(),'0','1','用户信息',NULL,'~/Admin/Account/UserDetail','5','2','fa fa-user-plus');
88+
8689
insert into `system_menu` (`DataChangeLastTime`, `IsActive`, `ParentTid`, `Name`, `Ico`, `Url`, `OrderRule`, `Level`, `Class`)
87-
values(now(),'1','1','代码生成',NULL,'~/Admin/Common/CodeGen','5','2',NULL);
90+
values(now(),'1','1','代码生成',NULL,'~/Admin/Common/CodeGen','6','2','fa fa-clone');
8891

8992
INSERT INTO `system_users`
9093
(`DataChangeLastTime`, `IsActive`, `Eid`, `UserName`, `Pwd`, `Phone`, `LoginIp`, `MenuRights`, `RoleTid`, `LastLoginTime`, `UserAgent`, `CreateRoleName`, `CreateUser`)
Binary file not shown.

ant.mgr/mgr.core/Controllers/HomeController.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using System.Threading.Tasks;
55
using Microsoft.AspNetCore.Mvc;
66

7-
namespace ant.mgr.core.Controller
7+
namespace ant.mgr.core.Controllers
88
{
99
public class HomeController : ControllerBase
1010
{
@@ -20,7 +20,7 @@ public IActionResult Index()
2020

2121
public ActionResult DashBord()
2222
{
23-
return Content("DashBord");
23+
return Content($"Version:{ typeof(Startup).Assembly.GetName().Version.ToString()}");
2424
}
2525
}
2626
}

ant.mgr/mgr.core/Properties/launchSettings.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,6 @@
2020
"ASPNETCORE_ENVIRONMENT": "Development"
2121
}
2222
},
23-
"IIS": {
24-
"commandName": "IIS",
25-
"launchBrowser": true,
26-
"launchUrl": "http://localhost/ant.mgr.core",
27-
"environmentVariables": {
28-
"ASPNETCORE_ENVIRONMENT": "Development"
29-
}
30-
},
3123
"console": {
3224
"commandName": "Project",
3325
"launchBrowser": true,

ant.mgr/mgr.core/Web.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<configuration>
33
<system.webServer>
44
<handlers>
5-
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" />
5+
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
66
</handlers>
77
<aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout">
88
<environmentVariables />

ant.mgr/mgr.core/ant.mgr.core.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<PropertyGroup>
44
<TargetFramework>netcoreapp2.2</TargetFramework>
55
<GenerateDocumentationFile>true</GenerateDocumentationFile>
6+
<Version>2.0</Version>
67
</PropertyGroup>
78

89
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
@@ -50,7 +51,9 @@
5051
<None Include="wwwroot\Content\static\images\joinbottom.gif" />
5152
<None Include="wwwroot\Content\static\images\jzx.gif" />
5253
</ItemGroup>
53-
54+
<PropertyGroup>
55+
<IsTransformWebConfigDisabled>true</IsTransformWebConfigDisabled>
56+
</PropertyGroup>
5457
<ItemGroup>
5558
<Content Update="appsettings.json">
5659
<CopyToOutputDirectory>Always</CopyToOutputDirectory>

0 commit comments

Comments
 (0)