This commit is contained in:
yangduo 2024-08-05 17:30:23 +08:00
parent 19c062423a
commit 601191a04a

View File

@ -155,9 +155,9 @@ func (sa *StackingApi) DiamondRecordQuery(c *gin.Context) {
return
}
obj := new(Record)
for ds.Next() {
obj := new(Record)
obj.Date = q5.SafeToInt32(ds.GetByName("createtime"))
obj.Amount = ds.GetByName("amount")
obj.Type = 1
@ -181,9 +181,9 @@ func (sa *StackingApi) DiamondRecordQuery(c *gin.Context) {
return
}
obj := new(Record)
for ds.Next() {
obj := new(Record)
obj.Date = q5.SafeToInt32(ds.GetByName("pay_time"))
obj.Amount = ds.GetByName("diamond")
obj.Type = 0