From 890662df724aeeda1c658e30f4d7798c61c0b4cf Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Mon, 11 Mar 2024 14:48:04 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BD=99=E9=A2=9D=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- svc/svc_deal_user_amount.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svc/svc_deal_user_amount.go b/svc/svc_deal_user_amount.go index 826c385..aaafb7e 100644 --- a/svc/svc_deal_user_amount.go +++ b/svc/svc_deal_user_amount.go @@ -127,7 +127,7 @@ func SetCacheUserAmount(session *xorm.Session, masterId, amount string, uid int, } //_, err := cache.Set(redisKey, int64(utils.StrToFloat64(amount))) //TODO::默认缓存1小时 (先调整为 2 min) - _, err := cache.SetEx(redisKey, zhios_order_relate_utils.StrToFloat64(amount), 60*2) + _, err := cache.SetEx(redisKey, zhios_order_relate_utils.StrToFloat64(amount), 60*1) if err != nil { return err }