| | |
| | | public ReturnDto<System.Dynamic.ExpandoObject> GetUserLoginInfo([FromBody] UserLogin model) |
| | | { |
| | | Guid userGuid = model.userGuid; |
| | | Guid orgGuid= model.orgGuid; |
| | | DataSet dset = new DataSet(); |
| | | dynamic m = new System.Dynamic.ExpandoObject(); |
| | | using (SqlConnection conn = new SqlConnection(DbHelperSQL.strConn)) |
| | |
| | | cmd.CommandType = CommandType.StoredProcedure; |
| | | SqlParameter[] parameters = new SqlParameter[] { |
| | | new SqlParameter("@userGuid",userGuid), |
| | | new SqlParameter("@orgGuid",orgGuid), |
| | | }; |
| | | foreach (SqlParameter parameter in parameters) |
| | | { |
| | |
| | | } |
| | | ); |
| | | } |
| | | return ReturnDto<dynamic>.QuickReturn(m, ReturnCode.Success, "登录成功!"); |
| | | string _msg = "欢迎使用某某公司EMS系统,你的角色为【管理员】当前共有【20】条信息未处理"; |
| | | return ReturnDto<dynamic>.QuickReturn(m, ReturnCode.Success, _msg); |
| | | } |
| | | } |
| | | } |
| | |
| | | { |
| | | _model.isSys = int.Parse(row["isSys"].ToString()); |
| | | } |
| | | _model.isLockedTxt = row["isLocked"].ToString() != "1" ? "正常" : "被锁定"; |
| | | _pglist.list.Add(_model); |
| | | } |
| | | } |