/// <summary> /// 显示员工 /// </summary> /// <returns></returns> public GetStaffResponse GetStaff() { GetStaffResponse response = new GetStaffResponse(); var list = dal.GetStaff(); if (list.Count <= 0) { response.Status = false; response.Message = "获取用户信息失败,请检查一下在弄"; } else { response.staff = list; response.Status = true; response.Message = $"获取信息成功"; } return(response); }