1
This commit is contained in:
parent
6e391ae87a
commit
ce1e1d9496
@ -60,3 +60,10 @@ SMLogin
|
|||||||
# 参考
|
# 参考
|
||||||
|
|
||||||
https://gorm.io/zh_CN/docs/
|
https://gorm.io/zh_CN/docs/
|
||||||
|
|
||||||
|
# bug
|
||||||
|
|
||||||
|
0x8308b66adccf350e5956cf3cf3570dd744ede760
|
||||||
|
t_staking_daily_settlement
|
||||||
|
10452
|
||||||
|
idx: 10137
|
||||||
|
@ -114,9 +114,12 @@ func (sa *StackingApi) ContributionQuery(c *gin.Context) {
|
|||||||
ContributionPoint string `json:"contribution_point"`
|
ContributionPoint string `json:"contribution_point"`
|
||||||
}{}
|
}{}
|
||||||
for ds.Next() {
|
for ds.Next() {
|
||||||
obj.Date = q5.SafeToInt32(ds.GetByName("settle_date"))
|
contributionPoint := q5.ToFloat64(ds.GetByName("contribution"))
|
||||||
obj.ContributionPoint = ds.GetByName("contribution")
|
if contributionPoint > 0.00001 {
|
||||||
rspObj.Rows = append(rspObj.Rows, obj)
|
obj.Date = q5.SafeToInt32(ds.GetByName("settle_date"))
|
||||||
|
obj.ContributionPoint = ds.GetByName("contribution")
|
||||||
|
rspObj.Rows = append(rspObj.Rows, obj)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user