@if (ViewBag.SSOSystemSwitch)
{
-
}
@if (ViewBag.FeixinSwitch)
{
-
}
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageTwo.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageTwo.cshtml
index 2f8c7ad2e..98133df13 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageTwo.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/PageTwo.cshtml
@@ -73,11 +73,11 @@
@if (ViewBag.SSOSystemSwitch)
{
-
网上办事大厅
+
网上办事大厅
}
@if (ViewBag.FeixinSwitch)
{
-
+
飞星下载
}
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TeachSwitch/TeachSwitchEntity.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TeachSwitch/TeachSwitchEntity.cs
index d0ad36a54..d8f387edb 100644
--- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TeachSwitch/TeachSwitchEntity.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TeachSwitch/TeachSwitchEntity.cs
@@ -29,6 +29,11 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
///
[Column("TYPE")]
public string type { get; set; }
+ ///
+ /// 链接地址
+ ///
+ [Column("URL")]
+ public string url { get; set; }
#endregion
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TeachSwitch/TeachSwitchService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TeachSwitch/TeachSwitchService.cs
index 97e966393..b6cc94edb 100644
--- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TeachSwitch/TeachSwitchService.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TeachSwitch/TeachSwitchService.cs
@@ -45,7 +45,8 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
var fxEntity = new TeachSwitchEntity()
{
status = "0",
- type = "fx"
+ type = "fx",
+ url= "/feixin.exe"
};
fxEntity.Create();
this.BaseRepository().Insert(fxEntity);
@@ -56,7 +57,8 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
var jsEntity = new TeachSwitchEntity()
{
status = "0",
- type = "ssosystem"
+ type = "ssosystem",
+ url= "/SSOSystem/Index"
};
jsEntity.Create();
this.BaseRepository().Insert(jsEntity);
@@ -73,12 +75,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
this.BaseRepository().Insert(jsEntity);
}
var strSql = new StringBuilder();
- strSql.Append("SELECT ");
- strSql.Append(@"
- t.ID,
- t.status,
- t.type
- ");
+ strSql.Append("SELECT t.* ");
strSql.Append(" FROM TeachSwitch t ");
strSql.Append(" WHERE 1=1 ");
var queryParam = queryJson.ToJObject();