winform+dev的前后台分离标准项目
lg
2024-09-02 59abbe4785268a10ec9390b8373cce3939c1d24b
WebApi/Gs.User/Service/UserController.cs
@@ -84,6 +84,7 @@
        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))
@@ -96,6 +97,7 @@
                        cmd.CommandType = CommandType.StoredProcedure;
                        SqlParameter[] parameters = new SqlParameter[] {
                                new SqlParameter("@userGuid",userGuid),
                                new SqlParameter("@orgGuid",orgGuid),
                            };
                        foreach (SqlParameter parameter in parameters)
                        {
@@ -127,7 +129,8 @@
                                        }
                                    );
                                }
                                return ReturnDto<dynamic>.QuickReturn(m, ReturnCode.Success, "登录成功!");
                                string _msg = "欢迎使用某某公司EMS系统,你的角色为【管理员】当前共有【20】条信息未处理";
                                return ReturnDto<dynamic>.QuickReturn(m, ReturnCode.Success, _msg);
                            }
                        }
                    }
@@ -263,6 +266,7 @@
                    {
                        _model.isSys = int.Parse(row["isSys"].ToString());
                    }
                    _model.isLockedTxt = row["isLocked"].ToString() != "1" ? "正常" : "被锁定";
                    _pglist.list.Add(_model);
                }
            }