public async Task <IActionResult> OnGetDetailAsync(string date) { await Task.CompletedTask; var weixinTraceItemList = SenparcTraceHelper.GetAllLogs(date); return(Ok(weixinTraceItemList)); }
public async Task OnGetAsync(string date) { await Task.CompletedTask; Date = date; WeixinTraceItemList = SenparcTraceHelper.GetAllLogs(date); }
public IActionResult OnGetList(int pageIndex = 1, int pageSize = 10) { var dateList = SenparcTraceHelper.GetLogDate(); return(Ok(new { dateList.Count, pageIndex, List = dateList.Skip((pageIndex - 1) * pageSize) })); }
public async Task OnGetAsync(string date) { Date = date; WeixinTraceItemList = SenparcTraceHelper.GetAllLogs(date); }
public async Task OnGetAsync() { DateList = SenparcTraceHelper.GetLogDate(); }