fix
This commit is contained in:
parent
19c062423a
commit
601191a04a
@ -155,9 +155,9 @@ func (sa *StackingApi) DiamondRecordQuery(c *gin.Context) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for ds.Next() {
|
||||||
obj := new(Record)
|
obj := new(Record)
|
||||||
|
|
||||||
for ds.Next() {
|
|
||||||
obj.Date = q5.SafeToInt32(ds.GetByName("createtime"))
|
obj.Date = q5.SafeToInt32(ds.GetByName("createtime"))
|
||||||
obj.Amount = ds.GetByName("amount")
|
obj.Amount = ds.GetByName("amount")
|
||||||
obj.Type = 1
|
obj.Type = 1
|
||||||
@ -181,9 +181,9 @@ func (sa *StackingApi) DiamondRecordQuery(c *gin.Context) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for ds.Next() {
|
||||||
obj := new(Record)
|
obj := new(Record)
|
||||||
|
|
||||||
for ds.Next() {
|
|
||||||
obj.Date = q5.SafeToInt32(ds.GetByName("pay_time"))
|
obj.Date = q5.SafeToInt32(ds.GetByName("pay_time"))
|
||||||
obj.Amount = ds.GetByName("diamond")
|
obj.Amount = ds.GetByName("diamond")
|
||||||
obj.Type = 0
|
obj.Type = 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user