From e6d17689db26a450aec205e72ce6def52a511d81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A2=81=E6=B5=A9?= Date: Mon, 24 Jun 2024 17:29:29 +0800 Subject: [PATCH] fixcontext --- paginator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paginator.go b/paginator.go index ff61971..05f844e 100644 --- a/paginator.go +++ b/paginator.go @@ -62,7 +62,7 @@ func (r *HttpResult) ResultPagination(dest any,withes ...string) (http.Response, } r.Query.Paginate(currentPageInt, pageSizeInt, dest, &total) - URL_PATH := ctx.Request().Origin().URL.Path + URL_PATH := r.Context.Request().Origin().URL.Path var proto = "http://" if request.Origin().TLS != nil { proto = "https://"