|
|
@@ -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") |
|
|
|