修改了页码4
This commit is contained in:
parent
91ca7a4995
commit
f54e6a337b
@ -354,6 +354,7 @@ func (b *Res) GetResCaseRecordList(c *gin.Context) {
|
|||||||
result["psize"] = pageSize
|
result["psize"] = pageSize
|
||||||
result["ptotal"] = int(math.Ceil(float64(total) / float64(pageSize)))
|
result["ptotal"] = int(math.Ceil(float64(total) / float64(pageSize)))
|
||||||
result["ctotal"] = len(g)
|
result["ctotal"] = len(g)
|
||||||
|
result["total"] = total
|
||||||
result["data"] = g
|
result["data"] = g
|
||||||
responses.OkWithData(result, c)
|
responses.OkWithData(result, c)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user