Support custom channel now

This commit is contained in:
JustSong committed 2023-04-23 20:35:49 +08:00
1 parent 17deb964ab
commit 32755d875a
8 files changed
+55 -8

No files matched your search

+1
View File
@@ -14,6 +14,7 @@ type Channel struct {
Weight int `json:"weight"`
CreatedTime int64 `json:"created_time" gorm:"bigint"`
AccessedTime int64 `json:"accessed_time" gorm:"bigint"`
BaseURL string `json:"base_url" gorm:"column:base_url"`
}
func GetAllChannels(startIdx int, num int) ([]*Channel, error) {