Example #1
0
        public ActionResult <VolunteerSearchResModel> Manage_GetVolunteerInfoList(VolunteerInfoSearchViewModel volunteer_SearchModel)
        {
            VolunteerSearchResModel v_ResModle = new VolunteerSearchResModel();
            var searchMidModel = _volunteerService.Volunteer_SearchForBG(volunteer_SearchModel);
            var totalNum       = _volunteerService.GetAllCount(volunteer_SearchModel);

            v_ResModle.Volunteer_Infos            = searchMidModel;
            v_ResModle.isSuccess                  = true;
            v_ResModle.baseViewModel.Message      = "查询成功";
            v_ResModle.baseViewModel.ResponseCode = 200;
            v_ResModle.TotalNum = totalNum;
            return(Ok(v_ResModle));
        }