This commit is contained in:
Daniel 2024-04-24 20:05:42 +08:00
parent 7949cfa1bc
commit ffb44137f2
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
7 changed files with 27 additions and 27 deletions

View file

@ -82,7 +82,7 @@ func statAsset(c *gin.Context) {
ret.Data = map[string]interface{}{
"size": info.Size(),
"hSize": humanize.Bytes(uint64(info.Size())),
"hSize": humanize.BytesCustomCeil(uint64(info.Size()), 2),
"created": created,
"hCreated": hCreated,
"updated": updated,