diff --git a/projects/StudyCenter/Properties/launchSettings.json b/projects/StudyCenter/Properties/launchSettings.json index a3e591fb..da1602c8 100644 --- a/projects/StudyCenter/Properties/launchSettings.json +++ b/projects/StudyCenter/Properties/launchSettings.json @@ -3,7 +3,7 @@ "windowsAuthentication": false, "anonymousAuthentication": true, "iisExpress": { - "applicationUrl": "http://localhost:8082", + "applicationUrl": "http://localhost:8003", "sslPort": 0 } }, @@ -21,7 +21,7 @@ "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" }, - "applicationUrl": "http://localhost:8082" + "applicationUrl": "http://localhost:8003" } } } \ No newline at end of file diff --git a/projects/StudyCenter/wwwroot/images/logo.png b/projects/StudyCenter/wwwroot/images/logo.png new file mode 100644 index 00000000..8cc09cda Binary files /dev/null and b/projects/StudyCenter/wwwroot/images/logo.png differ diff --git a/projects/UserCenter/Startup.cs b/projects/UserCenter/Startup.cs index 123a17e7..d36f4f33 100644 --- a/projects/UserCenter/Startup.cs +++ b/projects/UserCenter/Startup.cs @@ -168,6 +168,7 @@ namespace UserCenter var host = "localhost"; dbContext.Set().Add(new Site { + Icon = "/images/iotcenter.png", Name = "物联网平台", Description = "智能设备管控中心", Home = $"http://{host}:8001/", @@ -177,6 +178,7 @@ namespace UserCenter }); dbContext.Set().Add(new Site { + Icon = "/images/studycenter.png", Name = "学习平台", Description = "资源库、在线学习、网络课程中心", Home = $"http://{host}:8082/", diff --git a/projects/UserCenter/Views/Account/Index.cshtml b/projects/UserCenter/Views/Account/Index.cshtml index b70b96b3..c03e8955 100644 --- a/projects/UserCenter/Views/Account/Index.cshtml +++ b/projects/UserCenter/Views/Account/Index.cshtml @@ -1,21 +1,4 @@ @model List @{ HtmlTitle = "用户中心"; -} -
- @foreach (var site in Model) - { -
-
-
-

@site.Name

-

@site.Description

-
-
- -
- More info -
-
- } -
\ No newline at end of file +} \ No newline at end of file diff --git a/projects/UserCenter/wwwroot/images/iotcenter.png b/projects/UserCenter/wwwroot/images/iotcenter.png new file mode 100644 index 00000000..c85258f9 Binary files /dev/null and b/projects/UserCenter/wwwroot/images/iotcenter.png differ diff --git a/projects/UserCenter/wwwroot/images/studycenter.png b/projects/UserCenter/wwwroot/images/studycenter.png new file mode 100644 index 00000000..8cc09cda Binary files /dev/null and b/projects/UserCenter/wwwroot/images/studycenter.png differ