|
|
@@ -16,9 +16,6 @@ func GetUserCoinAmount(session *xorm.Session, masterId string, coinId, uid int) |
|
|
|
amount, err = cache.GetString(redisKey) |
|
|
|
if err != nil { |
|
|
|
if err.Error() == "redigo: nil returned" { |
|
|
|
if err != nil { |
|
|
|
return amount, err |
|
|
|
} |
|
|
|
userVirtualAmount, err := db.GetUserVirtualWalletWithSession(session, uid, coinId) |
|
|
|
if err != nil { |
|
|
|
return amount, err |
|
|
|