fix
This commit is contained in:
parent
19c062423a
commit
601191a04a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user