public ApiResult <PagedListP <AccessRecord> > GetVisitRecord(long uid = 0, int pageIndex = 1, int pageSize = 20) { PersonalService service = new PersonalService(); PagedListP <AccessRecord> resDto = service.GetVisitRecord(uid, pageIndex, pageSize, this.UserInfo.UserId); return(new ApiResult <PagedListP <AccessRecord> >() { Data = resDto }); }