Change the path things.

This commit is contained in:
zicla
2019-04-03 21:38:51 +08:00
parent a8cc42b915
commit c371d9d5bd
17 changed files with 139 additions and 111 deletions

View File

@ -12,6 +12,6 @@ type DownloadToken struct {
Ip string `json:"ip" gorm:"type:varchar(128) not null"`
}
func (DownloadToken) TableName() string {
func (this *DownloadToken) TableName() string {
return TABLE_PREFIX + "download_token"
}