예제 #1
0
 public ActionResult List(SysConfigList model)
 {
     if (!string.IsNullOrEmpty(model.Search))
     {
         model.Id     = -1;
         model.Search = Server.UrlDecode(model.Search.Trim());
     }
     model.Id       = string.IsNullOrEmpty(model.Search) && model.Id == -1 ? 0 : model.Id;
     model.PageSize = 20;
     SysConfigService.GetList(model);
     return(View(model));
 }
예제 #2
0
 public ResultDto <List <SysConfigDto> > GetList([FromQuery] SysConfigQueryDto queryParams)
 {
     return(_service.GetList(queryParams));
 }