This commit is contained in:
aozhiwei 2024-06-25 16:07:39 +08:00
parent 3c66829b78
commit 19fb58d293

View File

@ -4,6 +4,7 @@ import (
"q5" "q5"
"f5" "f5"
"main/constant" "main/constant"
. "main/global"
) )
func UpdateSpecTransferStatus(dbIdx int64, status int32) bool { func UpdateSpecTransferStatus(dbIdx int64, status int32) bool {
@ -11,6 +12,8 @@ func UpdateSpecTransferStatus(dbIdx int64, status int32) bool {
} }
func OpenGoldBullion(accountId string, netId int32, tokenId string, goldNum int32) bool { func OpenGoldBullion(accountId string, netId int32, tokenId string, goldNum int32) bool {
GetTaskMgr().LockOpenGodBullion()
defer GetTaskMgr().UnLockOpenGodBullion()
result := false result := false
f5.GetGoStyleDb().OrmSelectOne( f5.GetGoStyleDb().OrmSelectOne(
constant.GAME_DB, constant.GAME_DB,