Browse Source

update 区块星链

tags/v3.0.8
DengBiao 2 years ago
parent
commit
c8cce58df5
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      svc/svc_block_star_chain_settlement.go

+ 2
- 2
svc/svc_block_star_chain_settlement.go View File

@@ -48,8 +48,8 @@ func SetCacheUserVirtualAmount(session *xorm.Session, masterId, amount string, c
}
}
//_, err := cache.Set(redisKey, int64(utils.StrToFloat64(amount)))
//TODO::默认缓存1小时 (先调整为 10 min)
_, err := cache.SetEx(redisKey, int64(zhios_order_relate_utils.StrToFloat64(amount)), 60*60*0.1)
//TODO::默认缓存1小时 (先调整为 1 min)
_, err := cache.SetEx(redisKey, int64(zhios_order_relate_utils.StrToFloat64(amount)), 60)
if err != nil {
return err
}


Loading…
Cancel
Save