Add more args to UploadResource().

This commit is contained in:
Gucheng Wang
2021-11-21 16:21:35 +08:00
parent 95600414d9
commit 44b59d866a
2 changed files with 8 additions and 1 deletions

View File

@ -36,6 +36,7 @@ type Resource struct {
FileFormat string `xorm:"varchar(100)" json:"fileFormat"`
FileSize int `json:"fileSize"`
Url string `xorm:"varchar(1000)" json:"url"`
Description string `xorm:"varchar(1000)" json:"description"`
}
func GetResourceCount(owner string, user string) int {