From 201af1cc25a2c584934ab86e50c1ef8b00caa7a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=B6=9B?= Date: Thu, 29 Sep 2022 09:44:35 +0800 Subject: [PATCH] =?UTF-8?q?fix(charge):=E4=BF=AE=E5=A4=8D=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E5=88=97=E8=A1=A8=E4=B8=AD=E6=B2=A1=E6=9C=89=E5=88=97?= =?UTF-8?q?=E5=87=BA=E8=BD=AC=E4=BE=9B=E7=94=B5=E4=BC=81=E4=B8=9A=E7=9A=84?= =?UTF-8?q?=E5=90=8D=E7=A7=B0=E7=9A=84=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/charge.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/charge.go b/service/charge.go index 7714010..558983b 100644 --- a/service/charge.go +++ b/service/charge.go @@ -260,7 +260,7 @@ func (_ChargeService) ListPagedChargeRecord(keyword, beginDate, endDate string, } cache.CacheCount(relations, "charge_with_name", int64(total), condition...) - cache.CacheSearch(charges, relations, "charge_with_name", condition...) + cache.CacheSearch(chargesWithName, relations, "charge_with_name", condition...) return chargesWithName, int64(total), err }