diff --git a/controller/token.go b/controller/token.go index c71fc288..8fa92f33 100644 --- a/controller/token.go +++ b/controller/token.go @@ -126,6 +126,7 @@ func AddToken(c *gin.Context) { ExpiredTime: token.ExpiredTime, RemainQuota: token.RemainQuota, UnlimitedQuota: token.UnlimitedQuota, + Models: token.Models, } err = cleanToken.Insert() if err != nil {