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