日常更新
This commit is contained in:
parent
f4c59d56e2
commit
db70a8b5c4
7
db.go
7
db.go
@ -119,6 +119,13 @@ func (this *HoTimeDB) Row(resl *sql.Rows) []Map {
|
||||
}
|
||||
|
||||
}
|
||||
//防止int被误读为float64
|
||||
jlis,e:=json.Marshal(lis)
|
||||
if e!=nil{
|
||||
this.LastErr.SetError(e)
|
||||
}else{
|
||||
lis.JsonToMap(string(jlis),&this.LastErr)
|
||||
}
|
||||
|
||||
dest = append(dest, lis)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user