fix
This commit is contained in:
parent
8a8a2fa055
commit
105c80a0d0
@ -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,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user