2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-06 07:27:16 +08:00

feat: 同步前端更改

This commit is contained in:
耗子
2023-10-30 02:54:35 +08:00
parent ef79f043a3
commit 462b2f96d3

View File

@@ -58,6 +58,9 @@ func (c *S3fsController) List(ctx http.Context) http.Response {
endIndex = len(s3fsList)
}
pagedS3fsList := s3fsList[startIndex:endIndex]
if pagedS3fsList == nil {
pagedS3fsList = []s3fs{}
}
return controllers.Success(ctx, http.Json{
"total": len(s3fsList),