From 7f0ea6f8633e8b7ed869d406264d23858512f0fb Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Tue, 15 Aug 2023 11:15:58 +0800 Subject: [PATCH] test --- app/task/svc/svc_playlet_order_settle.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/task/svc/svc_playlet_order_settle.go b/app/task/svc/svc_playlet_order_settle.go index 101095c..d659929 100644 --- a/app/task/svc/svc_playlet_order_settle.go +++ b/app/task/svc/svc_playlet_order_settle.go @@ -36,7 +36,7 @@ func PlayletOrderSettle() { for _, v := range order { fmt.Println("=================00") // 加锁 防止并发提取 - mutexKey := fmt.Sprintf("playlet_order_settle4:%s", v.CustomOid) + mutexKey := fmt.Sprintf("playlet_order_settle3:%s", v.CustomOid) withdrawAvailable, err := cache.Do("SET", mutexKey, 1, "EX", 1800, "NX") if err != nil { fmt.Println("=================0")