1、参数组装
This commit is contained in:
@ -45,7 +45,7 @@ func ChangeFutureOrder(mapData map[string]interface{}) {
|
||||
}
|
||||
|
||||
// 获取 Redis 锁
|
||||
lock := helper.NewRedisLock(fmt.Sprintf(rediskey.SpotCallBack, orderSn), 10, 5, 500*time.Millisecond)
|
||||
lock := helper.NewRedisLock(fmt.Sprintf(rediskey.FutCallBack, orderSn), 10, 5, 500*time.Millisecond)
|
||||
acquired, err := lock.AcquireWait(context.Background())
|
||||
if err != nil {
|
||||
logger.Error("合约订单回调失败,获取锁失败:", orderSn, " err:", err)
|
||||
|
||||
Reference in New Issue
Block a user