|
|
@ -224,7 +224,7 @@ func (s *Server) ExtractUserBankGold(ctx context.Context, args *pb.ExtractUserBa |
|
|
|
return errors.NewError(err, codes.InternalError) |
|
|
|
} |
|
|
|
if userAgentInfo != nil { |
|
|
|
if userAgentInfo.BankGold > args.GoldAmount { |
|
|
|
if userAgentInfo.BankGold >= args.GoldAmount { |
|
|
|
now := xtime.Now() |
|
|
|
// 修改用户银行金币
|
|
|
|
bankAmount := userAgentInfo.BankGold - args.GoldAmount |
|
|
|