huangjiajun hace 1 año
padre
commit
b47674ff05
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      app/task/svc/svc_playlet_order_settle.go

+ 1
- 1
app/task/svc/svc_playlet_order_settle.go Ver fichero

@@ -36,7 +36,7 @@ func PlayletOrderSettle() {
for _, v := range order {
fmt.Println("=================00")
// 加锁 防止并发提取
mutexKey := fmt.Sprintf("playlet_order_settle3:%s", v.CustomOid)
mutexKey := fmt.Sprintf("playlet_order_settle3:%d", v.Id)
withdrawAvailable, err := cache.Do("SET", mutexKey, 1, "EX", 1800, "NX")
if err != nil {
fmt.Println("=================0")


Cargando…
Cancelar
Guardar