diff --git a/Learun.Framework.Ultimate V7/Doc文档/数字化智慧校园统一身份认证补充接口说明V1.0(塔里木).docx b/Learun.Framework.Ultimate V7/Doc文档/数字化智慧校园统一身份认证补充接口说明V1.0(塔里木).docx index 40c37ee42..de2a63ef5 100644 --- a/Learun.Framework.Ultimate V7/Doc文档/数字化智慧校园统一身份认证补充接口说明V1.0(塔里木).docx +++ b/Learun.Framework.Ultimate V7/Doc文档/数字化智慧校园统一身份认证补充接口说明V1.0(塔里木).docx @@ -44,7 +44,7 @@ code info 状态消息 返回login success表示登录成功、其他失败 data -保留 暂时无用 +userType 返回值:教师、学生 登录成功后,认证服务器将在用户浏览器cookies中写入数字化智慧校园系统数据,第三方系统可直接跳转到http://10.30.0.10:8000/Home/Index 进入数字化智慧校园系统。 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 06b7dfc2b..02a57bd1e 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/LoginController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/LoginController.cs @@ -802,11 +802,11 @@ namespace Learun.Application.Web.Controllers else { OperatorHelper.Instance.AddLoginUser(userEntity.F_Account, "Learun_ADMS_6.1_PC", null);//写入缓存信息 - //写入日志 + //写入日志 logEntity.F_ExecuteResult = 1; logEntity.F_ExecuteResultJson = "无ui接口登录成功"; logEntity.WriteLog(); - return Success("login success"); + return Success("login success",new{userType=userEntity?.F_Description}); } } else