Add AboutPage component and integrate sorting options in resource retrieval

This commit is contained in:
2025-05-25 11:27:24 +08:00
parent b610a5db9d
commit 6e78707d9e
11 changed files with 139 additions and 27 deletions

12
server/model/sort.go Normal file
View File

@@ -0,0 +1,12 @@
package model
type RSort uint8
const (
RSortTimeAsc RSort = iota
RSortTimeDesc
RSortViewsAsc
RSortViewsDesc
RSortDownloadsAsc
RSortDownloadsDesc
)