From 72813ab944a2cff3431a633ea1459f27c71cc18b Mon Sep 17 00:00:00 2001 From: liangkun Date: Tue, 7 Mar 2023 12:13:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=9E=E4=BA=8B=E5=A4=A7=E5=8E=85=E5=BE=AE?= =?UTF-8?q?=E4=BF=A1=E7=99=BB=E5=BD=95=E8=B7=B3=E8=BD=AC=E5=88=B0=E5=8A=9E?= =?UTF-8?q?=E4=BA=8B=E5=A4=A7=E5=8E=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controllers/LoginController.cs | 1 + .../Controllers/SSOSystemController.cs | 6 +++--- .../Learun.Application.Web.csproj | 1 + .../Views/Home/AdminDefault.cshtml | 17 +++++++++++++++++ .../Views/Login/LoginForWeixin.cshtml | 13 +++++++++++++ .../Views/SSOSystem/DragNoLogin.cshtml | 15 +++++++++------ .../Views/SSOSystem/DragNoWxLogin.cshtml | 15 +++++++++------ 7 files changed, 53 insertions(+), 15 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/LoginController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/LoginController.cs index 5238fbc2c..ab794d3fb 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/LoginController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/LoginController.cs @@ -927,6 +927,7 @@ namespace Learun.Application.Web.Controllers //微信appid string appid = weichatdevelop.APPId; string secret = weichatdevelop.secret; + ViewBag.source = Request.QueryString["source"]; ViewBag.login = Request.QueryString["login"]; ViewBag.CODE = Request.QueryString["CODE"]; if (!string.IsNullOrEmpty(ViewBag.login)) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/SSOSystemController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/SSOSystemController.cs index 414447cd0..3ad33a16c 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/SSOSystemController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/SSOSystemController.cs @@ -69,15 +69,15 @@ namespace Learun.Application.Web.Controllers string appkey = Request.QueryString["appkey"]; if (string.IsNullOrEmpty(appid)) { - return Fail("参数:appid不能为空"); + return Fail("参数:appid 不能为空"); } if (string.IsNullOrEmpty(secret)) { - return Fail("参数:secret不能为空"); + return Fail("参数:secret 不能为空"); } if (string.IsNullOrEmpty(appkey)) { - return Fail("参数:appkey不能为空"); + return Fail("参数:appkey 不能为空"); } var application = perm_FunctionIBLL.GetPerm_FunctionEntity(appid); if (application != null) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj b/Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj index 3b06e5129..8935a1a08 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj @@ -2398,6 +2398,7 @@ + diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Home/AdminDefault.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Home/AdminDefault.cshtml index be143f306..9a911d711 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Home/AdminDefault.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Home/AdminDefault.cshtml @@ -3,6 +3,20 @@ Layout = "~/Views/Shared/_Admin.cshtml"; } @Html.AppendCssFile("/Views/Home/AdminDefault/index.css") + @@ -43,6 +57,9 @@
  • 备课任务 0 条
  • *@
  •           共 @ViewBag.UnreadNum 条
  • +
    + +
    @* 即时通讯窗体 *@ diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/LoginForWeixin.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/LoginForWeixin.cshtml index b06c62419..962b91852 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/LoginForWeixin.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Login/LoginForWeixin.cshtml @@ -15,6 +15,7 @@