瀏覽代碼

test

master
huangjiajun 1 年之前
父節點
當前提交
b47674ff05
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      app/task/svc/svc_playlet_order_settle.go

+ 1
- 1
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_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")


Loading…
取消
儲存