From 105c80a0d0ea0b2bb0b658897e7b950ca5b01e33 Mon Sep 17 00:00:00 2001 From: yangduo Date: Fri, 2 Aug 2024 18:56:32 +0800 Subject: [PATCH] fix --- server/marketserver/api/v1/user/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/marketserver/api/v1/user/user.go b/server/marketserver/api/v1/user/user.go index ba3dda4a..0d07ef8e 100644 --- a/server/marketserver/api/v1/user/user.go +++ b/server/marketserver/api/v1/user/user.go @@ -98,7 +98,7 @@ func (this *UserApi) Info(c *gin.Context) { } { var dbErr error - sql := "SELECT SUM(diamond) FROM t_recharge WHERE passport = ?" + sql := "SELECT SUM(diamond) FROM t_recharge WHERE passport = ? AND status = 0" params := []string{ accountAddress, }