From a5d351a86aaf5cfd6b716b1598e74578f5a1e4aa Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Wed, 18 Aug 2021 09:24:46 +0800 Subject: [PATCH] aa --- services/sim.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/services/sim.go b/services/sim.go index 9b11a30..8172717 100644 --- a/services/sim.go +++ b/services/sim.go @@ -134,6 +134,12 @@ func GetCardsInfo(tokenInfo *model.TokenInfo, appID int, printNo string, cardSta iccID = printers[0].IccID } } + if beginDate != "" { + beginDate = beginDate[:10] + } + if endDate != "" { + endDate = endDate[:10] + } if cardInfo, err = api.TibiotAPI.BatchQueryCardInfo(&tibiotapi.BatchQueryCardInfoParam{ CardStatus: cardStatus, IccID: iccID,